8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5725b2c commit < 8000 span class="fgColor-default">eeff735Copy full SHA for eeff735
lib/matplotlib/backends/qt_editor/formlayout.py
@@ -61,6 +61,8 @@
61
62
import datetime
63
64
+BLACKLIST = set(["title", "label"])
65
+
66
67
def col2hex(color):
68
"""Convert matplotlib color to hex before passing to Qt"""
@@ -262,7 +264,7 @@ def setup(self):
262
264
continue
263
265
elif tuple_to_qfont(value) is not None:
266
field = FontLayout(value, self)
- elif is_color_like(value):
267
+ elif label.lower() not in BLACKLIST and is_color_like(value):
268
field = ColorLayout(to_qcolor(value), self)
269
elif isinstance(value, six.string_types):
270
field = QtWidgets.QLineEdit(value, self)
0 commit comments