Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a2def6 commit 3a71055Copy full SHA for 3a71055
1 file changed
lib/matplotlib/rcsetup.py
@@ -568,7 +568,7 @@ def validate_markevery(s):
568
raise ValueError("'markevery' tuple with first element of "
569
"type float must have all elements of type "
570
"float")
571
- if not isinstance(tupType, (float, int)):
+ if tupType is not float and tupType is not int:
572
raise TypeError("'markevery' tuple is of an invalid type")
573
if isinstance(s, list):
574
if not all(isinstance(e, int) for e in s):
0 commit comments