✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

3d scatter plot transparent

Hey Im trying to do a 3d Scatter plot for a network visualization. I want the background (of the plot and paper) to be transparent. Everywhere i searched for this was recommended as style settings for layout: paper_bgcolor=‘rgba(0,0,0,0)’,

But it is always white. As an small example:

Any ideas what im doing wrong?


For 3d networks you must set invisible axes, not transparent plot_bgolor:

fig.update_scenes(xaxis_visible=False, yaxis_visible=False,zaxis_visible=False )

Thank you very much, worked for me!