Practice 1
import matplotlib.pyplot as plt
days = [1,2,3,4,5]
sleeping = [7,8,7,9,7]
eating = [1,2,4,3,3]
working = [7,8,9,10,7]
playing = [5,7,8,10,3]
plt.plot([],[],color = 'c',label = 'sleeping')
plt.plot([],[],color = 'm',label = 'eating')
plt.plot([],[],color = 'r',label = 'working')
plt.plot([],[],color = 'b',label = 'playing')
plt.stackplot(days,sleeping,eating,working,playing,colors=['c','m','r','b',])
plt.xlabel('x')
plt.ylabel('y')
plt.title('Interesting Graph\nCheck it out')
plt.legend()
plt.show()