How to install VisPy OpenGL for Python

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.

  1. VisPy Prereq
   python -m pip install pyqt5 pytest
  1. Install Vispy
   python -m pip install vispy

Even if vispy.test() fails (maybe due to outdated test code), you might very well still find VisPy working. 3. VisPy Examples

   git clone

   cd vispy/examples/demo/gloo