CarbonPlan plotting styles
Project description
carbonplan / styles
plot styles for matplotlib and altair
A collection of plotting styles for Matplotlib and Altair.
install
pip install 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')
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 climate action. 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.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a8f620bdb985ceee5840ab5470a97fc9a6e115540ae8598b8f4d17fa2c2e0d7 |
|
MD5 | 9353e9d68e182ea419f96fdf91334089 |
|
BLAKE2b-256 | 86ec6a0452c033c0d6ff984faf893560ddb0ccbf1ac058406287ae5d37670938 |