Geometry and visualization tools for collections of particles
Project description
Introduction
Plato is designed for efficient visualization of particle data: collections of particles that may be colored or oriented differently. It fills a similar role as matplotlib, but is less focused on 2D plotting. It supports a variety of backends with different capabilities and use cases, ranging from interactive visualization in the desktop or jupyter notebooks to high-quality, static raytraced and vector images for publication.
Installation
Plato is available on PyPI for installation via pip:
$ pip install plato-draw
You can also install plato from source, like this:
$ git clone https://github.com/glotzerlab/plato.git
$ # now install
$ cd plato && python setup.py install
Note: Depending on which backends you want to use, there may be additional steps required; see the section on interactive backends below.
Using Interactive Backends
Plato supports a number of backends, each with its own set of dependencies. Getting the vispy backend working for both the desktop and jupyter notebook can be tricky. Make sure to check the official vispy documentation. We also keep some advice here regarding particular known-good versions of dependencies for pip and conda.
Documentation
The documentation is available as standard sphinx documentation:
$ cd doc
$ pip install -r requirements.txt
$ make html
Automatically-built documentation is available at https://plato-draw.readthedocs.io .
Examples
Several usage examples are available. Many simple, but less interesting, scenes can be found in the test demo scene script, available as live examples on mybinder.org. Somewhat less transparent examples can be found in the plato-gallery repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file plato-draw-1.12.0.tar.gz
.
File metadata
- Download URL: plato-draw-1.12.0.tar.gz
- Upload date:
- Size: 95.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ae3c25bcbf2b2b06ccff0f54affe5bbc3149de7c61627645361396610c34f9f |
|
MD5 | 9dca279eeed3ebef13f9f5566411287b |
|
BLAKE2b-256 | 81c9c57307bfcfc0d42dd31602a6930fa8547c903d75976826fc5eaf1bd16e36 |
File details
Details for the file plato_draw-1.12.0-py3-none-any.whl
.
File metadata
- Download URL: plato_draw-1.12.0-py3-none-any.whl
- Upload date:
- Size: 127.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3688749ae6323949d2bae570daa8784767c7761b2f7bd0436521477b3c436c28 |
|
MD5 | b2debc5ad087efb0136bfda4fd44605a |
|
BLAKE2b-256 | 13e831a6ea8efb5724c1e6fe0b0ed647816c6983ccf9ecac4b9fd004b77a0341 |