Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e7e15b

Browse files
authored
Merge pull request #8020 from anntzer/qt-figureoptions-logit-scale
Allow choosing logit scale in qt figure options.
2 parents 6b6adb4 + 35292bd commit 9e7e15b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/backends/qt_editor/figureoptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ def figure_edit(axes, parent=None):
5454
(None, "<b>X-Axis</b>"),
5555
('Min', xmin), ('Max', xmax),
5656
('Label', axes.get_xlabel()),
57-
('Scale', [axes.get_xscale(), 'linear', 'log']),
57+
('Scale', [axes.get_xscale(), 'linear', 'log', 'logit']),
5858
sep,
5959
(None, "<b>Y-Axis</b>"),
6060
('Min', ymin), ('Max', ymax),
6161
('Label', axes.get_ylabel()),
62-
('Scale', [axes.get_yscale(), 'linear', 'log']),
62+
('Scale', [axes.get_yscale(), 'linear', 'log', 'logit']),
6363
sep,
6464
('(Re-)Generate automatic legend', False),
6565
]

0 commit comments

Comments
 (0)