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 d2ebfab commit 78ed16aCopy full SHA for 78ed16a
1 file changed
lib/matplotlib/axes.py
@@ -1,5 +1,4 @@
1
from __future__ import division, generators
2
-from matplotlib import IS_PY3K
3
import math, sys, warnings, datetime
4
from operator import itemgetter
5
import itertools
@@ -8469,7 +8468,7 @@ def subplot_class_factory(axes_class=None):
8469
8468
8470
new_class = _subplot_classes.get(axes_class)
8471
if new_class is None:
8472
- if IS_PY3K:
+ if sys.version_info[0] >= 3:
8473
new_class = type("%sSubplot" % (axes_class.__name__),
8474
(SubplotBase, axes_class),
8475
{'_axes_class': axes_class})
0 commit comments