matplotlib style OO bindings for altair
Project description
altplotlib provides matplotlib-style object oriented bindings to altair.
Description
Create high quality altair plots using more familiar calls.
import altplotlib
import numpy as np
rng = np.random.default_rng(seed=42)
n_points, n_series = 100, 5
multiple = rng.normal(size=(n_points, n_series)).cumsum(axis=0)
x = np.linspace(0, 14, n_points)
axis = altplotlib.AltairAxis()
axis.plot(multiple[:, :3])
axis.set_title("Hello, world!")
axis.set_xlabel("This is my x-axis")
axis.set_ylabel("This is my y-axis")
axis.plot(multiple[:, 3], c="xkcd:rust")
axis.plot(multiple[:, 4], c="tab:cyan")
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for altplotlib-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3365766081e5f99f713d491b2dc7d0687d76126cab7ee49e7c540aa92738887e |
|
MD5 | 8d0f3f56675f36c6d029d2774ecbd230 |
|
BLAKE2b-256 | 7c79a8c0ea050afca29fa66ce057dab3dd87c3db4e1797d2a5040c1e707cc0d0 |