modified establishment of data plot

This commit is contained in:
Sebastian Wehling-Benatelli 2014-10-27 11:55:06 +01:00
parent db76861124
commit 12c6fecf74

View File

@ -63,12 +63,13 @@ class MainWindow(QMainWindow):
self.setWindowIcon(QIcon("PyLoT.ico")) self.setWindowIcon(QIcon("PyLoT.ico"))
xlab = 'time since {0}'.format() xlab = 'time since {0}'.format()
plottitle = self._getCurrentPlotType()
# create central matplotlib figure widget # create central matplotlib figure widget
self.DataPlot = MPLWidget(parent=self, self.DataPlot = MPLWidget(parent=self,
xlabel=xlab, xlabel=xlab,
ylabel=ylab, ylabel=None,
title=eventtitle) title=plottitle)
filterDockWidget = FilterOptionsDock(titleString="Filter Options", filterDockWidget = FilterOptionsDock(titleString="Filter Options",
parent=self, parent=self,
@ -90,7 +91,7 @@ class MainWindow(QMainWindow):
maingrid.setCentralWidget(self.DataPlot) maingrid.setCentralWidget(self.DataPlot)
def plotData(self): def plotData(self):
pass self.data.plotData(self.DataPlot)
def updateFilterOptions(self): def updateFilterOptions(self):
self.filteroptions = [self.filterOptionsP self.filteroptions = [self.filterOptionsP