I have a column in a pandas dataframe that has three possible categorical values. When I try to plot it using plt.hist(data['column']) from matplotlib, the histogram bars are not aligned with the x-axis ticks, and they're not evenly spaced. How can I fix this?



