(self, parent=None, width=15, height=5, dpi=100)
| 40 | """ |
| 41 | |
| 42 | def __init__(self, parent=None, width=15, height=5, dpi=100): |
| 43 | self.fig = Figure(figsize=(width, height), dpi=dpi) |
| 44 | FigureCanvasQTAgg.__init__(self, self.fig) |
| 45 | self.setParent(parent) |
| 46 | self.axes2D = self.fig.add_subplot(111) |
| 47 | FigureCanvasQTAgg.updateGeometry(self) |
| 48 | self.axes2D.figure.subplots_adjust(left=0.01, right=0.92, |
| 49 | bottom=0.05, top=0.98) |
| 50 | self.notes = [] |
| 51 | |
| 52 | def plot(self, *args, **kwargs): |
| 53 | self.axes2D.plot(*args, **kwargs) |