diff --git a/lib/matplotlib/backends/qt_editor/figureoptions.py b/lib/matplotlib/backends/qt_editor/figureoptions.py index 4882d8b8dd6a..f2fc9e115efc 100644 --- a/lib/matplotlib/backends/qt_editor/figureoptions.py +++ b/lib/matplotlib/backends/qt_editor/figureoptions.py @@ -46,8 +46,8 @@ def figure_edit(axes, parent=None): has_curve = len(axes.get_lines()) > 0 # Get / General - xmin, xmax = axes.get_xlim() - ymin, ymax = axes.get_ylim() + xmin, xmax = map(float, axes.get_xlim()) + ymin, ymax = map(float, axes.get_ylim()) general = [('Title', axes.get_title()), sep, (None, "X-Axis"),