diff options
author | Carl Laufer <Kraken.rf.inc@gmail.com> | 2022-01-04 09:20:45 +0100 |
---|---|---|
committer | Carl Laufer <Kraken.rf.inc@gmail.com> | 2022-01-04 09:20:45 +0100 |
commit | 3726281ffd201f0e04b7a671a5f629a9a381f86c (patch) | |
tree | 4d497de0e80a04f88e05bbf9718dc3413ada7247 /_UI/_web_interface | |
parent | no more updates from dccstore due to memory leak (diff) | |
download | krakensdr_pr-3726281ffd201f0e04b7a671a5f629a9a381f86c.tar krakensdr_pr-3726281ffd201f0e04b7a671a5f629a9a381f86c.tar.gz krakensdr_pr-3726281ffd201f0e04b7a671a5f629a9a381f86c.tar.bz2 krakensdr_pr-3726281ffd201f0e04b7a671a5f629a9a381f86c.tar.lz krakensdr_pr-3726281ffd201f0e04b7a671a5f629a9a381f86c.tar.xz krakensdr_pr-3726281ffd201f0e04b7a671a5f629a9a381f86c.tar.zst krakensdr_pr-3726281ffd201f0e04b7a671a5f629a9a381f86c.zip |
Diffstat (limited to '_UI/_web_interface')
-rwxr-xr-x | _UI/_web_interface/kraken_web_interface.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/_UI/_web_interface/kraken_web_interface.py b/_UI/_web_interface/kraken_web_interface.py index 0cab81f..d4d89aa 100755 --- a/_UI/_web_interface/kraken_web_interface.py +++ b/_UI/_web_interface/kraken_web_interface.py @@ -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}
|