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 87a208c

Browse filesBrowse files
authored
Fix PEP8 Maximum Line Length violation
See matplotlib#9343 (comment).
1 parent 91e1208 commit 87a208c
Copy full SHA for 87a208c

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/legend.py

Copy file name to clipboardExpand all lines: lib/matplotlib/legend.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,12 +616,12 @@ def _init_legend_box(self, handles, labels, markerfirst=True):
616616
for orig_handle, lab in zip(handles, labels):
617617
handler = self.get_legend_handler(legend_handler_map, orig_handle)
618618
if handler is None:
619-
fragment = "#creating-artists-specifically-for-adding-to-the-legend-aka-proxy-artists"
620619
warnings.warn(
621620
"Legend does not support {!r} instances.\nA proxy artist "
622621
"may be used instead.\nSee: "
623622
"http://matplotlib.org/users/legend_guide.html"
624-
"{}".format(orig_handle, fragment)
623+
"#creating-artists-specifically-for-adding-to-the-legend-"
624+
"aka-proxy-artists".format(orig_handle)
625625
)
626626
# We don't have a handle for this artist, so we just defer
627627
# to None.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.