Skip to content

Commit 926c572

Browse files
authored
Merge pull request #15810 from meeseeksmachine/auto-backport-of-pr-15809-on-v3.2.x
Backport PR #15809 on branch v3.2.x (Exclude artists from legend using label attributte)
2 parents 6348c18 + 899e390 commit 926c572

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tutorials/intermediate/legend_guide.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
not all artists can be added to a legend, at which point a "proxy" will have
4747
to be created (see :ref:`proxy_legend_handles` for further details).
4848
49+
Those artists with an empty string as label or with a label starting with
50+
"_" will be ignored.
51+
4952
For full control of what is being added to the legend, it is common to pass
5053
the appropriate handles directly to :func:`legend`::
5154

0 commit comments

Comments
 (0)