Thanks to visit codestin.com Credit goes to github.com
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 ae4a308 commit 97c58d2Copy full SHA for 97c58d2
1 file changed
lib/matplotlib/backends/qt4_editor/formlayout.py
@@ -271,7 +271,7 @@ def setup(self):
271
elif isinstance(value, (str, unicode)):
272
field = QLineEdit(value, self)
273
elif isinstance(value, (list, tuple)):
274
- selindex = value.pop(0)
+ selindex = list(value).pop(0)
275
field = QComboBox(self)
276
if isinstance(value[0], (list, tuple)):
277
keys = [ key for key, _val in value ]
0 commit comments