I know that it's possible to create a histogram from a pandas dataframe column with matplotlib.pyplot using the code:
df.plot.hist(y='Distance')
Which creates a graph like this:
However what I'm looking for is a plot of relative frequency, expressed as a percentage of the total. I'd also like for the graph to have an overflow bin at 300 so that it looks something along the lines of:


