From 8acd84976eaaa598e7219175ca9a1bc29b63c64f Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Mon, 16 Feb 2015 10:31:25 +0100 Subject: [PATCH] optimization of the codes outer appearance --- QtPyLoT.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index 718b38b3..202460ca 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -110,10 +110,8 @@ class MainWindow(QMainWindow): plottitle = "Overview: {0} components ".format(self.getComponent()) - # create central matplotlib figure widget - self.DataPlot = MPLWidget(parent=self, - xlabel=xlab, - ylabel=None, + # create central matplotlib figure canvas widget + self.DataPlot = MPLWidget(parent=self, xlabel=xlab, ylabel=None, title=plottitle) statsButtons = layoutStationButtons(self.getData(), self.getComponent()) _layout.addLayout(statsButtons) @@ -297,7 +295,8 @@ class MainWindow(QMainWindow): if self.dataStructure: searchPath = self.dataStructure.expandDataPath() fnames, = QFileDialog.getOpenFileNames(self, - "Select waveform files:", + "Select waveform " + "files:", dir=searchPath) self.fnames = fnames