One of the graphs in my dash application is rendered upon an button click event from the callback.
I’d like to remove the default white background of the graph when the page is loaded. It kinda looks odd for my layout. Is this possible?
I have already tried the following with no success.
layout=go.Layout(
annotations=[{'text': str(score) + "%", 'x':0.5, 'y':0.5, 'font_size':35, 'showarrow':False}],
paper_bgcolor = 'rgba(0,0,0,0)',
plot_bgcolor = 'rgba(0,0,0,0)',
showlegend=False
)