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 nonprofit organization that uses data and science for climate action. We aim to improve the transparency and scientific integrity of climate solutions with 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
File details
Details for the file carbonplan_styles-0.5.1.tar.gz
.
File metadata
- Download URL: carbonplan_styles-0.5.1.tar.gz
- Upload date:
- Size: 144.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfce68b291deb112f536d3394ba0965bed3cff3f4341108ec18775599b5f0567 |
|
MD5 | ac9a35e0e872277459876dcfbc674bae |
|
BLAKE2b-256 | 920a1f4011ab7e3f3cc2135fb24685825e091c7d6cb316f3f466aa90510672ea |
Provenance
File details
Details for the file carbonplan_styles-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: carbonplan_styles-0.5.1-py3-none-any.whl
- Upload date:
- Size: 73.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1c9e89d10cd3ec6c836b4fd3e2e309c998357127aab92dffe655cdf0a212a4e |
|
MD5 | aad4afc3704b4a080f77c5440bb2925f |
|
BLAKE2b-256 | 687a7efd210a7595f770c32eb41bd20f2efea63545c724b1fa0b49b417be9b2e |