Skip to main content

Plot intensity along a line in napari

Project description


License PyPI Python Version tests codecov

Plot intensities along a line in napari.



  • Open some images in napari.

  • Add a shapes layer.


  • Activate the line drawing tool or the path tool and draw a line.


  • After drawing a line, click on the menu Plugins > Measurements (Plot Profile)
  • If you modify the line, you may want to click the "Refresh" button to redraw the profile.


To see how these steps can be done programmatically from python, check out the demo notebook

This napari plugin was generated with Cookiecutter using with @napari's cookiecutter-napari-plugin template.


You can install napari-plot-profile via pip:

pip install napari-plot-profile


Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.


Distributed under the terms of the BSD-3 license, "napari-plot-profile" is free and open source software


If you encounter any problems, please create a thread on along with a detailed description and tag @haesleinhuepf.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for napari-plot-profile, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size napari_plot_profile-0.2.0-py3-none-any.whl (8.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size napari-plot-profile-0.2.0.tar.gz (7.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page