some changes in dataPlot resizing/height adjustments

This commit is contained in:
2017-05-29 16:21:36 +02:00
parent 5115705c4e
commit 41a870d720
3 changed files with 28 additions and 17 deletions

View File

@@ -1 +1 @@
cb91-dirty
5115-dirty

View File

@@ -405,13 +405,11 @@ class WaveformWidget(FigureCanvas):
self.plotdict = dict()
# create axes
self.axes = self.figure.add_subplot(111)
# clear axes each time plot is called
self.axes.hold(True)
# initialize super class
super(WaveformWidget, self).__init__(self.figure)
# add an cursor for station selection
self.multiCursor = MultiCursor(self.figure.canvas, (self.axes,),
horizOn=True,
horizOn=True, useblit=True,
color='m', lw=1)
# update labels of the entire widget
self.updateWidget(xlabel, ylabel, title)