File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 719719
720720 import numpy as np
721721 import matplotlib
722- matplotlib.use('Agg')
723722 from matplotlib.testing.decorators import image_comparison
724723 import matplotlib.pyplot as plt
725724
Original file line number Diff line number Diff line change @@ -888,7 +888,7 @@ def test(verbosity=0):
888888 import nose .plugins .builtin
889889 from testing .noseclasses import KnownFailure
890890 from nose .plugins .manager import PluginManager
891-
891+ use ( 'Agg' ) # use Agg backend for these tests
892892 plugins = []
893893 plugins .append ( KnownFailure () )
894894 plugins .extend ( [plugin () for plugin in nose .plugins .builtin .plugins ] )
Original file line number Diff line number Diff line change 11import numpy as np
22import matplotlib
3- matplotlib .use ('Agg' )
43from matplotlib .testing .decorators import image_comparison
54import matplotlib .pyplot as plt
65
You can’t perform that action at this time.
0 commit comments