Show More
@@ -61,7 +61,7 b' def test_figure_to_jpeg():' | |||||
61 | ax = fig.add_subplot(1,1,1) |
|
61 | ax = fig.add_subplot(1,1,1) | |
62 | ax.plot([1,2,3]) |
|
62 | ax.plot([1,2,3]) | |
63 | plt.draw() |
|
63 | plt.draw() | |
64 |
jpeg = pt.print_figure(fig, 'jpeg', |
|
64 | jpeg = pt.print_figure(fig, 'jpeg', pil_kwargs={'optimize': 50})[:100].lower() | |
65 | assert jpeg.startswith(_JPEG) |
|
65 | assert jpeg.startswith(_JPEG) | |
66 |
|
66 | |||
67 | def test_retina_figure(): |
|
67 | def test_retina_figure(): |
General Comments 0
You need to be logged in to leave comments.
Login now