Most PCs made in the past decade are compatible with OpenGL, enabling extremely fast 2D and 3D animation–including from Python. You DON’T have to learn OpenGL at all to make interesting 3-D plots from Numpy arrays. VisPy has a Matplotlib-like interface as well as an advanced interface to OpenGL from Python.
However, the Matplotlib-like interface of Mayavi is more stable and reliable at this time.
pip install pyqt5 pytest
pip install vispy
Note, even if
vispy.test() fails (maybe due to outdated test code), you might very well still find VisPy working.
git clone https://github.com/vispy/vispy cd vispy/examples/demo/gloo python fireworks.py