[minor] tight_layout for waveformwidget figure

This commit is contained in:
Marcel Paffrath 2017-07-18 16:17:04 +02:00
parent d21afcf31a
commit 548c863f10
2 changed files with 6 additions and 2 deletions

View File

@ -1 +1 @@
be58-dirty
d21a-dirty

View File

@ -600,7 +600,11 @@ class WaveformWidget(FigureCanvas):
color='m', lw=1)
# update labels of the entire widget
self.updateWidget(xlabel, ylabel, title)
try:
self.figure.tight_layout()
except:
pass
def getPlotDict(self):
return self.plotdict