diff --git a/src/superqt/combobox/_colormap_combobox.py b/src/superqt/combobox/_colormap_combobox.py index 3e9b07e5..896f8feb 100644 --- a/src/superqt/combobox/_colormap_combobox.py +++ b/src/superqt/combobox/_colormap_combobox.py @@ -155,6 +155,10 @@ def paint( else: painter.drawText(text_rect, option.displayAlignment, text) + # # use user friendly color name if available + # painter.setPen(_pick_font_color(colormap)) + # short_name = colormap.name.rsplit(":", 1)[-1] + # painter.drawText(rect, text_align, short_name) class QColormapComboBox(QComboBox): """A drop down menu for selecting colors.