CarbonPlan plotting styles
Project description
carbonplan / styles
plot styles for matplotlib and altair
A collection of plotting styles for Matplotlib and Altair.
install
pip carbonplan[styles]
usage
There are currently two separate styles/themes available in this package:
carbonplan_dark
: black background, lighter colorscarbonplan_light
: white background, darker colors
Both styels/themes are automatically made available in Matplotlib and Altair.
matplotlib
from carbonplan import styles
styles.mpl.set_theme(style='carbonplan_dark')
Note: The install of this package adds Matplotlib style sheets to ~/.config/matplotlib
. This will only happen once and future updates will need to be done manually.
altair
import altair as alt
alt.themes.enable('carbonplan_dark')
license
All the code in this repository is MIT licensed. We include attribution for this content, and we please request that you also maintain that attribution if using this data.
about us
CarbonPlan is a non-profit organization that uses data and science for carbon removal. We aim to improve the transparency and scientific integrity of carbon removal and climate solutions through open data and tools. Find out more at carbonplan.org or get in touch by opening an issue or sending us an email.
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
Built Distribution
Hashes for carbonplan_styles-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa5cec37d73338d77e4b4f320dc777e8935ee08b93304ce8282644515985ce7c |
|
MD5 | 3e0faf936b9c158e9c64825ef09305f5 |
|
BLAKE2b-256 | 3231163c07013b2fa5be36b1627ebc19b7fa64307963193ec2f67eaf45a1d8e8 |