diff options
Diffstat (limited to 'silx/gui/dialog/ColormapDialog.py')
-rw-r--r-- | silx/gui/dialog/ColormapDialog.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/silx/gui/dialog/ColormapDialog.py b/silx/gui/dialog/ColormapDialog.py index ed10728..cbbfa5a 100644 --- a/silx/gui/dialog/ColormapDialog.py +++ b/silx/gui/dialog/ColormapDialog.py @@ -710,8 +710,9 @@ class ColormapDialog(qt.QDialog): self._updateMinMaxData() def getColormap(self): - """Return the colormap description as a :class:`.Colormap`. + """Return the colormap description. + :rtype: ~silx.gui.colors.Colormap """ if self._colormap is None: return None @@ -811,7 +812,7 @@ class ColormapDialog(qt.QDialog): def setColormap(self, colormap): """Set the colormap description - :param :class:`Colormap` colormap: the colormap to edit + :param ~silx.gui.colors.Colormap colormap: the colormap to edit """ assert colormap is None or isinstance(colormap, Colormap) if self._ignoreColormapChange is True: |