@@ -221,9 +221,10 @@ def set_hatch(self, h):
221
221
222
222
CURRENT LIMITATIONS:
223
223
224
- 1. Hatching is supported in the PostScript backend only.
224
+ 1. Hatching is supported in the PostScript backend only.
225
+
226
+ 2. Hatching is done with solid black lines of width 0.
225
227
226
- 2. Hatching is done with solid black lines of width 0.
227
228
"""
228
229
self ._hatch = h
229
230
@@ -345,6 +346,7 @@ def __str__(self):
345
346
346
347
def __init__ (self , xy , width , height , ** kwargs ):
347
348
"""
349
+
348
350
*fill* is a boolean indicating whether to fill the rectangle
349
351
350
352
Valid kwargs are:
@@ -460,6 +462,8 @@ def __str__(self):
460
462
def __init__ (self , xy , numVertices , radius = 5 , orientation = 0 ,
461
463
** kwargs ):
462
464
"""
465
+ Constructor arguments:
466
+
463
467
*xy*
464
468
A length 2 tuple (*x*, *y*) of the center.
465
469
@@ -685,18 +689,20 @@ def __init__(self, x, y, dx, dy, width=0.001, length_includes_head=False, \
685
689
head_width = None , head_length = None , shape = 'full' , overhang = 0 , \
686
690
head_starts_at_zero = False ,** kwargs ):
687
691
"""
688
- *length_includes_head*:
689
- *True* if head is counted in calculating the length.
692
+ Constructor arguments
690
693
691
- *shape*: ['full', 'left', 'right']
694
+ *length_includes_head*:
695
+ *True* if head is counted in calculating the length.
692
696
693
- *overhang*:
694
- distance that the arrow is swept back (0 overhang means
695
- triangular shape).
697
+ *shape*: ['full', 'left', 'right']
696
698
697
- *head_starts_at_zero*:
698
- If *True*, the head starts being drawn at coordinate 0
699
- instead of ending at coordinate 0.
699
+ *overhang*:
700
+ distance that the arrow is swept back (0 overhang means
701
+ triangular shape).
702
+
703
+ *head_starts_at_zero*:
704
+ If *True*, the head starts being drawn at coordinate 0
705
+ instead of ending at coordinate 0.
700
706
701
707
Valid kwargs are:
702
708
%(Patch)s
@@ -761,6 +767,8 @@ def __str__(self):
761
767
762
768
def __init__ (self , figure , xytip , xybase , width = 4 , frac = 0.1 , headwidth = 12 , ** kwargs ):
763
769
"""
770
+ Constructor arguments:
771
+
764
772
*xytip*
765
773
(*x*, *y*) location of arrow tip
766
774
@@ -972,6 +980,8 @@ def __str__(self):
972
980
973
981
def __init__ (self , xy , width , height , angle = 0.0 , theta1 = 0.0 , theta2 = 360.0 , ** kwargs ):
974
982
"""
983
+ The following args are supported:
984
+
975
985
*xy*
976
986
center of ellipse
977
987
0 commit comments