I have this app that plot different data based on what you select.
I do not like the background of the default plot as shown below:
I want to get a plot with a white background, dark or gray gridlines and outside border as shown below:
I have tried using the theme plotly-white but the border doesn’t show as shown below:
I even tried using update layout with the code below to change the background to white but it gave something like the following image:
dcc.Graph( figure=px.bar( df, x="sepal_width", y="sepal_length", color="species" ).update_layout( template='plotly_dark', plot_bgcolor='rgba(0, 0, 0, 0)', paper_bgcolor='rgba(0, 0, 0, 0)', ), )
Resulting to this:
How do I achieve what I want please?
Any help will be appreciated