If you have null values in y, those show up as thin bars in Bar chart if you set an axis range that includes 0.

Here is a pen.
https://codepen.io/kei51/pen/KKwraMX
It doesn't happen on an older version of Plotly like 1.47.4.
https://codepen.io/kei51/pen/XWJypEO