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

Skip to content

Commit 3ba9279

Browse files
committed
Merge pull request #6074 from dylan-evans/master
DOC: linestyle is dash_dot and should be dashdot
2 parents 90a6984 + ac819f4 commit 3ba9279

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/matplotlib/collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def set_linestyle(self, ls):
510510
=========================== =================
511511
``'-'`` or ``'solid'`` solid line
512512
``'--'`` or ``'dashed'`` dashed line
513-
``'-.'`` or ``'dash_dot'`` dash-dotted line
513+
``'-.'`` or ``'dashdot'`` dash-dotted line
514514
``':'`` or ``'dotted'`` dotted line
515515
=========================== =================
516516

lib/matplotlib/lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ def set_linestyle(self, ls):
10111011
=========================== =================
10121012
``'-'`` or ``'solid'`` solid line
10131013
``'--'`` or ``'dashed'`` dashed line
1014-
``'-.'`` or ``'dash_dot'`` dash-dotted line
1014+
``'-.'`` or ``'dashdot'`` dash-dotted line
10151015
``':'`` or ``'dotted'`` dotted line
10161016
``'None'`` draw nothing
10171017
``' '`` draw nothing

lib/matplotlib/patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def set_linestyle(self, ls):
370370
=========================== =================
371371
``'-'`` or ``'solid'`` solid line
372372
``'--'`` or ``'dashed'`` dashed line
373-
``'-.'`` or ``'dash_dot'`` dash-dotted line
373+
``'-.'`` or ``'dashdot'`` dash-dotted line
374374
``':'`` or ``'dotted'`` dotted line
375375
=========================== =================
376376

0 commit comments

Comments
 (0)