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

Skip to content

Commit 5e10f7c

Browse files
authored
Merge pull request #20059 from anntzer/lrt
Include left and right titles for labeling axes in qt axes selector.
2 parents a87b3f3 + 8b6c8c9 commit 5e10f7c

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)