Description
I have tried updating to Plotly 6 however it causes the operations in the chart to all start at 0, as seen in the screenshot below:

As far as I can tell the issue is a combination of this update:
Update plotly.py to use base64 encoding of typed arrays e.g. numpy in plotly JSON to keep precision intact and improve performance [#4470].
combined with this feature of px.timeline:
The px.timeline function by default sets the X-axis to be of type=date
which causes the times of our timeline to look something like this:
array(['1970-01-01T00:00:00.000001338', '1970-01-01T00:00:00.000000870',
'1970-01-01T00:00:00.000001496', '1970-01-01T00:00:00.000002442',
'1970-01-01T00:00:00.000002114', '1970-01-01T00:00:00.000001673',
'1970-01-01T00:00:00.000001525', '1970-01-01T00:00:00.000002108',
'1970-01-01T00:00:00.000001682', '1970-01-01T00:00:00.000002396',
'1970-01-01T00:00:00.000001330'], dtype='datetime64[ns]')
which is being interpreted as 0 start for all operations.
I have tried changing the type
of the xaxis to linear
but this has not made any impact.
Since this is a relatively new update I can't find anyone else with the same issue online despite many other people clearly using this 'hack' (of not using dates for the time part of the timeline).
Currently my only other idea is to replace px.timeline
with px.bar
or go.Bar
but I would be more inclined to keep plotly at < 6.0 and wait to see if the internet comes up with a solution.