Skip to main content

Geometry and visualization tools for collections of particles

Project description

PyPI ReadTheDocs CircleCI Binder

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


Download files

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

Source Distribution

plato-draw-1.11.0.tar.gz (95.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plato_draw-1.11.0-py3-none-any.whl (126.2 kB view details)

Uploaded Python 3

File details

Details for the file plato-draw-1.11.0.tar.gz.

File metadata

  • Download URL: plato-draw-1.11.0.tar.gz
  • Upload date:
  • Size: 95.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.3

File hashes

Hashes for plato-draw-1.11.0.tar.gz
Algorithm Hash digest
SHA256 2f12450fd7496e3525dd24f69ed918afb893d05c7005dc0e0be068372a1f9014
MD5 410baec4f384b4c8504390c4c81dfdad
BLAKE2b-256 ba02b686ea15ac3b97b432c8c871f80cb269ff808aca2fbc5bab5d9d161439c9

See more details on using hashes here.

File details

Details for the file plato_draw-1.11.0-py3-none-any.whl.

File metadata

  • Download URL: plato_draw-1.11.0-py3-none-any.whl
  • Upload date:
  • Size: 126.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.3

File hashes

Hashes for plato_draw-1.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8af69529ba72a1126310e08f30f618fe0bf55520c6fb04979d365afa82f3b025
MD5 56761a6fb102e3bd85ac7230dae3ecee
BLAKE2b-256 341948ca0f7b9d88c075581ae78c0731e1ca3d65a53be3d2a744fa9f4c4ba5c0

See more details on using hashes here.

Supported by

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