# Wrong bar lenght on stacked barplot!

**URL:** <https://community.plotly.com/t/wrong-bar-lenght-on-stacked-barplot/4368>\
**Category:** 📊 Plotly Python\
**Created:** [May 29, 2017, 9:18pm UTC](https://community.plotly.com/t/wrong-bar-lenght-on-stacked-barplot/4368 "2017-05-29T21:18:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fvarela](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@fvarela](https://community.plotly.com/u/fvarela)\
**Post date:** [May 29, 2017, 9:18pm UTC](https://community.plotly.com/t/wrong-bar-lenght-on-stacked-barplot/4368/1 "2017-05-29T21:18:12Z")

</div>

Hello Pyplot community,  
It seem that I have run onto a bug with the Python API. When working with a stacked bar plot some columns have incorrect lengths. Please take a look at the image, it is self explanatory.

 ![](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/5/5a422ab1feb40731cc79a1ca44a3d0b0e3f45f6c.jpg)

[https://plot.ly/~fvarela/22/punch-times-for-m-e/](https://plot.ly/~fvarela/22/punch-times-for-m-e/)

I am doing something wrong? Does anyone know a workaround to avoid this behaviour?  
Thanks in advance for any feedback  
Regards
