Skip to main content

CI DOI

Visvis - the object oriented approach to visualization

Visvis is a pure Python library for visualization of 1D to 4D data in an object oriented way. Essentially, visvis is an object oriented layer of Python on top of OpenGl, thereby combining the power of OpenGl with the usability of Python. A Matlab/Matplotlib-like interface in the form of a set of functions allows easy creation of objects (e.g. plot(), imshow(), volshow(), surf()).

Status

Visvis has been relatively stable for several years. I am still maintaining it trying to make sure it keeps working, but do not plan on making any major changes. Visvis will not make use of modern OpenGL. It's API might be a bit idosyncratic (e.g. methods are UpperCamelCase) because I started working on Visvis before I knew about PEP8.

See Vispy for a similar (but more modern) visualization library.

I am now working on PyGfx, which is better in almost every way. A bit lower level though, but people are starting to build higher level API's on top of it ...

Installation

Visvis is cross-platform and runs on Python 2.x and Python 3.x. It depends on numpy, pyopengl.

Installation is best done via pip (pip install visvis) or conda (conda install visvis).

You also need a GUI backend, either of these will do:

  • GLFW -> recommended, runs on asyncio, install using pip install glfw
  • Qt: PySide6, Pyside2, Pyside, PyQt5, or PyQt4
  • Wx
  • GTK
  • FLTK

How visvis works

With visvis a range of different data can be visualized by simply adding world objects to a scene (i.e. an axes). These world objects can be anything from plots (lines with markers), to images, 3D rendered volumes, shaded meshes, or you can program your own world object class. If required, these data can also be moved in time.

Example

Click on the figure to see the code and how one can interact with the figure.

Documentation

The docs are on the wiki. Online documentation is available for all classes and functions. Any questions can be asked in the visvis discussion group.

At EuroScipy 2012, I gave a talk about Visvis. The long version of the presentation can be seen here.

License

Visvis makes use of the liberal BSD license. See license.txt for details.

Metadata

Release files for visvis 1.15.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for visvis 1.15.0
File Size Uploaded
visvis-1.15.0.tar.gz 4.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for visvis 1.15.0
File Interpreter ABI Platform
visvis-1.15.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 9.7 MB

Release files / visvis-1.15.0.tar.gz

Download URL visvis-1.15.0.tar.gz
Size 4.8 MB
Tags Source
SHA-256 checksum
How to use checksums
aa013c62ea54ae4d170096e1fced7c3697b1d05c2fe6b38e822af0a986422a39
BLAKE2b-256 checksum
How to use checksums
4fa39b438a534934c45861c01f8333f897c7679270f779af8b773cb9618c02e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Release files / visvis-1.15.0-py2.py3-none-any.whl

Download URL visvis-1.15.0-py2.py3-none-any.whl
Size 4.9 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ca884b5e025ca1565a91de310d473d08deae9428bc654ff459ff554c03322168
BLAKE2b-256 checksum
How to use checksums
93717432d9b5c385e586591dc94dff00a9829e3f5a92415e5179405f079f4340
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Release history Release notifications | RSS feed

This release

1.15.0 This release

2 release files

1.14.0

2 release files

1.13.0

1 release file

1.12.4

1 release file

1.12.3

1 release file

1.12.2

1 release file

1.12.1

1 release file

1.12.0

1 release file

1.11.3

1 release file

1.11.2

1 release file

1.11.1

1 release file

1.10.0

1 release file

1.9.4

1 release file

1.9.3

1 release file

1.9.2

1 release file

1.9.1

1 release file

1.9

1 release file

1.8

3 release files

1.7

2 release files

1.6

1.5

1.4

1.3.1

1.3

1.2

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page