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.
_key_selection_widget
1 parent ed658cd commit 26a4057Copy full SHA for 26a4057
src/napari_matplotlib/histogram.py
@@ -148,6 +148,10 @@ def on_update_layers(self) -> None:
148
"""
149
Called when the layer selection changes by ``self.update_layers()``.
150
151
+ # reset the axis keys
152
+ if hasattr(self, "_key_selection_widget"):
153
+ self._key_selection_widget.reset_choices()
154
+
155
# reset the axis keys
156
self._x_axis_key = None
157
0 commit comments