Skip to content

import plotly creates (possibly) unnecessary credentials #728

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

Closed
twocs opened this issue Apr 8, 2017 · 1 comment
Closed

import plotly creates (possibly) unnecessary credentials #728

twocs opened this issue Apr 8, 2017 · 1 comment
Assignees
Milestone

Comments

@twocs
Copy link

twocs commented Apr 8, 2017

I was investigating an issue with the plotly/MATLAB-Online API (imatlab/imatlab#13) and found that the Python statement has an undesirable effect for offline plotly:
import plotly

Whenever this is encountered, and the files do not yet exist, the folder ~/.plotly is created and then two files ~/.plotly/.credentials and ~/.plotly/.config are also created.

This is annoying if we want to run Plotly offline because these files are unnecessary. But it is also different than plotly/MATLAB-Online, which on Windows, does not even use ~/.plotly as the plotly directory. On Windows, it uses %APPDATA%\.plotly instead.

@jonmmease
Copy link
Contributor

Done in #1195. With this, the ~/.plotly directory is not created until credentials are explicitly set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants