You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DOCS 2D Line label option _nolegend_ is not documented #15770
It seems like these magic parameters should definitely be documented. Could not any user incidentally input these values? Surely they're not common labels, but if some labels are special I would think it should be documented. These are also used as an example and floating around as solutions for adding a line but not listing it on the legend.
Activity
timhoffm commentedon Nov 26, 2019
I'm not sure if this is intended to be user-facing.
Also there's more logic involved than just
_nolegend_:results in
and only
visibleis part of the legend.jpeacock29 commentedon Nov 26, 2019
It seems like these magic parameters should definitely be documented. Could not any user incidentally input these values? Surely they're not common labels, but if some labels are special I would think it should be documented. These are also used as an example and floating around as solutions for adding a line but not listing it on the legend.
ImportanceOfBeingErnest commentedon Nov 26, 2019
This was documented in 1.3.1 (https://matplotlib.org/1.3.1/users/legend_guide.html), where it says
This got lost in #2442, specifically in 99f325d#diff-52cdf77880da5ac3d7b2712d2d318772L47
I suspect that this was an unintentional mistake and should be readded.