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.
Thanks for reporting!
This should have been fixed as part of https://github.com/plotly/plotly.js/pull/4056 unless I'm missing something. @archmoj can you comment?
Improved bug demo.
This is only a problem in interactive mode. Download PNG works OK (does not show empty bars).
Related to this block: https://github.com/plotly/plotly.js/blob/8122c2127c12b50cb20207d676aa24e3a786f305/src/traces/bar/plot.js#L193-L201
Thank you very much for the fix!