Skip to main content

napari-mouse-controls

License PyPI Python Version tests codecov napari hub

Control zoom, slicing and contrast windowing with mouse and touch screen


Usage

You find the mouse control panel in the menu Tools > Utilities > Mouse controls

Zoom

After clicking the Zoom button , you can click in the napari canvas and move the mouse up and down to zoom in and out.

Slicing

After clicking the Slicing button , you can control the currently displayed slice by moving the mouse. By moving the mouse up and down, you control the currently selected Z-plane. By moving the mouse left and right, you control the currently seleted time point.

Windowing

After clicking the Windowing button , you can modify the brightness and contrast by moving the mouse. By moving the mouse up and down, you control window width of the range of displayed grey values (max - min). By moving the mouse left and right, you control the center of the grey value window.

Normal / default mode

Click the Default button to return to napari's normal mode.

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

Installation

You can install napari-mouse-controls via pip:

pip install napari-mouse-controls

Contributing

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.

License

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

Issues

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

Metadata

Release files for napari-mouse-controls 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-mouse-controls 0.1.3
File Size Uploaded
napari-mouse-controls-0.1.3.tar.gz 27.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for napari-mouse-controls 0.1.3
File Interpreter ABI Platform
napari_mouse_controls-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 57.0 kB

Release files / napari-mouse-controls-0.1.3.tar.gz

Download URL napari-mouse-controls-0.1.3.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0dd9ee41146a3cb73ff8cf9378e242331d2ea9b0c4088188b4bce1650a45c7e6
BLAKE2b-256 checksum
How to use checksums
df9285854a17f7bc424edc0453c03a67516bfdb19372d1715f1aff527fbb8e28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / napari_mouse_controls-0.1.3-py3-none-any.whl

Download URL napari_mouse_controls-0.1.3-py3-none-any.whl
Size 29.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
008d19fec5a4857b7faa36e1592ca8f58858c780512a12ee2396cc8944db047b
BLAKE2b-256 checksum
How to use checksums
35394cbc8af9ae888452ca1fe5be0410c02fe1062c20276edc3af987370bcc6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page