Skip to content
Another Wes Anderson palette implementation
Jupyter Notebook Python
Branch: master
Clone or download

Latest commit

ljwolf Merge pull request #5 from ljwolf/newcolors
Add new colors & improve plotting
Latest commit a90424a Dec 27, 2019

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
wes
.travis.yml
MANIFEST.in
README.md
demo.ipynb
setup.py

README.md

Wes Anderson MatPlotLib Palettes

aka wes

Build Status

This is another Wes Anderson Palettes implementation. Currnetly, if you set your default pallete, it just modifies the default color cycle to the one provided by the blog. I don't make any classification or useage inferences, unlike jiffyclub's fantastic palettable.

Check out the demo notebook for more information.

Usage

It's about as easy as:

import wes
wes.set_palette('Rushmore')

and then your future plots will use the Rushmore palette. If you'd like to reset your palette, use

import matplotlib
matplotlib.rcdefaults()

Otherwise, you can show all palettes available using wes.available() and can plot two palettes against each other using wes.plot_palettes(*args).

You can also use this with seaborn. Just remember to set your palette after importing seaborn, as seaborn overwrites matplotlib's rcdefaults

License

This is licensed in the Creative Commons for Attribution and ShareAlike purposes. CC-BY-SA

You can’t perform that action at this time.