[bugfix] identity check of np.array
This commit is contained in:
parent
ba37d587a6
commit
f0b6897053
2
PyLoT.py
2
PyLoT.py
@ -1752,7 +1752,7 @@ class MainWindow(QMainWindow):
|
||||
for times, data, times_syn, data_syn in plots:
|
||||
self.dataPlot.plotWidget.getPlotItem().plot(times, data,
|
||||
pen=self.dataPlot.pen_linecolor)
|
||||
if data_syn:
|
||||
if len(data_syn) > 0:
|
||||
self.dataPlot.plotWidget.getPlotItem().plot(times_syn, data_syn,
|
||||
pen=self.dataPlot.pen_linecolor_syn)
|
||||
self.dataPlot.reinitMoveProxy()
|
||||
|
Loading…
Reference in New Issue
Block a user