Skip to content

Commit

Permalink
LutControl.__init__() -> super().__init__()
Browse files Browse the repository at this point in the history
  • Loading branch information
gselzer committed Sep 17, 2024
1 parent ba216c6 commit 7e07137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ndv/viewer/_lut_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def __init__(
cmaplist: Iterable[Any] = (),
auto_clim: bool = True,
) -> None:
LutControl.__init__(self, "RGB", handles, parent, cmaplist, auto_clim)
super().__init__("RGB", handles, parent, cmaplist, auto_clim)
self._cmap.setVisible(False)

def _on_cmap_changed(self, cmap: cmap.Colormap) -> None:
Expand Down

0 comments on commit 7e07137

Please sign in to comment.