Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 154cd87

Browse files
committed
FIX : use canonical linestyles kwarg in contour
LineCollections can have their line style set either via the explicit `linestyles` kwarg or via the imlicit `linestyle' which is set via `Artist` level `set_*` magic.
1 parent 0f76a2d commit 154cd87

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)