Change background color of chart in the snapshot

I am looking to change background color of chart in the screenshot image

See Plotly.toImage Background Color