-
Notifications
You must be signed in to change notification settings - Fork 166
add sharing parameter for saveplotlyconfig #104
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
Conversation
@yankev looks good. Did you test this with various settings / does it update + validate properly? |
@@ -1,4 +1,4 @@ | |||
function saveplotlyconfig(plotly_domain,plotly_streaming_domain) | |||
function saveplotlyconfig(plotly_domain,plotly_streaming_domain, sharing) |
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.
should we make the spacing here consistent too? just for looks 👗
Yep I tried a couple variations, and it seems to validate and update correctly. Only issue would be that if validation fails then the config file just be empty. We could keep this behaviour, or change the error to a warning, which would allow the other parameters to be written |
@yankev good point - could you make https://github.com/plotly/MATLAB-api/pull/104/files#diff-1a55e631c9c6db6c4e1372e0d2cc6f85R67 a simple warning instead of failing to save everything. |
cool - 💃 from me. |
👍 I'll get the doc edit when you merge this @yankev |
for #103.
@BRONSOLO