How to plot bar chart starting from non-zero y-axis?

You want ylim = (3, 6) and xticks = (1:3, string.('a':'c'))

(NB I’m currently seeing a weird error where if I use xticks as above as a kwarg in the bar call it doesn’t plot the first two ticks, but if I do xticks!(1:3, string.('a':'c')) after the bar call it works, and if I include an extra label which isn’t shown - xticks = (1:4, string.('a':'d')) - in the bar call it also works - if you can reproduce this I’ll open an issue)

1 Like