Hi Krisada619,
You can turn of gridlines in your figure on the Y or X axis.
For instance like this:
dcc.Graph(figure={
'data': traces,
'layout': go.Layout(
xaxis = {
'showgrid': False
},
yaxis = {
'showgrid': True
}
},
)
),
}