Plot.ly python graph url

I am using plot.ly to plot some data. The graph is shown correctly, but I would like to get the url of the graph hosted at plot.ly/username/xxx. Is there a way to get the url programmatically? I checked the plot.ly documentation but couldn't find this option.

+3


source to share


1 answer


By default when creating a chart. The url is passed by the function



import plotly.plotly as py
url = py.plot(fig, filename='stacked-bar')

      

+5


source







All Articles