bugfix: avoid empty parts of the data display

This commit is contained in:
Sebastian Wehling-Benatelli 2015-02-18 15:35:12 +01:00
parent abbe9cb2c4
commit cdb8af56b3

View File

@ -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)