Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit9daffa3

Browse files
nbarlowATIrcomer
andauthored
fix check for None in hatch argument for stackplot
Co-authored-by: Ruth Comer <10599679+rcomer@users.noreply.github.com>
1 parent97d704f commit9daffa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/stackplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def stackplot(axes, x, *args,
8585
else:
8686
colors= (axes._get_lines.get_next_color()for_iny)
8787

88-
ifnothatchorisinstance(hatch,str):
88+
ifhatchisNoneorisinstance(hatch,str):
8989
hatch=itertools.cycle([hatch])
9090
else:
9191
hatch=itertools.cycle(hatch)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp