Skip to content

Commit

Permalink
Merge pull request #5555 from anntzer/formlayout-short-float-repr
Browse files Browse the repository at this point in the history
ENH: Use shorter float repr in figure options dialog.
  • Loading branch information
tacaswell committed Nov 24, 2015
2 parents b498783 + f53ee4d commit 6245d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/backends/qt_editor/figureoptions.py
Expand Up @@ -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, "<b>X-Axis</b>"),
Expand Down

0 comments on commit 6245d4e

Please sign in to comment.