pull/357/head
nyanpasu64 2018-07-22 03:51:29 -07:00
rodzic 0a3ffe118c
commit e4399640bc
2 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -135,12 +135,9 @@ class Ovgen:
region_len = round(wave.smp_s * time_visible_s)
trigger_sample = wave.trigger.get_trigger(sample)
print(f'- {trigger_sample}')
datas.append(wave.get_around(trigger_sample, region_len))
# Render frame
print(frame)
renderer.render_frame(datas)
# Output frame

Wyświetl plik

@ -32,7 +32,6 @@ def test_renderer(mock_show):
https://stackoverflow.com/a/27950953
"[I]mage comparison tests end up bring more trouble than they are worth"
"""
# monkeypatch.setattr(plt, 'show', lambda *args, **kwargs: None)
# 2 columns
cfg = RendererConfig(WIDTH, HEIGHT, ncols=2)