@@ -909,17 +909,17 @@ def set_linestyle(self, linestyle):
909
909
Set the linestyle of the line (also accepts drawstyles)
910
910
911
911
912
- ================ =================
912
+ =========================== =================
913
913
linestyle description
914
- ================ =================
914
+ =========================== =================
915
915
``'-'`` or ``'solid'`` solid line
916
916
``'--'`` or ``'dashed'`` dashed line
917
917
``'-.'`` or ``'dash_dot'`` dash-dotted line
918
918
``':'`` or ``'dotted'`` dotted line
919
919
``'None'`` draw nothing
920
920
``' '`` draw nothing
921
921
``''`` draw nothing
922
- ================ =================
922
+ =========================== =================
923
923
924
924
'steps' is equivalent to 'steps-pre' and is maintained for
925
925
backward-compatibility.
@@ -929,10 +929,13 @@ def set_linestyle(self, linestyle):
929
929
:meth:`set_drawstyle`
930
930
To set the drawing style (stepping) of the plot.
931
931
932
- ACCEPTS: [``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` |
933
- ``'solid'`` | ``'dashed'`` | ``'dash_dot'`` | ``'dotted'`` |
934
- ``'None'`` | ``' '`` | ``''``]
935
- and any drawstyle in combination with a linestyle, e.g., ``'steps--'``.
932
+ Parameters
933
+ ----------
934
+ ls : { '-', '--', '-.', ':' , 'solid', 'dashed', 'dashdot', 'dotted',
935
+ (offset, on-off-dash-seq)}
936
+ The line style. [[EXPLAIN on-off-dash-seq]]
937
+ Also accepts any drawstyle in combination with a linestyle,
938
+ e.g., ``'steps--'``.
936
939
"""
937
940
if not is_string_like (linestyle ):
938
941
if len (linestyle ) != 2 :
0 commit comments