Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Use Wes Anderson Color Palettes in Matplotlib & Seaborn

Project description

**W**es **A**nderson **M**at**P**lot**L**ib Palettes
====================================================================
aka `wes`
----------

[![Build Status](https://travis-ci.org/ljwolf/wampl.svg?branch=master)](https://travis-ci.org/ljwolf/wampl)

This is another [Wes Anderson Palettes](http://wesandersonpalettes.tumblr.com/)
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](https://github.com/jiffyclub/palettable).

Check out the [demo notebook](http://nbviewer.ipython.org/github/ljwolf/wampl/blob/master/demo.ipynb) 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](http://stanford.edu/~mwaskom/software/seaborn/). Just remember to set
your palette **after** importing seaborn, as seaborn overwrites matplotlib's
[`rcdefaults`](http://matplotlib.org/users/customizing.html)

License
--------

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

Project details


Release history Release notifications

This version
History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
wes-0.1.5.tar.gz (290.8 kB) Copy SHA256 hash SHA256 Source None Aug 28, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page