# Yerkes
**Interactive color palettes in Altair**
[](https://pypi.python.org/pypi/yerkes)
[](https://travis-ci.org/zsailer/yerkes)
[](https://yerkes.readthedocs.io/en/latest/?badge=latest)
* Free software: MIT license
* Documentation: https://yerkes.readthedocs.io.
Visualize color palettes interactively in Altair!.

## How to use.
The simplest use case is to pass the palette a list of colors.
1. Import `NewPalette` from Yerkes.
2. Pass a list of color-hex codes to `NewPalette`.
```python
from yerkes import NewPalette
colors = [
'#FCFFA4',
'#F6D746',
'#FCA50A',
'#F3761B',
]
NewPalette(colors)
```

You can also try exploring palettes from [palettable](https://jiffyclub.github.io/palettable/).
```python
# Import palette
from yerkes import NewPalette
# Import a palette from palettable.
from palettable.colorbrewer.diverging import RdGy_10 as palette
# Show interactive palette
NewPalette(palette.hex_colors)
```

## Install
Install from PyPI.
```
pip install yerkes
```
## Credits
This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [audreyr/cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage) project template.
=======
History
=======
0.1.0 (2018-07-18)
------------------
* First release on PyPI.
**Interactive color palettes in Altair**
[](https://pypi.python.org/pypi/yerkes)
[](https://travis-ci.org/zsailer/yerkes)
[](https://yerkes.readthedocs.io/en/latest/?badge=latest)
* Free software: MIT license
* Documentation: https://yerkes.readthedocs.io.
Visualize color palettes interactively in Altair!.

## How to use.
The simplest use case is to pass the palette a list of colors.
1. Import `NewPalette` from Yerkes.
2. Pass a list of color-hex codes to `NewPalette`.
```python
from yerkes import NewPalette
colors = [
'#FCFFA4',
'#F6D746',
'#FCA50A',
'#F3761B',
]
NewPalette(colors)
```

You can also try exploring palettes from [palettable](https://jiffyclub.github.io/palettable/).
```python
# Import palette
from yerkes import NewPalette
# Import a palette from palettable.
from palettable.colorbrewer.diverging import RdGy_10 as palette
# Show interactive palette
NewPalette(palette.hex_colors)
```

## Install
Install from PyPI.
```
pip install yerkes
```
## Credits
This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [audreyr/cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage) project template.
=======
History
=======
0.1.0 (2018-07-18)
------------------
* First release on PyPI.
Metadata
Release files for yerkes 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yerkes-0.1.1.tar.gz | 472.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yerkes-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 476.5 kB
Release files / yerkes-0.1.1.tar.gz
| Download URL | yerkes-0.1.1.tar.gz |
|---|---|
| Size | 472.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e2ef773563aa7c7ad064f4fdb82f2af2943253bf878cdf2aa7c18392766b84c
|
|
BLAKE2b-256 checksum How to use checksums |
6b9678416484534b40f2593c29f53119c18d710ac513df1e92f91f192e1f0e82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / yerkes-0.1.1-py2.py3-none-any.whl
| Download URL | yerkes-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0abcf9502e2b49ecb3f811bafc1173c4d723b07ca0c7d8b1bd320de5bfde8891
|
|
BLAKE2b-256 checksum How to use checksums |
8c49254c579c68cf80c968cc2f2955b4398cef48e831294cce92ef25c3d387d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |