Published September 30, 2024 | Version v0.5.4
Software Open

napari: a multi-dimensional image viewer for Python

  • 1. Chan Zuckerberg Initiative
  • 2. Harvard Medical School
  • 3. University of Warsaw, Faculty of Mathematics, Informatics, and Mechanics
  • 4. Monash eResearch Centre, Monash University
  • 5. The Jackson Laboratory
  • 6. Gutsche Lab - University of Grenoble
  • 7. MRC-LMB
  • 8. Monash University
  • 9. Iber Lab - ETH ZĂŒrich
  • 10. Quansight
  • 11. European Molecular Biology Laboratory, Genome Biology Unit, Heidelberg, Germany
  • 12. Chan Zuckerberg Biohub
  • 13. Harvard Medical School, BIDMC
  • 14. SETI Institute/NASA ARC
  • 15. Quansight Labs
  • 16. Laboratory for Optics and Biosciences, Ecole Polytechnique, INSERM, CNRS, Palaiseau, France
  • 17. Friedrich Miescher Institute for Biomedical Research (FMI), Basel (Switzerland)
  • 18. EMBL Heidelberg, Germany
  • 19. University of California, Irvine
  • 20. Tel Aviv University, Israel
  • 21. Ramona Optics Inc, Durham, North Carolina, USA
  • 22. University College London
  • 23. Swiss Federal Institute of Technology (EPFL), Lausanne, Switzerland
  • 24. UniversitĂ€tsmedizin Greifswald
  • 25. Chan Zuckerberg Initiative Foundation
  • 26. UCL & The Alan Turing Institute
  • 27. EMBL Heidelberg
  • 28. MetaCell
  • 29. Delft University of Technology
  • 30. Apex Systems
  • 31. University of California, Los Angeles
  • 32. Georg-August-UniversitĂ€t Göttingen
  • 33. University Hospital WĂŒrzburg - Institute of Neuroradiology
  • 34. Algarve Centre of Marine Sciences (CCMAR)
  • 35. Yikes LLC
  • 36. Brown University
  • 37. NanoString Technologies, Inc.
  • 38. European Bioinformatics Institute - European Molecular Biology Laboratory
  • 39. University of Wisconsin-Madison
  • 40. AI lab for Living Technologies, University Medical Centre Utrecht (The Netherlands)
  • 41. DFG cluster of excellence 'Physics of Life', TU Dresden
  • 42. Aix Marseille University, CNRS, Fresnel, I2M, IBDM, Turing Centre for Living systems
  • 43. TU-Dresden / EPFL
  • 44. ETH Zurich / University of Zurich
  • 45. Tobeva Software
  • 46. Chinese Academy of Sciences - SIAT, Shenzhen, China

Description

napari 0.5.4

Monday, Sep 30, 2024

We're happy to announce the release of napari 0.5.4!

napari is a fast, interactive, multi-dimensional image viewer for Python. It's designed for exploring, annotating, and analyzing multi-dimensional images. It's built on Qt (for the GUI), VisPy (for performant GPU-based rendering), and the scientific Python stack (NumPy, SciPy, and friends).

For more information, examples, and documentation, please visit our website: https://napari.org/

Highlights

Another release with a lot of bug fixes, but also some (more!) improvements to Shapes layer performance (#7144, #7256), and a few nice usability/quality of life features!

  • you can now follow the value under the cursor around in images in 3D view as well as 2D (#7126)
  • Use standard keyboard shortcuts to zoom in and out ({kbd}Command/Ctrl+=, {kbd}Command/Ctrl+-) and to zoom-to-fit ({kbd}Command/Ctrl+0) (#7200)
  • you can now save tiff files larger than 4GB (#7242)

Finally, we're starting some work on tweaking the UI to make it more self-consistent, with the ultimate goal of adding functionality such as showing common controls when multiple layers are selected, so that, for example, you can select multiple layers and adjust all their opacity settings together. As the first step for this, the layer blending controls have been moved directly under the opacity control, so that all per-layer controls are next to each other in the UI (#7202)

Read on for all the changes in this version!

New Features

  • enable get_value_3d for image layers (#7126)
  • Preserve area of dock widgets between sessions (#7247)

Improvements

  • Speed up get_status for Shapes layer by using bounding boxes (#7144)
  • Enh: Add zoom options and keybindings to View menu (#7200)
  • [ux/ui] Put blending controls under opacity slider in layer controls (#7202)
  • Enable conflicts detection with layer keybindings when changing viewer ones and add group info to conflicts popup (#7231)
  • Speedup _is_convex by avoid calling np.roll (#7256)
  • Sort plugin manifests in alphabetical order for registration (#7266)

Performance

  • Speed up get_status for Shapes layer by using bounding boxes (#7144)
  • Speedup _is_convex by avoid calling np.roll (#7256)

Bug Fixes

  • start/stop status thread on show/hide main window (#7240)
  • Added support for saving tiff files > 4GB :) (#7242)
  • Accept any Mapping as output of a plugin widget (#7250)
  • Eliminate nearly all Qt widget leaks by using qtbot (#7251)
  • Enforce minimum side length when guessing if image is RGB (#7273)
  • Remove skip conditions for PySide2/6 over plugins menu tests and bump napari-plugin-manager minimum version (>=0.1.3) (#7293)
  • Fix color shuffling for bool labels (#7294)
  • Fix cursor dimensionality race condition (#7295)
  • Fix overflow error in shuffle colormap for signed integer labels (#7296)
  • When calculating view directions, check ndim, not just ndisplay (#7301)

Documentation

  • Add beanli161514 to citation file (#7272)
  • Doc/metadata: add jni's ORCID to the CITATION.cff file (#7275)
  • Style fix: use recommended capitalization for "GitHub" in README (#7284)
  • Add psygnal and pydantic to napari --info (#7285)
  • Move images to _static folder (docs#483)
  • Update version switcher to add 0.5.3 (docs#488)
  • Move release notes to be under Usage (docs#489)
  • Update release guide (docs#491)
  • Use get_qapp or get_app_model instead of get_app (docs#495)
  • Add 0.5.4 release notes (docs#496)
  • Add note about questions in landing page (docs#498)
  • Add further fixes to release notes ([docs#499](Add further fixes to release notes))

Other Pull Requests

  • Update script for vendored modules (#5779)
  • Update certifi, dask, hypothesis, ipython, numpy, qtconsole, rich, scipy, tifffile (#7212)
  • Block zarr 3.0.0a1 and 3.0.0a2 in pre-release tests (#7217)
  • Add autouse fixture that clears cached property Action.injected (#7224)
  • Update tifffile (#7235)
  • CI benchmark run comment will now include results table (#7237)
  • [pre-commit.ci] pre-commit autoupdate (#7239)
  • Fix coverage and debug artifacts upload (#7241)
  • Replaced broken link to the "Translations" page :) (#7243)
  • Alow to call benchmark that do not have params (#7252)
  • Block zarr=3.0.0a3 to fix pre-release tests (#7254)
  • Change type of layer Metadata from dict to Mapping (#7257)
  • Update fsspec, hypothesis, pydantic, tensorstore, virtualenv, zarr (#7258)
  • Deprecate usage of get_app functions to get QApplication or NapariApplication instances (#7269)
  • Block zarr==3.0.0a4 (#7271)
  • Update dask, hypothesis, napari-plugin-manager, pandas, pydantic, pytest, rich, tifffile, virtualenv, xarray (#7274)
  • [pre-commit.ci] pre-commit autoupdate (#7276)
  • Fix test_windows_grouping_overwrite skip condition and asserts (#7281)
  • Update menu sorting tests still using mock_app and get_app instead of mock_app_model and get_app_model (#7283)
  • Remove obsolete self from layout argument (#7291)

11 authors added to this release (alphabetical)

(+) denotes first-time contributors đŸ„ł

13 reviewers added to this release (alphabetical)

(+) denotes first-time contributors đŸ„ł

Notes

If you use this software, please cite it using these metadata.

Files

napari/napari-v0.5.4.zip

Files (3.4 MB)

Name Size Download all
md5:78a30d821f993c03e1c2672f5154299a
3.4 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/napari/napari/tree/v0.5.4 (URL)