Bar not showing in barchart when range is specified
Hi,
Unable to see bar when there is 1 bar and range specified in barchart. https://codepen.io/anon/pen/KXeoWZ
if there is more than 1 bar then its visible. https://codepen.io/anon/pen/yzEKoj
Is there any way I can show bar in the first case
Thanks, Saima
That bar is showing, it is simply very very very tiny. After zooming in a little bit, we get:

To be precise, it has a width of 1 millisecond (the default value) - which on your set range get ignored but most browsers.
By setting the width to e.g. 12 hours https://codepen.io/etpinard/pen/oGyqJj?editors=0010 your bar is visible again.
Related https://github.com/plotly/plotly.js/issues/1181
duplicate of https://github.com/plotly/plotly.js/issues/1346