From 0fbaa77192920f84176cbf7e238bfb852bc983d1 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Mon, 28 Jan 2019 11:04:52 -0500 Subject: [PATCH] Fix format svg -> pdf --- test/test_matplotlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_matplotlib.py b/test/test_matplotlib.py index a6bc87e8b..71b104220 100644 --- a/test/test_matplotlib.py +++ b/test/test_matplotlib.py @@ -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