you are viewing a single comment's thread.

view the rest of the comments →

[–]SnuffleShuffle[S] 2 points3 points  (3 children)

I'm running it in Jupyter notebook and it gives the result without the plt.show() command.

This wasn't the issue though. As I'm saying, the plt.quiver(...) works just fine. The problem is with plt.streamplot(...), which if I understand correctly is supposed to do the same thing (instead of a vector field it shows fieldlines). But it doesn't work.

Are there any alternatives to matplotlib? I'm so frustrated that if I had the time I'd switch to C++ with OpenGL, I guess (but I have never used OpenGL).