I\'m using PyQt5 to build up a user interface to show up data from "curve_fit" method.
As the data which I\'m working can have discontinuities, my return from t
You have to use the draw() method of the canvas to update the painting:
draw()
def changePlot(self): # ... self.static_ax2.plot(x2_test, error_y) self.static_ax2.plot(x2_test, zero_y) self.static_canvas1.draw() self.static_canvas2.draw()