How do I hide the grid lines that appear on dcc.Graph by default?

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
                                        }
                                    },                                                                
                                                        )
                       ),
                       }
2 Likes