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

Skip to content

Commit 53b65e4

Browse files
chahak13QuLogic
andauthored
Update lib/matplotlib/backends/qt_editor/figureoptions.py
Change axis name conversion to `.title` instead of `.upper` to handle more general axis names. Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent 9b0fd09 commit 53b65e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/qt_editor/figureoptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def convert_limits(lim, converter):
5151
sep,
5252
*chain.from_iterable([
5353
(
54-
(None, f"<b>{name.upper()}-Axis</b>"),
54+
(None, f"<b>{name.title()}-Axis</b>"),
5555
('Min', axis_limits[name][0]),
5656
('Max', axis_limits[name][1]),
5757
('Label', axis.get_label().get_text()),

0 commit comments

Comments
 (0)