Hi,
Could someone please tell me what is wrong with this line of code as it is throwing a syntax error. I have highlighted it in bold. I have checked all the brackets and they do line up. I am just plotting two line graphs on the same chart. When I remove the line, everything is fine.
dcc.Graph(id=‘plot1’,
figure={
‘data’: [go.Scatter(x=MFTdf[‘MFT’], y=MFTdf[‘MFT Planned’], mode = ‘lines’, name = ‘MFT Planned’),
(x=MFTdf[‘MFT’], y=MFTdf[‘MFT Actual’], mode = ‘lines’, name = ‘MFT Actual’)],
‘layout’: go.Layout(title=‘Review States’,
yaxis={‘title’: ‘Completion Status’})}),
dcc.Interval(
id=‘interval-component’,
interval=1*1000, # in milliseconds
n_intervals=0
)