Hi I am trying to make a graph to display some data, my issue is I want the x-axis to have years value
df6=df6["percent"]
list = df6.values.tolist()
import matplotlib.pyplot as plt
plt.plot(list)
plt.show()
I get the graph 
But I want the graph to be like this
Please Help!