Bar Plot for a certain range for ranges more than 1

I want to plot a bar plot where, its would have x axis will have “A”,“B”,“C” and “D” while the y axis will tell the range of these values say for A: (0.1 to 0.5), B: (1.9 to 9.5) etc. I tried plotting it but the bar was always between 0 and 1, when I tried to use ylim it was rescaled unevenly giving improper results. Can anyone help?

You will want to pass the bottom argument to bar
https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.bar.html#matplotlib.axes.Axes.bar