Skip to main content

Interactive visualization in Python

Project description

VisPy: interactive scientific visualization in Python

Main website:

Build Status Appveyor Status Coverage Status Zenodo Link

VisPy is a high-performance interactive 2D/3D data visualization library. VisPy leverages the computational power of modern Graphics Processing Units (GPUs) through the OpenGL library to display very large datasets. Applications of VisPy include:

  • High-quality interactive scientific plots with millions of points.

  • Direct visualization of real-time data.

  • Fast interactive visualization of 3D models (meshes, volume rendering).

  • OpenGL visualization demos.

  • Scientific GUIs with fast, scalable visualization widgets (Qt or IPython notebook with WebGL).


  • Release! Version 0.6.4, December 13, 2019

  • Release! Version 0.6.3, November 27, 2019

  • Release! Version 0.6.2, November 4, 2019

  • Release! Version 0.6.1, July 28, 2019

  • Release! Version 0.6.0, July 11, 2019

  • Release! Version 0.5.3, March 28, 2018

  • Release! Version 0.5.2, December 11, 2017

  • Release! Version 0.5.1, November 4, 2017

  • Release! Version 0.5, October 24, 2017

  • Release! Version 0.4, May 22, 2015

  • VisPy tutorial in the IPython Cookbook

  • Release! Version 0.3, August 29, 2014

  • EuroSciPy 2014: talk at Saturday 30, and sprint at Sunday 31, August 2014

  • Article in Linux Magazine, French Edition, July 2014

  • GSoC 2014: two GSoC students are currently working on VisPy under the PSF umbrella

  • Release!, Version 0.2.1 04-11-2013

  • Presentation at BI forum, Budapest, 6 November 2013

  • Presentation at Euroscipy, Belgium, August 2013

  • EuroSciPy Sprint, Belgium, August 2013

  • Release! Version 0.1.0 14-08-2013

Using VisPy

VisPy is a young library under heavy development at this time. It targets two categories of users:

  1. Users knowing OpenGL, or willing to learn OpenGL, who want to create beautiful and fast interactive 2D/3D visualizations in Python as easily as possible.

  2. Scientists without any knowledge of OpenGL, who are seeking a high-level, high-performance plotting toolkit.

If you’re in the first category, you can already start using VisPy. VisPy offers a Pythonic, NumPy-aware, user-friendly interface for OpenGL ES 2.0 called gloo. You can focus on writing your GLSL code instead of dealing with the complicated OpenGL API - VisPy takes care of that automatically for you.

If you’re in the second category, we’re starting to build experimental high-level plotting interfaces. Notably, VisPy now ships a very basic and experimental OpenGL backend for matplotlib.


VisPy runs on Python 2.7+ and Python 3.3+ and depends on NumPy. You also need a backend (PyQt4/PySide, PyQt5/PySide2, glfw, pyglet, SDL, or wx).

PyQt5/PySide2 should be considered more experimental than PyQt4/PySide.

VisPy can be installed either via pip:

` pip install vispy `

or within the Anaconda Python distribution. Anaconda provides a convenient package management system. Installing VisPy can then easily be achieved by adding conda-forge to the channels with:

` conda config --add channels conda-forge `

Once the conda-forge channel has been enabled, vispy can be installed with:

` conda install vispy `

Development Installation

As VisPy is under heavy development at this time, we highly recommend developers to use the development version on Github (master branch). You need to clone the repository and install VisPy with python install.

As a one-liner, assuming git is installed:

git clone --recurse-submodules && cd vispy && python install --user

This will automatically install the latest version of vispy.

If you already have vispy cloned, you may need to update the git submodules to make sure you have the newest code:

git pull
git submodule update --init --recursive

Structure of VisPy

Currently, the main subpackages are:

  • app: integrates an event system and offers a unified interface on top of many window backends (Qt4, wx, glfw, IPython notebook with/without WebGL, and others). Relatively stable API.

  • gloo: a Pythonic, object-oriented interface to OpenGL. Relatively stable API.

  • scene: this is the system underlying our upcoming high level visualization interfaces. Under heavy development and still experimental, it contains several modules.

    • Visuals are graphical abstractions representing 2D shapes, 3D meshes, text, etc.

    • Transforms implement 2D/3D transformations implemented on both CPU and GPU.

    • Shaders implements a shader composition system for plumbing together snippets of GLSL code.

    • The scene graph tracks all objects within a transformation graph.

  • plot: high-level plotting interfaces.

The API of all public interfaces are subject to change in the future, although app and gloo are relatively stable at this point.


VisPy began when four developers with their own visualization libraries decided to team up: Luke Campagnola with PyQtGraph, Almar Klein with Visvis, Cyrille Rossant with Galry, Nicolas Rougier with Glumpy.

Now VisPy looks to build on the expertise of these developers and the broader open-source community to build a high-performance OpenGL library.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vispy-0.6.4.tar.gz (13.3 MB view hashes)

Uploaded Source

Built Distributions

vispy-0.6.4-cp37-cp37m-win_amd64.whl (2.3 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

vispy-0.6.4-cp37-cp37m-win32.whl (2.2 MB view hashes)

Uploaded CPython 3.7m Windows x86

vispy-0.6.4-cp37-cp37m-manylinux2010_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

vispy-0.6.4-cp37-cp37m-manylinux2010_i686.whl (2.3 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686

vispy-0.6.4-cp37-cp37m-manylinux1_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.7m

vispy-0.6.4-cp37-cp37m-manylinux1_i686.whl (2.3 MB view hashes)

Uploaded CPython 3.7m

vispy-0.6.4-cp37-cp37m-macosx_10_6_intel.whl (2.3 MB view hashes)

Uploaded CPython 3.7m macOS 10.6+ intel

vispy-0.6.4-cp36-cp36m-win_amd64.whl (2.3 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

vispy-0.6.4-cp36-cp36m-win32.whl (2.2 MB view hashes)

Uploaded CPython 3.6m Windows x86

vispy-0.6.4-cp36-cp36m-manylinux2010_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

vispy-0.6.4-cp36-cp36m-manylinux2010_i686.whl (2.3 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686

vispy-0.6.4-cp36-cp36m-manylinux1_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.6m

vispy-0.6.4-cp36-cp36m-manylinux1_i686.whl (2.3 MB view hashes)

Uploaded CPython 3.6m

vispy-0.6.4-cp36-cp36m-macosx_10_6_intel.whl (2.3 MB view hashes)

Uploaded CPython 3.6m macOS 10.6+ intel

vispy-0.6.4-cp35-cp35m-win_amd64.whl (2.3 MB view hashes)

Uploaded CPython 3.5m Windows x86-64

vispy-0.6.4-cp35-cp35m-win32.whl (2.2 MB view hashes)

Uploaded CPython 3.5m Windows x86

vispy-0.6.4-cp35-cp35m-manylinux2010_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

vispy-0.6.4-cp35-cp35m-manylinux2010_i686.whl (2.3 MB view hashes)

Uploaded CPython 3.5m manylinux: glibc 2.12+ i686

vispy-0.6.4-cp35-cp35m-manylinux1_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.5m

vispy-0.6.4-cp35-cp35m-manylinux1_i686.whl (2.3 MB view hashes)

Uploaded CPython 3.5m

vispy-0.6.4-cp35-cp35m-macosx_10_6_intel.whl (2.3 MB view hashes)

Uploaded CPython 3.5m macOS 10.6+ intel

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page