X axis shows dates. Problem: the dates, in my data, start from 08/01/2018. But the schedule is drawn from 07/31/2018. What can be seen on the screen enter image description here Originally noted in another project. There all points are also transferred 5 hours left, while the Y values ​​are correct (but shifted)

import dash import dash_html_components as html import dash_core_components as dcc from plotly import graph_objs as go import datetime app = dash.Dash() date = [] price = [] for i in range(50): date.append(datetime.datetime(2018,8,1) + datetime.timedelta(hours=i)) price.append(i) app.layout = html.Div([ dcc.Graph(figure=dict( data=[ go.Scatter( x=date, y=price, mode='markers+lines') ], layout= dict( xaxis=dict( range= [date[0], date[len(date)-1]] ) ) )) ]) if __name__ == '__main__': app.run_server() 

    0