8000 Update lib/matplotlib/backends/qt_editor/figureoptions.py · matplotlib/matplotlib@53b65e4 · GitHub
[go: up one dir, main page]

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 <quantum.analyst@gmail.com>
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)
0