| 4 | import matplotlib.pyplot as plt |
| 5 | |
| 6 | class TechWidget(TechMPlot, FigureCanvasQTAgg): |
| 7 | def __init__(self, parent=None, *args): |
| 8 | self.fig = plt.figure() |
| 9 | FigureCanvasQTAgg.__init__(self, self.fig) |
| 10 | TechMPlot.__init__(self, self.fig, *args) |
| 11 | self.setParent(parent) |