I am trying to use matplotlib to plot the graph, the x axis of the original graph is too condensed. So I trying to using for loop to hide some labels. For some reason as long