diff options
-rw-r--r-- | eitControl.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/eitControl.py b/eitControl.py index 8ea92ff..780149b 100644 --- a/eitControl.py +++ b/eitControl.py @@ -186,16 +186,7 @@ class Experiment: # print("onTic DAQ took %s seconds." % (runTime) ) def autoZoom(self): - self.ax.cla() - x = self.data['x'] - for name in self.channelsNames2plot: - if name not in self.data: - continue - y = self.data[name] - # self.lines2plot[name], = self.ax.plot(x, y, '.', label=name) - self.ax.legend() - plt.xlabel(self.xlabel) - self.canvas.draw() + self.dataPlot.autoRange() def updatePlot(self,swp=None): self.color += 1 |