Matplotlib Tutorials 5 - Stack plots
Practice 1import matplotlib.pyplot as pltdays = [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(