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 3a4a6f0

Browse filesBrowse files
committed
Fix warning when setting markeredgecolor to a numpy array
1 parent 58a8334 commit 3a4a6f0
Copy full SHA for 3a4a6f0

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎lib/matplotlib/lines.py

Copy file name to clipboardExpand all lines: lib/matplotlib/lines.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ def set_markeredgecolor(self, ec):
11571157
"""
11581158
if ec is None:
11591159
ec = 'auto'
1160-
if self._markeredgecolor != ec:
1160+
if self._markeredgecolor is None or self._markeredgecolor != ec:
11611161
self.stale = True
11621162
self._markeredgecolor = ec
11631163

0 commit comments

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