r/Python • • Jul 27 '19

Simulating Quantum Mechanics Using Matplotlib and Tkinter

https://gfycat.com/wellgroomedunsteadyballoonfish
1.4k Upvotes

60 comments sorted by

View all comments

21

u/Rouge_Dragon Jul 28 '19

The level of interactivity you have made is quite something. I'm quite surprised by matplotlibs ability to update the plot so quickly, I thought people usually used other opengl kind of things for continuously updating plots and stuff.

4

u/[deleted] Jul 28 '19

I wondered the same thing. I've avoided interactive animations with matplotlib for this reason and used bokeh instead, which was a semi-good idea :)

1

u/some_boi_569348 Jul 29 '19

Ipywidgets & the jupyter/matplotlib back-end in ipython notebooks makes animated plots much easier than it used to be!!

I'm still struggling to find a simple solution to dealing with plotting millions of points....