Skip to content

ljwolf/wampl

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

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

About

Another Wes Anderson palette implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published