mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
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
Block a user