mirror of https://github.com/mfkiwl/krakensdr_pr
minor change
This commit is contained in:
parent
7e7c2f7799
commit
3726281ffd
|
@ -1538,7 +1538,8 @@ def plot_spectrum():
|
|||
update_data = dict(x=x_app, y=y_app)
|
||||
|
||||
app.push_mods({
|
||||
'spectrum-graph': {'extendData': [update_data, [0, 1, 2], len(webInterface_inst.spectrum[0,:])]},
|
||||
#'spectrum-graph': {'extendData': [update_data, [0, 1, 2], len(webInterface_inst.spectrum[0,:])]},
|
||||
'spectrum-graph': {'extendData': [update_data, list(range(0,len(webInterface_inst.spectrum)-1)), len(webInterface_inst.spectrum[0,:])]},
|
||||
'waterfall-graph': {'extendData': [dict(z =[[webInterface_inst.spectrum[1, :]]]), [0], 50]}
|
||||
|
||||
# 'spectrum-store': {'data': update_data}
|
||||
|
|
Loading…
Reference in New Issue