def fixed_do_autoscale_image(self, *args, **kwargs): ImagePlot.old_do_autoscale(self, *args, **kwargs) if old_guiqwt: self.emit(SIG_PLOT_AXIS_CHANGED, self) else: self.SIG_PLOT_AXIS_CHANGED.emit(self)
def fixed_do_autoscale_image(self, *args, **kwargs): ImagePlot.old_do_autoscale(self, *args, **kwargs) self.emit(SIG_PLOT_AXIS_CHANGED, self)