From 6a783ead248965d60dcdb57eb3e9552126834344 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Thu, 7 Apr 2016 21:36:30 +0800 Subject: [PATCH] test_wavesynth: use matplotlib --- artiq/test/test_wavesynth.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/artiq/test/test_wavesynth.py b/artiq/test/test_wavesynth.py index 1413a4a61..c8323ba5b 100644 --- a/artiq/test/test_wavesynth.py +++ b/artiq/test/test_wavesynth.py @@ -121,6 +121,7 @@ class TestSynthesizer(unittest.TestCase): @unittest.skip("manual/visual test") def test_plot(self): - import cairoplot + from matplotlib import pyplot as plt x, y = self.drive() - cairoplot.scatter_plot("plot.png", [x, y]) + plt.plot(x, y) + plt.show()