@@ -801,16 +801,14 @@ def get_clip_path(self):
801
801
802
802
def get_dashes (self ):
803
803
"""
804
- Return the dash information as an offset dashlist tuple .
804
+ Return the dash style as an ( offset, dash-list) pair .
805
805
806
- The dash list is a even size list that gives the ink on, ink
807
- off in pixels .
806
+ The dash list is a even-length list that gives the ink on, ink off in
807
+ points. See p. 107 of to PostScript `blue book`_ for more info .
808
808
809
- See p107 of to PostScript `BLUEBOOK
810
- <https://www-cdf.fnal.gov/offline/PostScript/BLUEBOOK.PDF>`_
811
- for more info.
809
+ Default value is (None, None).
812
810
813
- Default value is None
811
+ .. _blue book: https://www-cdf.fnal.gov/offline/PostScript/BLUEBOOK.PDF
814
812
"""
815
813
return self ._dashes
816
814
@@ -902,13 +900,18 @@ def set_dashes(self, dash_offset, dash_list):
902
900
903
901
Parameters
904
902
----------
905
- dash_offset : float
906
- is the offset (usually 0).
903
+ dash_offset : float or None
904
+ The offset (usually 0).
905
+ dash_list : array_like or None
906
+ The on-off sequence as points.
907
907
908
- dash_list : array_like
909
- specifies the on-off sequence as points.
910
- ``(None, None)`` specifies a solid line
908
+ Notes
909
+ -----
910
+ ``(None, None)`` specifies a solid line.
911
+
912
+ See p. 107 of to PostScript `blue book`_ for more info.
911
913
914
+ .. _blue book: https://www-cdf.fnal.gov/offline/PostScript/BLUEBOOK.PDF
912
915
"""
913
916
if dash_list is not None :
914
917
dl = np .asarray (dash_list )
0 commit comments