8000 Fix #1547 · matplotlib/matplotlib@a439ab7 · GitHub
[go: up one dir, main page]

Skip to content

Commit a439ab7

Browse files
committed
Fix #1547
1 parent 4b95f88 commit a439ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/qt4_editor/formlayout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def get(self):
353353
elif isinstance(value, bool):
354354
value = field.checkState() == Qt.Checked
355355
elif isinstance(value, float):
356-
value = float(field.text())
356+
value = float(str(field.text()))
357357
elif isinstance(value, int):
358358
value = int(field.value())
359359
elif isinstance(value, datetime.datetime):

0 commit comments

Comments
 (0)
0