Closed
Description
Setting plotlyServerURL in the config dict passed to iplot will always create a plot where the "Edit in Chart Studio" button sends the plot to the base url defined by plotly_domain.
This code won't change the plotly url used by the "Edit in Chart Studio" button
import plotly.offline as py
import plotly.graph_objs as go
py.init_notebook_mode()
py.iplot([go.Scatter(y=[2,3,4])], config=dict(showSendToCloud = True, plotlyServerURL='https://myserver.com'))
and this code will
import plotly.offline as py
import plotly.graph_objs as go
import plotly.tools as tls
py.init_notebook_mode()
tls.set_config_file(plotly_domain='https://www.myserver.com')
py.iplot([go.Scatter(y=[2,3,4])], config=dict(showSendToCloud = True))
I think it would be good to add a check to see if plotlyServerURL is already present in the config dict before setting it to plotly_domain (relevant code).