A type safe and backend independent plotting library for Python.
Project description
whitecanvas
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
Rain-cloud plot in matplotlib
Super plot in matplotlib
Joint plot in matplotlib
Heatmap with text in pyqtgraph
Curve fitting in bokeh
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 whitecanvas-0.3.3.tar.gz
.
File metadata
- Download URL: whitecanvas-0.3.3.tar.gz
- Upload date:
- Size: 669.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a757bb8b1e26939f67464d69f52c9405801c1fca7f454a7c247484f78cbb20 |
|
MD5 | c7b4725b6a18cb8fce4e9052eea26971 |
|
BLAKE2b-256 | 5b7aff7e0f000706655343a480d9a7d9879b9cc50a0797967ee36e18828427d9 |
File details
Details for the file whitecanvas-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: whitecanvas-0.3.3-py3-none-any.whl
- Upload date:
- Size: 350.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce9d2e3b21e349beccfff7dd548d660cb4dc15c4c855437ac5499b29a1a753a5 |
|
MD5 | c7c1d781bb8e3465c4289b2d29b49f9e |
|
BLAKE2b-256 | 25351401786dfaabe6fbfad4cb180e6ca0ebe0005ed89c78dd48c08ff2b0f6b5 |