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

Commit154cd87

Browse files
committed
FIX : use canonical linestyles kwarg in contour
LineCollections can have their line style set either via theexplicit `linestyles` kwarg or via the imlicit `linestyle' whichis set via `Artist` level `set_*` magic.
1 parent0f76a2d commit154cd87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/contour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ def __init__(self, ax, *args, **kwargs):
964964
segs,
965965
antialiaseds=aa,
966966
linewidths=width,
967-
linestyle=[lstyle],
967+
linestyles=[lstyle],
968968
alpha=self.alpha,
969969
transform=self.get_transform(),
970970
zorder=zorder)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp