Skip to content

Commit f066c9f

Browse files
committed
Set the fillstyle early in the MarkerStyle c'tor
This fixes the excessive test failures caused by 4ed01d7. Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
1 parent c9d75c0 commit f066c9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/markers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ def __init__(self, marker=None, fillstyle=None):
165165
fillstyle : string, optional, default: 'full'
166166
'full', 'left", 'right', 'bottom', 'top', 'none'
167167
"""
168+
# The fillstyle has to be set here as it might be accessed by calls to
169+
# _recache() in set_marker.
170+
self._fillstyle = fillstyle
168171
self.set_marker(marker)
169172
self.set_fillstyle(fillstyle)
170173

0 commit comments

Comments
 (0)