Skip to content

ljwolf/wampl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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