Skip to content

import plotly creates (possibly) unnecessary credentials #728

Closed
@twocs

Description

@twocs

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions