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

Skip to content

Commit 78ed16a

Browse files
astropy-buildbotddale
authored andcommitted
Fix mistake in last commit -- still getting my git legs.
1 parent d2ebfab commit 78ed16a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/matplotlib/axes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from __future__ import division, generators
2-
from matplotlib import IS_PY3K
32
import math, sys, warnings, datetime
43
from operator import itemgetter
54
import itertools
@@ -8469,7 +8468,7 @@ def subplot_class_factory(axes_class=None):
84698468

84708469
new_class = _subplot_classes.get(axes_class)
84718470
if new_class is None:
8472-
if IS_PY3K:
8471+
if sys.version_info[0] >= 3:
84738472
new_class = type("%sSubplot" % (axes_class.__name__),
84748473
(SubplotBase, axes_class),
84758474
{'_axes_class': axes_class})

0 commit comments

Comments
 (0)