Hello,
Is there anyway to show timedelta data in β%H:%M:%Sβ format on the plot? Below is my simple code. I want the x axis ticks to be in %M:%S format.
Thanks
import pandas as pd
import plotly.graph_objs as go
from plotly.offline import init_notebook_mode
from plotly.offline import iplot
init_notebook_mode(connected=True)
df = pd.DataFrame({'x': range(1000), 'y':np.sin(np.arange(1000)/100)})
df.x = pd.to_timedelta(df.x, unit='s')
trace = go.Scatter(x=df.x, y=df.y)
data = [trace]
fig = go.Figure(data)
iplot(fig)