Fix format svg -> pdf

This commit is contained in:
Michael Droettboom 2019-01-28 11:04:52 -05:00
parent 9c8b6d2db0
commit 0fbaa77192
1 changed files with 1 additions and 1 deletions

View File

@ -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