diff --git a/lib/matplotlib/backends/qt_editor/figureoptions.py b/lib/matplotlib/backends/qt_editor/figureoptions.py index a1b7b388bc33..6a485302f4e9 100644 --- a/lib/matplotlib/backends/qt_editor/figureoptions.py +++ b/lib/matplotlib/backends/qt_editor/figureoptions.py @@ -137,7 +137,7 @@ def prepare_data(d, init): for label in imagelabels: image = imagedict[label] cmap = image.get_cmap() - if cmap not in cm.cmap_d: + if cmap not in cm.cmap_d.values(): cmaps = [(cmap, cmap.name)] + cmaps imagedata = [ ('Label', label),