8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53dae5b commit 83f7683Copy full SHA for 83f7683
lib/matplotlib/patches.py
@@ -321,19 +321,15 @@ def set_antialiased(self, aa):
321
self.stale = True
322
323
def _set_edgecolor(self, color):
324
- set_hatch_color_from_edgecolor = True
325
if color is None:
326
if (mpl.rcParams['patch.force_edgecolor'] or
327
not self._fill or self._edge_default):
328
color = mpl.rcParams['patch.edgecolor']
329
else:
330
color = 'none'
331
332
- if color == "none":
333
- set_hatch_color_from_edgecolor = False
334
-
335
self._edgecolor = colors.to_rgba(color, self._alpha)
336
- if set_hatch_color_from_edgecolor and (not self.set_hatch_color):
+ if color != 'none' and (not self.set_hatch_color):
337
self._hatch_color = self._edgecolor
338
339
0 commit comments