Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 926c572

Browse filesBrowse 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
Copy full SHA for 926c572

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎tutorials/intermediate/legend_guide.py

Copy file name to clipboardExpand all lines: tutorials/intermediate/legend_guide.py
+3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.