I get a dataframe & plot the x axis like the following:
df = web.DataReader(āaaplā, āmorningstarā).reset_index()
trace_high = go.Scatter( x=df.Date)
return {
'data': [trace_high]
}
if name == āmainā:
app.run_server()
However when I try to use go.Ohlc or go.Candlestick (instead of Scatter) I get the default x axis; starts at 0, then 1, then 2, etc. In the console it acts like everything is being returned fine thoughā¦
127.0.0.1 - - [05/Apr/2018 13:10:37] āGET / HTTP/1.1ā 200 -
127.0.0.1 - - [05/Apr/2018 13:10:38] āGET /_dash-layout HTTP/1.1ā 200 -
127.0.0.1 - - [05/Apr/2018 13:10:38] āGET /_dash-dependencies HTTP/1.1ā 200 -
127.0.0.1 - - [05/Apr/2018 13:10:39] āPOST /_dash-update-component HTTP/1.1ā 200 -
127.0.0.1 - - [05/Apr/2018 13:10:46] āPOST /_dash-update-component HTTP/1.1ā 200 -
127.0.0.1 - - [05/Apr/2018 13:10:50] āPOST /_dash-update-component HTTP/1.1ā 200 -
Iām using plotly 2.5.1 & wondering if thereās something Iāve missed or if I need to use a specific version?