Closedown
This commit is contained in:
1 parent
6466ee9492
commit
0c8c97dfc1
2 files changed
+5
-5
No files matched your search
@@ -73,8 +73,8 @@ def plot_cur_spectrum():
|
||||
try:
|
||||
while get_context().state.running:
|
||||
y = Scienta.spectrum.take(100)
|
||||
#x = Scienta.spectrumX
|
||||
x = Scienta.spectrumScale.take(100)
|
||||
x = Scienta.spectrumX
|
||||
#x = Scienta.spectrumScale.take(100)
|
||||
if len(y)>len(x):
|
||||
y=y[:len(x)]
|
||||
spectrum_series.setData(x, y)
|
||||
|
||||
Reference in new issue
Block a user