-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
I am trying to set plot color to be white, however it does note seem to be working.
Below is an example setting paper and plot colors to black.
While paper_bgcolor
is working plot_bgcolor
does not work.
import plotly.graph_objects as go
fig = go.Figure(data=go.Scatter3d(x=[1, 2], y=[1,1], z=[1,1], mode = 'markers'), )
fig.update_layout(autosize = False, width = 2000, height = 1000)
# fig.layout.paper_bgcolor = '#000000'
fig.layout.plot_bgcolor = '#000000'
fig.show()
I have tried multiple configurations, including the following post recommendations. Nothing so far worked.
Would appreciate your help and suggestions.
Even workarounds, like hardcoding plot colors in the python library would work as a temporary solutions for me.
Metadata
Metadata
Assignees
Labels
No labels