Skip to main content

matplotlib extension for vaporwave aesthetics

Project description

# vapeplot

---

matplotlib extension for vaporwave aesthetics

---

## install

```
pip install https://github.com/dantaki/vapeplot/releases/download/v0.0.1-alpha/vapeplot-0.0.1.tar.gz
```

## demo

```
from vapeplot import vapeplot
import matplotlib.pyplot as plt
%matplotlib inline

vapeplot.font_size(16) # change font size
pal = vapeplot.palettes().vaporwave
for x in range(0,len(pal)):
plt.scatter(x,1,color=pal[x],s=500)
plt.text(x-0.2,0.997,'{}'.format(x))
vapeplot.despine(plt.axes()) # despine figure
plt.show()
```

```
pal = vapeplot.palettes().cool
vapeplot.font_size(20) # change font size
for x in range(0,len(pal)):
plt.scatter(x,1,color=pal[x],s=2500)
plt.text(x-0.1,0.995,'{}'.format(x))
vapeplot.despine(plt.axes()) # despine figure
plt.show()
```

## api

`vapeplot.palettes()`
* Object containing lists of colors
* `vapeplot.palettes().vaporwave`
* extended vaporwave palette
* `vapeplot.palettes().cool`
* cool aesthetics

`vapeplot.despine(ax)`
* removes the top and right axis

`vapeplot.font_size(s)`
* change the font size globally

## more to come :wink:

Project details


Download files

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

Source Distribution

vapeplot-0.0.1.tar.gz (8.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page