-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable plotly server URL by default #4690
Conversation
src/plot_api/plot_config.js
Outdated
'and the showLink/sendData on-graph link' | ||
'When set it determines base URL for', | ||
'the \'Edit in Chart Studio\' (aka sendDataToCloud) mode bar button', | ||
'and the showLink/sendData on-graph link.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we at least include the url for CSC in the description? I guess that should be https://chart-studio.plotly.com
? Something like "To enable sending your data to Plotly's public cloud, you need to set both plotlyServerURL to 'https://chart-studio.plotly.com' and showSendToCloud to true"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. Done in 7d5492d using https://plotly.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra info added in 9959cb8.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - I'd take https://plotly.com
out, since I believe that's not going to work, and just include https://chart-studio.plotly.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not use https://plotly.com
as this will confuse people, let's only use https://chart-studio.plotly.com
as the example.
Let's also not call it "Plotly's public cloud" but rather "Chart Studio Cloud" please.
Finally, let's replace sendDataToCloud
(which is not one of the options!) with showEditInChartStudio/showSendToCloud
which are slight variants on each other...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revised in d81e598.
Yes please. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃 Thanks!
Resolves #4689
This PR changes the default value for
config.plotlyServerURL
option to empty string in 514aef4.Please also note that empty string would be ignored in
Plotly.sendDataToCloud
in f661184,Therefore in order to
Edit in Chart Studio
(usingmodebar
buttonseditInChartStudio
orsendDataToCloud
) theconfig.plotlyServerURL
is required.@plotly/plotly_js