- Notifications
You must be signed in to change notification settings - Fork 165
Config/creds updates #11
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
Conflicts: plotly/plotly.m plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_10.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_11.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_12.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_14.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_15.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_17.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_20.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_28.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_29.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_31.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_33.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_35.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_40.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_41.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_42.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_43.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_5.png plotly/tests/test_saveplotlyfig_images/PlotlyImageTest_9.png
fix api.key/api.username filed deletion
plotly/loadplotlyconfig.m Outdated
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.
>>> saveplotlyconfig('https://plot.ly', 'stream.plot.ly'); 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.
the line fullfile(userhome,'.plotly','.config'); won't work on Win systems. Check the initial commits of my oo pull request. I fix this problem.
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 catch! - i'll make the changes.
On 2014-06-11, at 9:05 AM, okomarov wrote:
In plotly/loadplotlyconfig.m:
@@ -0,0 +1,29 @@
+function config = loadplotlyconfig()
+
- userhome = getuserdir();
- plotly_config_file = fullfile(userhome,'.plotly','.config');
- % check if config exist
- if ~exist(plotly_config_file, 'file')
error('Plotly:ConfigNotFound',...['It looks like you haven''t set up your plotly '...'account configuration file yet.\nTo get started, save your '...'plotly/stream endpoint domain by calling:\n'... the line fullfile(userhome,'.plotly','.config'); won't work on Win systems. Check the initial commits of my oo pull request. I fix this problem.'>>> saveplotlycredentials(plotly_rest_url, stream_rest_url)\n\n'...—
Reply to this email directly or view it on GitHub.
| looks good! just a couple of minor edits above |
| 💃 |
| @chriddyp some fig2plotly.m fixes and signin fix for plotlysetup.m |
| 💃 merge away! |
@chriddyp new config/cred file handling.