I have created a chart with a scatter and bars. Here is the pen:
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:
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?