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 c001797 commit a1f3814Copy full SHA for a1f3814
lib/matplotlib/backends/qt4_editor/formlayout.py
@@ -79,7 +79,7 @@ def choose_color(self):
79
def get_color(self):
80
return self._color
81
82
- @QtCore.pyqtSignature("QColor")
+ @QtCore.Slot("QColor")
83
def set_color(self, color):
84
if color != self._color:
85
self._color = color
@@ -88,7 +88,7 @@ def set_color(self, color):
88
pixmap.fill(color)
89
self.setIcon(QtGui.QIcon(pixmap))
90
91
- color = QtCore.pyqtProperty("QColor", get_color, set_color)
+ color = QtCore.Property("QColor", get_color, set_color)
92
93
def col2hex(color):
94
"""Convert matplotlib color to hex before passing to Qt"""
0 commit comments