from datetime import datetime, timedelta import plotly.graph_objects as go y=[1, 2, 3] x=[ datetime(2020, 11, 12, 18), datetime(2020, 11, 13, 18), datetime(2020, 11, 14, 18)] go.Figure([go.Bar(x=x, y=y, width=1)]).show()
Hi, the above code renders a blank bar graph for me. If I remove the width tag entirely, the code works again. If I also switch from using datetime in the x axis to integers, it also goes back to normal. It seems like an interaction between the width field and datetime is causing an issue. Can anyone help?