Hello,
I don’t have a strong understanding of how Plots work, but as far as I know, it serves as an API that uses backend plotting systems, like matplotlib or gr. This allows the user to use similar (if not identical) syntax between different backends. Hopefully my understanding here is correct, but I’d appreciate any corrections!
Based on this, I would like to use the streamplot
function from the PyPlot backend inside Plots.
Is this doable?
I have tried to test it like this:
using Plots
pyplot()
streamplot()
but I simply get an error message saying:
UndefVarError: streamplot not defined
Is the streamplot
function not present when using PyPlot
as backend? Or if it is, how do I use it?
I know that I could be using directly the PyPlot
package without going through Plots
, but the reason why I prefer to stick with Plots
is because it has a very convenient interface to generate GIFs (with the @animate
macro).
Any help or clarification would be appreciated!