Closedown
This commit is contained in:
@@ -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