Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Create private graph with python API

Hi! I have pro subscription and try to create private chart via api, with following code

fig = go.Figure(data=show, layout=layout)
plot_url = plotly.plotly.plot(fig, filename=‘t’, sharing=‘private’)

then i get message that my chart is created with link following, but link is public and available from anywhere.

I can switch then to private in my profile settings, but how to do it with code?

Hi, I also need to create a private chart with the API. I’m using nodeJs.