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

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions lib/matplotlib/rcsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,14 +485,11 @@ def validate_markevery(s):

Parameters
----------
s : None, int, float, slice, length-2 tuple of ints,
length-2 tuple of floats, list of ints
s : None, int, (int, int), slice, float, (float, float), or list[int]

Returns
-------
None, int, float, slice, length-2 tuple of ints,
length-2 tuple of floats, list of ints

None, int, (int, int), slice, float, (float, float), or list[int]
"""
# Validate s against type slice float int and None
if isinstance(s, (slice, float, int, type(None))):
Expand Down