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

Skip to content

Commit 35292bd

Browse files
committed
Allow choosing logit scale in qt figure options.
1 parent a517c60 commit 35292bd

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)