import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
y = np.random.randint(100, size=20)
y
p2i = lambda x: x/96
fig = plt.figure()
fig.set_size_inches(p2i(160),p2i(40))
maxval = 100
layers = 4
color = "#f5222d"
for i in range(layers):
plt.fill_between(range(len(y)), y-(maxval/layers)*i, alpha=0.3+i/10, color=color)
plt.axis('off')
plt.xlim(0,len(y)-1)
plt.ylim(min(y),maxval/layers)