test_wavesynth: use matplotlib

This commit is contained in:
Robert Jördens 2016-04-07 21:36:30 +08:00
parent 3472e1abd3
commit 6a783ead24

View File

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