We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97d704f commit 9daffa3Copy full SHA for 9daffa3
lib/matplotlib/stackplot.py
@@ -85,7 +85,7 @@ def stackplot(axes, x, *args,
85
else:
86
colors = (axes._get_lines.get_next_color() for _ in y)
87
88
- if not hatch or isinstance(hatch, str):
+ if hatch is None or isinstance(hatch, str):
89
hatch = itertools.cycle([hatch])
90
91
hatch = itertools.cycle(hatch)
0 commit comments