I am trying to fix how python plots my data. Say x = [0,5,9,10,15] and y = [0,1,2,3,4] Then I would do: matplotlib.pyplot.…