Skip to content

Commit

Permalink
Update src/silx/gui/plot/actions/control.py
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas VINCENT <[email protected]>
  • Loading branch information
payno and t20100 authored Nov 16, 2023
1 parent fdb4454 commit 6a3bd6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/silx/gui/plot/actions/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def __init__(self, plot, parent=None):

def setColormapDialog(self, dialog):
"""Set a specific colormap dialog instead of using the default one."""
assert(colormapDialog is not None)
assert colormapDialog is not None
if self._dialog is not None:
self._dialog.visibleChanged.disconnect(self._dialogVisibleChanged)

Expand Down

0 comments on commit 6a3bd6b

Please sign in to comment.