Matplotlib > Fill plot (basic)

Name
Code
Output
x = [1,2,3,4]
y = [0,1,1,0]
matplotlib.pyplot.fill(x,y)
matplotlib.pyplot.show()

       
           Fill plot (basic)