Skip to content

Commit bff93b4

Browse files
committed
Merge branch 'main' into stylesheetss
2 parents 6316ac3 + 14b2b3e commit bff93b4

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
name: ${{ matrix.platform }} py${{ matrix.python-version }}
1818
runs-on: ${{ matrix.platform }}
1919
strategy:
20+
fail-fast: false
2021
matrix:
2122
platform: [ubuntu-latest, macos-latest, windows-latest]
2223
python-version: ['3.8', '3.9', '3.10']

docs/guide/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ Guide
44
.. toctree::
55
:maxdepth: 1
66

7+
user_guide
78
third_party

docs/guide/user_guide.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
User guide
2+
==========
3+
4+
Overview
5+
--------
6+
``napari-matplotlib`` contains a number of different ``napari`` Widgets. Each
7+
widget is designed to map one or more ``napari`` Layers on to a ``matplotlib`` plot.
8+
As an example, the `~.HistogramWidget` is used to
9+
map one or more Image layers on to a 1D histogram plot.
10+
11+
The widgets split into two categories:
12+
13+
Layer plotting
14+
~~~~~~~~~~~~~~
15+
These widgets plot the data stored directly in napari layers.
16+
Currently available are widgets to plot:
17+
18+
- 1D histograms
19+
- 2D scatter plots (switching to 2D histograms for a large number of points)
20+
- 1D slice line plots
21+
22+
To use these:
23+
24+
1. Open the desired widget using the ``Plugins > napari-matplotlib`` menu in napari.
25+
2. Select the required number of layers using the napari layers list in the bottom left-hand side of the window.
26+
27+
Features plotting
28+
~~~~~~~~~~~~~~~~~
29+
These widgets plot the data stored in the ``.features`` attribute of individual napari layers.
30+
Currently available are:
31+
32+
- 2D scatter plots of two features against each other.
33+
34+
To use these:
35+
36+
1. Open the desired widget using the ``Plugins > napari-matplotlib`` menu in napari.
37+
2. Select a single layer that has a features table using the napari layers list in the bottom left-hand side of the window.
38+
3. Use the drop down menu(s) under the Matplotlib figure to select the feature(s) to plot.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy