BaseNapariMPLWidget#
-
class napari_matplotlib.base.BaseNapariMPLWidget(napari_viewer:
napari.Viewer
, parent: QWidget | None = None)# Bases:
QWidget
Widget containing Matplotlib canvas and toolbar themed to match napari.
This creates a single FigureCanvas, which contains a single
Figure
, and an associated toolbar. Both of these are customised to match the visual style of the main napari window. It is not responsible for creating any Axes, because different widgets may want to implement different subplot layouts.See also
NapariMPLWidget
A child class that also contains helpful attributes and methods for working with napari layers.
Attributes Summary
Matplotlib figure.
Methods Summary
Add a single Axes to the figure.
Attributes Documentation
- figure#
Matplotlib figure.
Methods Documentation