Skip to main content

A type safe and backend independent plotting library for Python.

Project description

whitecanvas

PyPI - Version Python package index download statistics codecov PyPI - Python Version

A type safe and backend independent plotting library for Python, aiming at not the simplest, but the tidiest API.

Installation

pip install whitecanvas -U

Project Philosophy

Type safety

All the methods should be designed to have nice signature, and should return the same type of object, so that your program can be statically checked by the IDE.

Backend independency

Every plotting library has their own strength and weakness. Same code should work on different backends, so that you can choose the best one for different purposes.

Currently supported backends are matplotlib, pyqtgraph, vispy, plotly and bokeh. If you want other backends, please feel free to open an issue.

API tidiness

Most of (probably all of) the plotting libraries rely on the large number of arguments to configure the plot elements. They are usually hard to remember, forcing you to look up the documentation every time you want to make a plot.

whitecanvas tries to organize the methods, namespaces and arguments carefully so that you can make any kind of plot only with the help of the IDE's auto-completion and suggestions.

Documentation

Documentation is available here.

Examples

→ Find more examples

Rain-cloud plot in matplotlib

→ source

Super plot in matplotlib

→ source

Joint plot in matplotlib

→ source

Heatmap with text in pyqtgraph

→ source

Curve fitting in bokeh

→ source


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

whitecanvas-0.3.4.tar.gz (672.2 kB view details)

Uploaded Source

Built Distribution

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

whitecanvas-0.3.4-py3-none-any.whl (353.3 kB view details)

Uploaded Python 3

File details

Details for the file whitecanvas-0.3.4.tar.gz.

File metadata

  • Download URL: whitecanvas-0.3.4.tar.gz
  • Upload date:
  • Size: 672.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for whitecanvas-0.3.4.tar.gz
Algorithm Hash digest
SHA256 bf91d6a8c3f03a503f39fcf4d956b489ba495596c82f4d2ec2cbc2f514386baf
MD5 6f95bb372ca787d11a3cae27438ca4aa
BLAKE2b-256 cf8d9c839b273f77a25570205e7325684ef99fc9d7cebf668895c10f8cc8bc3a

See more details on using hashes here.

File details

Details for the file whitecanvas-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: whitecanvas-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 353.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for whitecanvas-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 be59336b9621c4a58725a379fa21d138a919b8e25bf779465cf37d2d54fb2340
MD5 16844b6de36c8bd26ddaa3778cfaa2b7
BLAKE2b-256 1f27c36c6384cb73fa1ff42cd0d2905828a5b46e85f9b7d784e46e2f8c3e7b96

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