Black Lives Matter. Please consider donating to Black Girls Code today.

Dash Datetime not coming properly

Hi,

I am facing issue while plotting datetime.
I have a pandas dataframe column that has date time entries (E.g: 2018 May 4 11:12:51.990). This I am getting from Log file after parsing.

I am converting datetime column as below
df[‘Timestamp’] = pd.to_datetime(df[‘Timestamp’])

Then I am plotting as below.
go.Scattergl(
y = df[‘Points’],
x = df[‘Timestamp’],
mode = ‘lines’,
marker = {
‘color’:‘green’
}
)

But on graph my datetime is coming as below.
1.52543239510^18
1.525432399
10^18
1.525432395*10^18

Please help me out with this.

hi @sanjayagp! Updating Plotly to version ‘3.2.1’ fixed this for me.