DOC: Revising the Figure Legend Demo Example#29666
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)
…t-of-pr-29666-on-v3.10.0-doc Backport PR matplotlib#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 upperandoutside upper rightof legend locations.https://matplotlib.org/devdocs/gallery/text_labels_and_annotations/figlegend_demo.html
PR checklist