We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
parent
1 parent e965cd3 commit 6731648Copy full SHA for 6731648
src/napari_matplotlib/histogram.py
@@ -65,11 +65,13 @@ class FeaturesHistogramWidget(SingleAxesWidget):
65
# All layers that have a .features attributes
66
input_layer_types = FEATURES_LAYER_TYPES
67
68
- def __init__(self, napari_viewer: napari.viewer.Viewer):
69
- super().__init__(napari_viewer)
+ def __init__(
+ self,
70
+ napari_viewer: napari.viewer.Viewer,
71
+ parent: Optional[QWidget] = None,):
72
+ super().__init__(napari_viewer, parent=parent)
73
74
self._key_selection_widget = magicgui(
- self._set_axis_keys,
75
x_axis_key={"choices": self._get_valid_axis_keys},
76
call_button="plot",
77
)
0 commit comments