This is a CodePen https://codepen.io/nicolaskruchten/pen/pojdmaX?editors=0010 that illustrates the issue outlined in https://community.plotly.com/t/changing-the-background-colour-of-a-graph/29246/8 and logged in Dash as https://github.com/plotly/dash/issues/1107 Edit: the `newPlot` behaviour is correct and the `react` behaviour is not.
This is a CodePen https://codepen.io/nicolaskruchten/pen/pojdmaX?editors=0010 that illustrates the issue outlined in https://community.plotly.com/t/changing-the-background-colour-of-a-graph/29246/8 and logged in Dash as plotly/dash#1107
Edit: the
newPlotbehaviour is correct and thereactbehaviour is not.