matplotlib extension for vaporwave aesthetics
matplotlib extension for vaporwave aesthetics
pip install vapeplot
import vapeplot
%matplotlib inline
vapeplot.available()
try from vapeplot import vapeplot
if the above commands failed
vapeplot.view_palette("cool",'sunset')
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
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()
# cool is a list of colors
cool = vapeplot.palette("cool")
# reverse the order of colors
seapunk_r = vapeplot.reverse("seapunk")
plots produced with seaborn tutorials
set the palette with vapeplot
pal = sns.blend_palette(vapeplot.palette(palname))
g = sns.FacetGrid(df, row="g",hue="g", palette=pal)
Contributer palettes, submit your pull request!
vapeplot.available(show=True)
show=False
prints palette namesvapeplot.cmap(palname)
palname
is the name of the color palettevapeplot.despine(ax,all=False)
all=True
removes all axesvapeplot.font_size(s)
vapeplot.palette(palname)
palname
is given, a dict of all the palettes is returnedvapeplot.reverse(palname)
vapeplot.set_palette(palname)
vapeplot.view_palette(*args)