TST: Move matplotlib.use() to before other matplotlib imports

This commit is contained in:
Kelsey Jordahl
2014-05-06 22:21:32 -04:00
parent 580afdb515
commit 90165de30e
+1 -1
View File
@@ -6,6 +6,7 @@ import tempfile
import unittest
import matplotlib
matplotlib.use('Agg', warn=False)
from matplotlib.pyplot import Artist, savefig, clf
from matplotlib.testing.noseclasses import ImageComparisonFailure
from matplotlib.testing.compare import compare_images
@@ -14,7 +15,6 @@ from six.moves import xrange
from geopandas import GeoSeries
matplotlib.use('Agg', warn=False)
# If set to True, generate images rather than perform tests (all tests will pass!)
GENERATE_BASELINE = False