Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 69af0e7

Browse files
committed
set facecolor before edgecolor, which may depend on facecolor
1 parent 4ab8e14 commit 69af0e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/collections.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,10 @@ def __init__(self,
128128
# list of unbroadcast/scaled linewidths
129129
self._us_lw = [0]
130130
self._linewidths = [0]
131+
self._is_filled = True # May be modified by set_facecolor().
131132

132-
self.set_edgecolor(edgecolors)
133133
self.set_facecolor(facecolors)
134+
self.set_edgecolor(edgecolors)
134135
self.set_linewidth(linewidths)
135136
self.set_linestyle(linestyles)
136137
self.set_antialiased(antialiaseds)

0 commit comments

Comments
 (0)