# Ylbale tick distance when adding error bars

**URL:** <https://community.plotly.com/t/ylbale-tick-distance-when-adding-error-bars/13456>\
**Category:** plotly.js\
**Created:** [September 11, 2018, 11:57am UTC](https://community.plotly.com/t/ylbale-tick-distance-when-adding-error-bars/13456 "2018-09-11T11:57:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![henry.k.turner](https://avatars.discourse-cdn.com/v4/letter/h/a183cd/32.png) [@henry.k.turner](https://community.plotly.com/u/henry.k.turner)\
**Post date:** [September 11, 2018, 11:57am UTC](https://community.plotly.com/t/ylbale-tick-distance-when-adding-error-bars/13456/1 "2018-09-11T11:57:13Z")

</div>

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

 ![plotly_tick_problem](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/2/2f677332eebb311d277fd2e65483c96806384ca4.png)
