mirror of https://github.com/m-labs/artiq.git
test_wavesynth: use matplotlib
This commit is contained in:
parent
3472e1abd3
commit
6a783ead24
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue