fig.update_layout( paper_bgcolor=“white”, plot_bgcolor=“white”,
polar=dict(
radialaxis=dict(
visible=True,
range=[0, 1]
)
)
)
paper_bgcolor is working properly but the plot background is not working.
How would I solve this issue? I am using plotly.graph_objs and Scatterpolar.
Thanks
Hi @samim_reza try using polar_bgcolor
instead
Thanks a lot.
Is there any way I can change the grid linecolor? I am getting attributes only for plotly express.
Here you go, it’s a bit hidden
fig.update_layout(
polar_radialaxis_gridcolor="#ff0000",
polar_angularaxis_gridcolor="#0000ff",
)
you can also update linecolor
this way
1 Like