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

Skip to content

Commit aa18f5a

Browse files
authored
Merge pull request #15869 from anntzer/markerdoc
Update markers docs.
2 parents 099c168 + f3441fb commit aa18f5a

File tree

1 file changed

+6
-23
lines changed

1 file changed

+6
-23
lines changed

lib/matplotlib/markers.py

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -55,31 +55,14 @@
5555
normalized, such that the created path
5656
is encapsulated inside the unit cell.
5757
path A `~matplotlib.path.Path` instance.
58-
``(numsides, style, angle)`` The marker can also be a tuple
59-
``(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-
- 0: a regular polygon
69-
- 1: a star-like symbol
70-
- 2: an asterisk
71-
- 3: a circle (``numsides`` and
72-
``angle`` is ignored);
73-
deprecated.
74-
75-
``angle``:
76-
the angle of rotation of the symbol
58+
``(numsides, 0, angle)`` A regular polygon with ``numsides``
59+
sides, rotated by ``angle``.
60+
``(numsides, 1, angle)`` A star-like symbol with ``numsides``
61+
sides, rotated by ``angle``.
62+
``(numsides, 2, angle)`` An asterisk with ``numsides`` sides,
63+
rotated by ``angle``.
7764
============================== ====== =========================================
7865
79-
For backward compatibility, the form ``(verts, 0)`` is also accepted, but it is
80-
deprecated and equivalent to just ``verts`` for giving a raw set of vertices
81-
that define the shape.
82-
8366
``None`` is the default which means 'nothing', however this table is
8467
referred to from other docs for the valid inputs from marker inputs and in
8568
those cases ``None`` still means 'default'.

0 commit comments

Comments
 (0)