---
matplotlib extension for vaporwave aesthetics
---
## install
```
pip install vapeplot
```
---
## demo
#### view all palettes
```
import vapeplot
%matplotlib inline
vapeplot.available()
```

try `from vapeplot import vapeplot` if the above commands failed
#### view specific palettes
```
vapeplot.view_palette("cool",'sunset')
```

#### set the color palette
```
import numpy as np
import matplotlib.pyplot as plt
vapeplot.set_palette('vaporwave')
for i in range(10):
plt.plot(range(100),np.random.normal(i,1,100))
vapeplot.despine(plt.axes()) # remove right and top axes
```

#### make a colormap
```
cmap = vapeplot.cmap('crystal_pepsi')
A = np.random.rand(25, 25)
plt.imshow(A,cmap=cmap)
vapeplot.despine(plt.axes(),True) # remove all axes
plt.show()
```

#### access a palette
```
# cool is a list of colors
cool = vapeplot.palette("cool")
# reverse the order of colors
seapunk_r = vapeplot.reverse("seapunk")
```
---
## examples
plots produced with [seaborn tutorials](https://seaborn.pydata.org/examples/index.html)
set the palette with vapeplot
```
pal = sns.blend_palette(vapeplot.palette(palname))
g = sns.FacetGrid(df, row="g",hue="g", palette=pal)
```
### cool


### crystal_pepsi


### jazzcup


### macplus


### mallsoft


### seapunk


### sunset


### vaporwave


Contributer palettes, submit your pull request!
### avanti [by mike-u](https://github.com/mike-u)


---
## api
* `vapeplot.available(show=True)`
* function to plot all vapeplot palettes
* `show=False` prints palette names
* `vapeplot.cmap(palname)`
* returns a colormap object
* `palname` is the name of the color palette
* `vapeplot.despine(ax,all=False)`
* removes figure axes
* default action: remove right and top axes
* `all=True` removes all axes
* `vapeplot.font_size(s)`
* change the font size globally
* `vapeplot.palette(palname)`
* returns a list of colors
* if no `palname` is given, a dict of all the palettes is returned
* `vapeplot.reverse(palname)`
* returns a list of colors in reverse
* `vapeplot.set_palette(palname)`
* change the color palette globally
* `vapeplot.view_palette(*args)`
* view individual palettes
* arguments: one or more palette names
---
## more to come :wink:
Metadata
Release files for vapeplot 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vapeplot-0.0.8.tar.gz | 12.7 kB | Without provenance | Details for vapeplot-0.0.8.tar.gz |
Release files / vapeplot-0.0.8.tar.gz
| Download URL | vapeplot-0.0.8.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50cda617664f69873e459d82eeef72a43f7511a6397bc1b6411199645239a4f2
|
|
BLAKE2b-256 checksum How to use checksums |
c200e23e04f686d950f55bbda9502d54e437a3b0cbc7c74f6bcaaae0765bc1cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.10.0 pkginfo/1.4.1 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.15
|
Security for vapeplot 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.