Skip to content

Commit

Permalink
Fix sliderMoved signal connection in ColorMapEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Sep 10, 2024
1 parent 5b21bcb commit bbf770c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plotpy/widgets/colormap/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def __init__(
self.colormap_widget.HANDLE_ADDED.connect(self.new_tab)
self.colormap_widget.HANDLE_DELETED.connect(self.delete_tab)
self.colormap_widget.multi_range_hslider.sliderMoved.connect(
self.update_current_dataset
lambda *args: self.update_current_dataset()
)

def set_colormap(self, colormap: EditableColormap) -> None:
Expand Down

0 comments on commit bbf770c

Please sign in to comment.