FigureWidget does not recognize the datetime index passed to the x-axis. Here's how to reproduce the issue: Data: ```python dates = pd.date_range('2024', '2025', freq='QE') df = pd.DataFrame([1,4,3,7], index = dates, columns=['val']) ``` Plot: ```python fig = go.FigureWidget(layout={'height':600, 'width':800}) fig.add_scatter(x=df.index, y=df.val) fig ``` <p align="center"> <img src="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/user-attachments/assets/d6ac41e3-d5b0-4461-9ca9-a78f8e299549" /> </p> The values on the x-axis are mysterious. Everything looks fine when I use go.Figure(). ___ Python 3.12.9 Plotly 6.0.1 JupyterLab 4.4.4
Activity
mgmarino commentedon Jul 9, 2025
dupe: #5210
emilykl commentedon Sep 2, 2026
Hi @sursu, apologies for the belated follow-up.
I believe this bug has the same root cause as #5355 / #5210 and was addressed by #5415, first released in plotly.py v6.5.0 (Nov 2025).