test_wavesynth: use matplotlib

pull/605/head
Robert Jördens 2016-04-07 21:36:30 +08:00
parent 3472e1abd3
commit 6a783ead24
1 changed files with 3 additions and 2 deletions

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