FeaturesScatterWidget#
-
class napari_matplotlib.FeaturesScatterWidget(napari_viewer:
napari.Viewer
, parent: QWidget | None = None)# Bases:
ScatterBaseWidget
Widget to scatter data stored in two layer feature attributes.
Attributes Summary
Type of layer taken as input
Number of layers taken as input
Key for the x-axis data.
Key for the y-axis data.
Methods Summary
draw
()Scatter two features from the currently selected layer.
Called when the layer selection changes by
self.update_layers()
.Attributes Documentation
- input_layer_types: tuple[Layer, ...] = (<class 'napari.layers.labels.labels.Labels'>, <class 'napari.layers.points.points.Points'>, <class 'napari.layers.shapes.shapes.Shapes'>, <class 'napari.layers.tracks.tracks.Tracks'>, <class 'napari.layers.vectors.vectors.Vectors'>)#
Type of layer taken as input
- n_layers_input = Interval(1, 1)#
Number of layers taken as input
- x_axis_key#
Key for the x-axis data.
- y_axis_key#
Key for the y-axis data.
Methods Documentation