10000 Merge pull request #4427 from tacaswell/doc_linestyle_accepts · matplotlib/matplotlib@bbe291b · GitHub
[go: up one dir, main page]

Skip to content

Commit bbe291b

Browse files
committed
Merge pull request #4427 from tacaswell/doc_linestyle_accepts
DOC : revert some documentation changes from #3772
2 parents 6376047 + 5f39071 commit bbe291b

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

lib/matplotlib/collections.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,11 @@ def set_linestyle(self, ls):
498498
where ``onoffseq`` is an even length tuple of on and off ink
499499
in points.
500500
501+
ACCEPTS: ['solid' | 'dashed', 'dashdot', 'dotted' |
502+
(offset, on-off-dash-seq) |
503+
``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` | ``'None'`` |
504+
``' '`` | ``''``]
505+
501506
Parameters
502507
----------
503508
ls : { '-', '--', '-.', ':'} and more see description

lib/matplotlib/lines.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,12 @@ def set_linestyle(self, ls):
949949
where ``onoffseq`` is an even length tuple of on and off ink
950950
in points.
951951
952+
953+
ACCEPTS: ['solid' | 'dashed', 'dashdot', 'dotted' |
954+
(offset, on-off-dash-seq) |
955+
``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` | ``'None'`` |
956+
``' '`` | ``''``]
957+
952958
.. seealso::
953959
954960
:meth:`set_drawstyle`

lib/matplotlib/patches.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,11 @@ def set_linestyle(self, ls):
360360
where ``onoffseq`` is an even length tuple of on and off ink
361361
in points.
362362
363+
ACCEPTS: ['solid' | 'dashed', 'dashdot', 'dotted' |
364+
(offset, on-off-dash-seq) |
365+
``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` | ``'None'`` |
366+
``' '`` | ``''``]
367+
363368
Parameters
364369
----------
365370
ls : { '-', '--', '-.', ':'} and more see description

0 commit comments

Comments
 (0)
0