mirror of https://github.com/pyodide/pyodide.git
Fix format svg -> pdf
This commit is contained in:
parent
9c8b6d2db0
commit
0fbaa77192
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue