bugfix: avoid empty parts of the data display
This commit is contained in:
parent
abbe9cb2c4
commit
cdb8af56b3
@ -52,6 +52,7 @@ class MPLWidget(FigureCanvas):
|
|||||||
self.figure = Figure()
|
self.figure = Figure()
|
||||||
self.canvas = FigureCanvas(self.figure)
|
self.canvas = FigureCanvas(self.figure)
|
||||||
self.axes = self.figure.add_subplot(111)
|
self.axes = self.figure.add_subplot(111)
|
||||||
|
self.axes.autoscale(tight=True)
|
||||||
|
|
||||||
self.updateWidget(xlabel, ylabel, title)
|
self.updateWidget(xlabel, ylabel, title)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user