Black Lives Matter. Please consider donating to Black Girls Code today.

Ylbale tick distance when adding error bars

Hi all,

I’ve encountered a problem where, on adding error bars to my bar chart, a large whitespace appeared between the xaxis and the tick labels. does anyone know any way to prevent this?

Thanks,

[edit] i managed to get around this by setting the yrange (to be from 0 to maxy + 10%), which makes me think the error bars are changing the yrange? Can this be prevented, or is there a way to set ymin value without setting the ymax?

Thanks, again!

Harry T