-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC: Revising the Figure Legend Demo Example #29666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The example claims "Instead of plotting a legend on each axis, a legend for all the artists on all the sub-axes of a figure can be plotted instead." but it does not do this. I think we can consolidate the whole example to
Also, I believe 'outside right upper' is the most used position, so let's use that in the example. The outside positioning is discussed in detail here: https://matplotlib.org/stable/users/explain/axes/legend_guide.html#figure-legends. I'd prefer a link instead of discussing this again in a second plot. |
@timhoffm Thank you so much for consolidating the example! I have incorporated the new version into this PR. |
Thanks @star1327p! |
…666-on-v3.10.x Backport PR #29666 on branch v3.10.x (DOC: Revising the Figure Legend Demo Example)
…666-on-v3.10.0-doc Backport PR #29666 on branch v3.10.0-doc (DOC: Revising the Figure Legend Demo Example)
PR summary
Revising the Figure Legend Demo Example. Elaborated on the difference between
outside left upper
andoutside upper right
of legend locations.https://matplotlib.org/devdocs/gallery/text_labels_and_annotations/figlegend_demo.html
PR checklist