From 6412460107ec9f6028bc576f108b38821321e508 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Tue, 1 Aug 2017 18:38:11 -0700 Subject: [PATCH] Change labels in Qt figure options. ... from min-max to left-right/bottom-top -- just like in ax.set_xlim, the first value can be set larger than the second to get inverted axes. --- lib/matplotlib/backends/qt_editor/figureoptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/backends/qt_editor/figureoptions.py b/lib/matplotlib/backends/qt_editor/figureoptions.py index d7062d694317..92c338fa5797 100644 --- a/lib/matplotlib/backends/qt_editor/figureoptions.py +++ b/lib/matplotlib/backends/qt_editor/figureoptions.py @@ -52,12 +52,12 @@ def figure_edit(axes, parent=None): general = [('Title', axes.get_title()), sep, (None, "X-Axis"), - ('Min', xmin), ('Max', xmax), + ('Left', xmin), ('Right', xmax), ('Label', axes.get_xlabel()), ('Scale', [axes.get_xscale(), 'linear', 'log', 'logit']), sep, (None, "Y-Axis"), - ('Min', ymin), ('Max', ymax), + ('Bottom', ymin), ('Top', ymax), ('Label', axes.get_ylabel()), ('Scale', [axes.get_yscale(), 'linear', 'log', 'logit']), sep,