app.layout = html.Div([
dcc.Graph(
id = 'Threshold plot',
figure = {
'data': [
go.Scatter(
x = X,
y = Y,
mode = 'lines+markers'
)
],
'layout' : go.Layout(
title = 'Graph of time taken by batches of job',
xaxis = {'title' : 'Batch_ID'},
yaxis = {'title' : 'Time in minutes'}
Hi this is my code to plot a graph using dash and plotly.go how can I make a static line or a shape in the go.layout