def __init__(self, logger, width=300, height=300, dpi=100): PlotBase.__init__(self, logger, FigureCanvas, width=width, height=height, dpi=dpi)
def __init__(self, logger, width=300, height=300, dpi=100): PlotBase.__init__(self, logger, FigureCanvas, width=width, height=height, dpi=dpi) self.canvas.set_size_request(width * dpi, height * dpi) self.canvas.show_all()