8000 Correct parameter name to match documentation in Line2D.set_linestyle · matplotlib/matplotlib@859dac2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 859dac2

Browse files
committed
Correct parameter name to match documentation in Line2D.set_linestyle
1 parent 608ad21 commit 859dac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ def set_linewidth(self, w):
916916
"""
917917
self._linewidth = w
918918

919-
def set_linestyle(self, linestyle):
919+
def set_linestyle(self, ls):
920920
"""
921921
Set the linestyle of the line (also accepts drawstyles,
922922
e.g., ``'steps--'``)

0 commit comments

Comments
 (0)
0