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

Skip to content

Commit d14f026

Browse files
authored
Merge pull request #21058 from meeseeksmachine/auto-backport-of-pr-21053-on-v3.5.x
Backport PR #21053 on branch v3.5.x (Fix validate_markevery docstring markup.)
2 parents eb35ad3 + 7e15bef commit d14f026

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/matplotlib/rcsetup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -485,14 +485,11 @@ def validate_markevery(s):
485485
486486
Parameters
487487
----------
488-
s : None, int, float, slice, length-2 tuple of ints,
489-
length-2 tuple of floats, list of ints
488+
s : None, int, (int, int), slice, float, (float, float), or list[int]
490489
491490
Returns
492491
-------
493-
None, int, float, slice, length-2 tuple of ints,
494-
length-2 tuple of floats, list of ints
495-
492+
None, int, (int, int), slice, float, (float, float), or list[int]
496493
"""
497494
# Validate s against type slice float int and None
498495
if isinstance(s, (slice, float, int, type(None))):

0 commit comments

Comments
 (0)