Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6f83b3a

Browse filesBrowse files
authored
Merge pull request #15872 from meeseeksmachine/auto-backport-of-pr-15869-on-v3.2.x
Backport PR #15869 on branch v3.2.x (Update markers docs.)
2 parents d0baa6b + 0a409b7 commit 6f83b3a
Copy full SHA for 6f83b3a

File tree

Expand file treeCollapse file tree

1 file changed

+6
-23
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-23
lines changed

‎lib/matplotlib/markers.py

Copy file name to clipboardExpand all lines: lib/matplotlib/markers.py
+6-23Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.