Skip to content
master
Switch branches/tags
Go to file
Code
This branch is 21 commits behind carbonplan:main.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

carbonplan / styles

plot styles for matplotlib and altair

GitHub Build Status MIT License

A collection of plotting styles for Matplotlib and Altair.

Try it out on Binder: Binder

install

pip 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 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.

About

No description, website, or topics provided.

Resources

License

Packages

No packages published

Languages