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

Skip to content

Commit 8b6c8c9

Browse files
committed
Include left and right titles for labeling axes in qt axes selector.
I don't know how often they are used, but it seems reasonable to allow using them for distinguishing between axes. No test because... because.
1 parent 153b463 commit 8b6c8c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/backends/backend_qt5.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,8 @@ def edit_parameters(self):
674674
titles = [
675675
ax.get_label() or
676676
ax.get_title() or
677+
ax.get_title("left") or
678+
ax.get_title("right") or
677679
" - ".join(filter(None, [ax.get_xlabel(), ax.get_ylabel()])) or
678680
f"<anonymous {type(ax).__name__}>"
679681
for ax in axes]

0 commit comments

Comments
 (0)