Have some scatter plot in plotly (go.figure) I use shape-drawing buttons at modebar So if i drawing "open freeform" it appears with black background Because in Windows and Chrome applied dark themes so i use template='ggplot2' for better visualisation (if it matters) Trying to use paper_bgcolor='rgba(0,0,0,0) and plot_bgcolor='rgba(0,0,0,0) at fig.update_layout but same result If this form are selected (for erasing e.g) it appears without background filling but with turnpoints At original link it works propperly https://plotly.com/python/configuration-options/#add-optional-shapedrawing-buttons-to-modebar Continue reading...