Skip to main content

CarbonPlan monogram.

carbonplan / styles

plot styles for matplotlib and altair

CI PyPI License: MIT

A collection of plotting styles for Matplotlib and Altair.

Try it out on Binder: Binder

install

pip install "carbonplan[styles]"

usage

There are currently two separate styles/themes available in this package:

  1. carbonplan_dark: black background, lighter colors
  2. carbonplan_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.

Metadata

Release files for carbonplan-styles 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for carbonplan-styles 0.5.1
File Size Uploaded
carbonplan_styles-0.5.1.tar.gz 144.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for carbonplan-styles 0.5.1
File Interpreter ABI Platform
carbonplan_styles-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 217.3 kB

Release files / carbonplan_styles-0.5.1.tar.gz

Download URL carbonplan_styles-0.5.1.tar.gz
Size 144.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dfce68b291deb112f536d3394ba0965bed3cff3f4341108ec18775599b5f0567
BLAKE2b-256 checksum
How to use checksums
920a1f4011ab7e3f3cc2135fb24685825e091c7d6cb316f3f466aa90510672ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / carbonplan_styles-0.5.1-py3-none-any.whl

Download URL carbonplan_styles-0.5.1-py3-none-any.whl
Size 73.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1c9e89d10cd3ec6c836b4fd3e2e309c998357127aab92dffe655cdf0a212a4e
BLAKE2b-256 checksum
How to use checksums
687a7efd210a7595f770c32eb41bd20f2efea63545c724b1fa0b49b417be9b2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page