fix 2
This commit is contained in:
@ -436,7 +436,7 @@ def run_matplotlib(args):
|
|||||||
return base.T # (bins, time)
|
return base.T # (bins, time)
|
||||||
|
|
||||||
def update(_frame):
|
def update(_frame):
|
||||||
nonlocal frames_since_ylim_update
|
nonlocal frames_since_ylim_update, ref_out_saved
|
||||||
changed = drain_queue() > 0
|
changed = drain_queue() > 0
|
||||||
|
|
||||||
# Обновление линии последнего свипа
|
# Обновление линии последнего свипа
|
||||||
@ -592,7 +592,6 @@ def run_matplotlib(args):
|
|||||||
|
|
||||||
# Автоматическое сохранение медианы при накоплении 1000+ свипов
|
# Автоматическое сохранение медианы при накоплении 1000+ свипов
|
||||||
if ref_out_file and not ref_out_saved and ring is not None:
|
if ref_out_file and not ref_out_saved and ring is not None:
|
||||||
nonlocal ref_out_saved
|
|
||||||
filled_count = np.count_nonzero(~np.isnan(ring[:, 0]))
|
filled_count = np.count_nonzero(~np.isnan(ring[:, 0]))
|
||||||
if filled_count >= 1000:
|
if filled_count >= 1000:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user