Skip to content

Commit 43b3876

Browse files
committed
Apply patch by Manuel Metz to scatter docstring.
svn path=/branches/v0_91_maint/; revision=4896
1 parent 966e631 commit 43b3876

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

lib/matplotlib/axes.py

+16-4
Original file line numberDiff line numberDiff line change
@@ -4047,10 +4047,22 @@ def scatter(self, x, y, s=20, c='b', marker='o', cmap=None, norm=None,
40474047
'p' : pentagram
40484048
'h' : hexagon
40494049
'8' : octagon
4050-
4051-
If marker is None and verts is not None, verts is a sequence
4052-
of (x,y) vertices for a custom scatter symbol.
4053-
4050+
4051+
The marker can also be a tuple (numsides, style, angle), which will
4052+
create a custom, regular symbol.
4053+
4054+
numsides is the number of sides
4055+
4056+
style is the style of the regular symbol:
4057+
0 : a regular polygon
4058+
1 : a star-like symbol
4059+
2 : an asterisk
4060+
4061+
angle is the angle of rotation of the symbol
4062+
4063+
Finally, marker can be (verts, 0), verts is a sequence of (x,y)
4064+
vertices for a custom scatter symbol.
4065+
40544066
s is a size argument in points squared.
40554067
40564068
Any or all of x, y, s, and c may be masked arrays, in which

0 commit comments

Comments
 (0)