Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1356fd5

Browse files
committed
Apply patch by Manuel Metz to scatter docstring.
svn path=/trunk/matplotlib/; revision=4895
1 parent df563da commit 1356fd5

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

lib/matplotlib/axes.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4145,10 +4145,22 @@ def scatter(self, x, y, s=20, c='b', marker='o', cmap=None, norm=None,
41454145
'p' : pentagram
41464146
'h' : hexagon
41474147
'8' : octagon
4148-
4149-
If marker is None and verts is not None, verts is a sequence
4150-
of (x,y) vertices for a custom scatter symbol.
4151-
4148+
4149+
The marker can also be a tuple (numsides, style, angle), which will
4150+
create a custom, regular symbol.
4151+
4152+
numsides is the number of sides
4153+
4154+
style is the style of the regular symbol:
4155+
0 : a regular polygon
4156+
1 : a star-like symbol
4157+
2 : an asterisk
4158+
4159+
angle is the angle of rotation of the symbol
4160+
4161+
Finally, marker can be (verts, 0), verts is a sequence of (x,y)
4162+
vertices for a custom scatter symbol.
4163+
41524164
s is a size argument in points squared.
41534165
41544166
Any or all of x, y, s, and c may be masked arrays, in which

0 commit comments

Comments
 (0)