Skip to content

Commit 2f7e53d

Browse files
authored
Merge pull request #22795 from anntzer/ms
Replace "marker simplification" by "marker subsampling" in docs.
2 parents f1c3444 + b092187 commit 2f7e53d

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

doc/users/explain/performance.rst

+8-13
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ simplification) and another style for publication quality plotting
5555
:doc:`/tutorials/introductory/customizing` for instructions on
5656
how to perform these actions.
5757

58-
5958
The simplification works by iteratively merging line segments
6059
into a single vector until the next line segment's perpendicular
6160
distance to the vector (measured in display-coordinate space)
@@ -67,18 +66,14 @@ is greater than the ``path.simplify_threshold`` parameter.
6766
parameters prior to 2.1, but rendering time for some kinds of
6867
data will be vastly improved in versions 2.1 and greater.
6968

70-
Marker simplification
71-
---------------------
72-
73-
Markers can also be simplified, albeit less robustly than
74-
line segments. Marker simplification is only available
75-
to :class:`~matplotlib.lines.Line2D` objects (through the
76-
``markevery`` property). Wherever
77-
:class:`~matplotlib.lines.Line2D` construction parameters
78-
are passed through, such as
79-
:func:`matplotlib.pyplot.plot` and
80-
:meth:`matplotlib.axes.Axes.plot`, the ``markevery``
81-
parameter can be used::
69+
Marker subsampling
70+
------------------
71+
72+
Markers can also be simplified, albeit less robustly than line
73+
segments. Marker subsampling is only available to `.Line2D` objects
74+
(through the ``markevery`` property). Wherever `.Line2D` construction
75+
parameters are passed through, such as `.pyplot.plot` and `.Axes.plot`,
76+
the ``markevery`` parameter can be used::
8277

8378
plt.plot(x, y, markevery=10)
8479

0 commit comments

Comments
 (0)