Commit 0fbaa771 authored by Michael Droettboom's avatar Michael Droettboom

Fix format svg -> pdf

parent 9c8b6d2d
......@@ -25,6 +25,6 @@ def test_pdf(selenium):
selenium.run("x = plt.plot([1,2,3])")
selenium.run("import io")
selenium.run("fd = io.BytesIO()")
selenium.run("plt.savefig(fd, format='svg')")
selenium.run("plt.savefig(fd, format='pdf')")
content = selenium.run("fd.getvalue()")
assert len(content) == 15752
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment