Skip to content

Commit ca9f6bf

Browse files
authored
Merge pull request matplotlib#31664 from hansu650/fix/markevery-path-docs
docs: clarify markevery float spacing
2 parents df808aa + a61f866 commit ca9f6bf

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

lib/matplotlib/lines.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -592,9 +592,10 @@ def set_markevery(self, every):
592592
-----
593593
Setting *markevery* will still only draw markers at actual data points.
594594
While the float argument form aims for uniform visual spacing, it has
595-
to coerce from the ideal spacing to the nearest available data point.
596-
Depending on the number and distribution of data points, the result
597-
may still not look evenly spaced.
595+
to coerce from the ideal spacing along the drawn line to the nearest
596+
available data point. Depending on the number and distribution of data
597+
points, and on how jagged the line is, the result may still not look
598+
evenly spaced along the x- or y-axis.
598599
599600
When using a start offset to specify the first marker, the offset will
600601
be from the first data point which may be different from the first

0 commit comments

Comments
 (0)