**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
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共15个文件
txt:4个
py:3个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:wes-0.1.5.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
wes-0.1.5.tar.gz (15个子文件)
wes-0.1.5
MANIFEST.in 61B
PKG-INFO 274B
setup.cfg 59B
setup.py 430B
demo.ipynb 377KB
wes.egg-info
PKG-INFO 274B
requires.txt 11B
not-zip-safe 1B
SOURCES.txt 245B
top_level.txt 4B
dependency_links.txt 1B
README.md 1KB
wes
_lib.py 3KB
colors.json 1KB
__init__.py 65B
共 15 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功