News

Logarithmic Scale It is possible to set a logarithmic scale for one or both axes. This functionality is in fact only one application of a more general transformation system in Matplotlib. Each of the ...
I suspect the problem is that matplotlib needs constant-length arrays to plot two on the same plot. For each 'tick' of the animate function it will need to know what value to write for that instant.
You'll also need to use this line to see plots in the notebook: %matplotlib inline That line is only for jupyter notebooks, if you are using another editor, you'll use: plt.show() at the end of all ...