##// END OF EJS Templates
Don't use new subplots() call in matplotlib so tests pass with mpl 0.99
Fernando Perez -
Show More
@@ -46,7 +46,8 b' def test_figure_to_svg():'
46 plt.close('all')
46 plt.close('all')
47
47
48 # simple check for at least svg-looking output
48 # simple check for at least svg-looking output
49 fig, ax = plt.subplots()
49 fig = plt.figure()
50 ax = fig.add_subplot(1,1,1)
50 ax.plot([1,2,3])
51 ax.plot([1,2,3])
51 plt.draw()
52 plt.draw()
52 svg = pt.figure_to_svg(fig)[:100].lower()
53 svg = pt.figure_to_svg(fig)[:100].lower()
General Comments 0
You need to be logged in to leave comments. Login now