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 5fdadf5

Browse filesBrowse files
committed
FIX: get proper edgecolor in legends
1 parent 33e51a5 commit 5fdadf5
Copy full SHA for 5fdadf5

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-2
lines changed

‎lib/matplotlib/legend_handler.py

Copy file name to clipboardExpand all lines: lib/matplotlib/legend_handler.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,8 +747,7 @@ def get_first(prop_array):
747747
return prop_array[0]
748748
else:
749749
return None
750-
edgecolor = getattr(orig_handle, '_original_edgecolor',
751-
orig_handle.get_edgecolor())
750+
edgecolor = orig_handle.get_edgecolor()
752751
legend_handle.set_edgecolor(first_color(edgecolor))
753752
facecolor = getattr(orig_handle, '_original_facecolor',
754753
orig_handle.get_facecolor())

0 commit comments

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