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

Skip to content

Commit 0865b99

Browse files
committed
Fix wrong direction curly quotes in marker table, fit the (numsides, style, angle) description inside the table, group 'nothing' marker
1 parent b9c3b64 commit 0865b99

1 file changed

Lines changed: 46 additions & 51 deletions

File tree

lib/matplotlib/markers.py

Lines changed: 46 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,29 @@
88
============================== ===============================================
99
marker description
1010
============================== ===============================================
11-
"." point
12-
"," pixel
13-
"o" circle
14-
"v" triangle_down
15-
"^" triangle_up
16-
"<" triangle_left
17-
">" triangle_right
18-
"1" tri_down
19-
"2" tri_up
20-
"3" tri_left
21-
"4" tri_right
22-
"8" octagon
23-
"s" square
24-
"p" pentagon
25-
"*" star
26-
"h" hexagon1
27-
"H" hexagon2
28-
"+" plus
29-
"x" x
30-
"D" diamond
31-
"d" thin_diamond
32-
"|" vline
33-
"_" hline
34-
"P" plus (filled)
35-
"X" x (filled)
11+
`"."` point
12+
`","` pixel
13+
`"o"` circle
14+
`"v"` triangle_down
15+
`"^"` triangle_up
16+
`"<"` triangle_left
17+
`">"` triangle_right
18+
`"1"` tri_down
19+
`"2"` tri_up
20+
`"3"` tri_left
21+
`"4"` tri_right
22+
`"8"` octagon
23+
`"s"` square
24+
`"p"` pentagon
25+
`"*"` star
26+
`"h"` hexagon1
27+
`"H"` hexagon2
28+
`"+"` plus (filled)
29+
`"x"` x (filled)
30+
`"D"` diamond
31+
`"d"` thin_diamond
32+
`"|"` vline
33+
`"_"` hline
3634
TICKLEFT tickleft
3735
TICKRIGHT tickright
3836
TICKUP tickup
@@ -44,43 +42,40 @@
4442
CARETLEFTBASE caretleft (centered at base)
4543
CARETRIGHTBASE caretright (centered at base)
4644
CARETUPBASE caretup (centered at base)
47-
"None" nothing
48-
None nothing
49-
" " nothing
50-
"" nothing
45+
`"None"`, None, `" "`, or `""` nothing
5146
``'$...$'`` render the string using mathtext.
5247
`verts` a list of (x, y) pairs used for Path vertices.
5348
The center of the marker is located at (0,0) and
5449
the size is normalized.
5550
path a `~matplotlib.path.Path` instance.
56-
(`numsides`, `style`, `angle`) see below
51+
(`numsides`, `style`, `angle`) The marker can also be a tuple (`numsides`,
52+
`style`, `angle`), which will create a custom,
53+
regular symbol.
54+
55+
`numsides`:
56+
the number of sides
57+
58+
`style`:
59+
the style of the regular symbol:
60+
""""""
61+
===== ===================================
62+
Value Description
63+
0 a regular polygon
64+
1 a star-like symbol
65+
2 an asterisk
66+
3 a circle (`numsides` and `angle` is
67+
ignored)
68+
===== ===================================
69+
""""""
70+
`angle`:
71+
the angle of rotation of the symbol
5772
============================== ===============================================
5873
59-
The marker can also be a tuple (`numsides`, `style`, `angle`), which
60-
will create a custom, regular symbol.
61-
62-
`numsides`:
63-
the number of sides
64-
65-
`style`:
66-
the style of the regular symbol:
67-
68-
===== =============================================
69-
Value Description
70-
===== =============================================
71-
0 a regular polygon
72-
1 a star-like symbol
73-
2 an asterisk
74-
3 a circle (`numsides` and `angle` is ignored)
75-
===== =============================================
76-
77-
`angle`:
78-
the angle of rotation of the symbol, in degrees
79-
8074
For backward compatibility, the form (`verts`, 0) is also accepted,
8175
but it is equivalent to just `verts` for giving a raw set of vertices
8276
that define the shape.
8377
"""
78+
8479
from __future__ import (absolute_import, division, print_function,
8580
unicode_literals)
8681

0 commit comments

Comments
 (0)