import numpy as npimport pylab as pldates=['20170314','20170315','20170316','20170317','20170318','20170319']x = range(len(dates))y = [1974786,3502609,3824524,2046503,5623141]y.append(5505794)pl.plot(x,y,'ro-')pl.xticks(x, dates, rotation=45)pl.margi…