my matplotlib realtime plot doesn't show the line between the points

Nicolas Marat nicolas.maratclimb at gmail.com
Tue Mar 31 06:54:27 EDT 2020


sorry that the real piece of code




        self.MplWidget.canvas.axes.set_xlim(left=max(0, self.i-40), right= self.i+60)
        self.MplWidget.canvas.axes.plot(x, y,'.k-')
        self.MplWidget.canvas.axes.set_title('pull')
        self.MplWidget.canvas.draw()


More information about the Python-list mailing list