Set y axis limit in Pandas histogram
You can simply add option sharey=True
to make all subplots share the same yaxis limit, similiary using sharex=True
for xaxis
data['ranking'].hist(by=data[column], sharey=True)
If you use
data['ranking'].plot.hist(ylim=(0,1))
(mind the .plot
in the syntax!) it should work.