[minor] tight_layout for waveformwidget figure
This commit is contained in:
parent
d21afcf31a
commit
548c863f10
@ -1 +1 @@
|
|||||||
be58-dirty
|
d21a-dirty
|
||||||
|
@ -600,7 +600,11 @@ class WaveformWidget(FigureCanvas):
|
|||||||
color='m', lw=1)
|
color='m', lw=1)
|
||||||
# update labels of the entire widget
|
# update labels of the entire widget
|
||||||
self.updateWidget(xlabel, ylabel, title)
|
self.updateWidget(xlabel, ylabel, title)
|
||||||
|
try:
|
||||||
|
self.figure.tight_layout()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
def getPlotDict(self):
|
def getPlotDict(self):
|
||||||
return self.plotdict
|
return self.plotdict
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user