HistogramWidget#
-
class napari_matplotlib.HistogramWidget(napari_viewer:
napari.Viewer
, parent: QWidget | None = None)# Bases:
SingleAxesWidget
Display a histogram of the currently selected layer.
Attributes Summary
Type of layer taken as input
Number of layers taken as input
Methods Summary
draw
()Clear the axes and histogram the currently selected layer/slice.
Called when the selected layers are updated.
Attributes Documentation
- input_layer_types: tuple[Layer, ...] = (<class 'napari.layers.image.image.Image'>,)#
Type of layer taken as input
- n_layers_input = Interval(1, 1)#
Number of layers taken as input
Methods Documentation