The FigureWidget seems to be broken in plotly 6.0 when showing datetime types.
Reproduced using the example here
importplotly.graph_objectsasgoimportpandasaspddf=pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/finance-charts-apple.csv').assign(Date=lambdax: pd.to_datetime(x.Date))
fig=go.Figure([go.Scatter(x=df['Date'], y=df['AAPL.High'])])
fig.show()displays correctly with datetime:

With FigureWidget:
importplotly.graph_objectsasgoimportpandasaspddf=pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/finance-charts-apple.csv').assign(Date=lambdax: pd.to_datetime(x.Date))
fig=go.FigureWidget([go.Scatter(x=df['Date'], y=df['AAPL.High'])])
fig.show()shows the nanosecond ints:

This was run in VSCode (1.100.2) and also jupyterlab/server (lab == 4.4.3, jupyter-server == 2.16.0)
Seems similar to #5101.
The FigureWidget seems to be broken in plotly 6.0 when showing datetime types.
Reproduced using the example here
displays correctly with datetime:
With FigureWidget:
shows the nanosecond ints:
This was run in VSCode (1.100.2) and also jupyterlab/server (lab == 4.4.3, jupyter-server == 2.16.0)
Seems similar to #5101.