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 c4d4f11 commit 9a2def6Copy full SHA for 9a2def6
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 instance(tupType, (float, int)):
+ if not isinstance(tupType, (float, 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