[bugfix] getAxes missing in PylotCanvas for mpl
This commit is contained in:
parent
149fe3f74d
commit
36e68ee1ed
3
PyLoT.py
3
PyLoT.py
@ -1707,7 +1707,8 @@ class MainWindow(QMainWindow):
|
||||
self.dataPlot.plotWidget.hideAxis('bottom')
|
||||
self.dataPlot.plotWidget.hideAxis('left')
|
||||
else:
|
||||
self.dataPlot.getAxes().cla()
|
||||
for ax in self.dataPlot.axes:
|
||||
ax.cla()
|
||||
self.loadlocationaction.setEnabled(False)
|
||||
self.auto_tune.setEnabled(False)
|
||||
self.auto_pick.setEnabled(False)
|
||||
|
Loading…
Reference in New Issue
Block a user