✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐍Plotly, Coiled CEOs Discuss Partnering & ML Experts show us how Dash + Dask apps work Register for the Webinar.

Look like a bug

I have created a chart with a scatter and bars. Here is the pen:
https://codepen.io/MZolotoy/pen/ZEYdMqy

As you can see the bars start from non zero value and the chart doesn’t have extra vertical space between 0 and 1. That didn’t work no matter what I did because I was running an older Plotly version (1.43). As soon as I switch to the latest (1.52) everything worked fine. (So, wasn’t total my fault :). Now, I need to get the same chart with negative Y values. Here is the pen:
https://codepen.io/MZolotoy/pen/eYmqGYG

And now this is working in the same way it worked for the first example with the older version. As you can see the chart shows extra vertical space between 0 and -1. So, what’s the deal here?

Thanks