Plotting a python dict in order of key values
I have a python dictionary that looks like this: They keys are type int, the values are type float64. Unfortunately, when I try to plot this with lines, matplotlib connects the wrong points (plot attached). How can I make it connect lines in order of the key values?