Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/plotly/plotly.py
/ ensure_writable_plotly_dir
Function
ensure_writable_plotly_dir
_plotly_utils/files.py:32–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
31
32
def
ensure_writable_plotly_dir():
33
# Cache permissions status
34
global _file_permissions
35
if
_file_permissions is None:
36
_file_permissions = _permissions()
37
return
_file_permissions
Callers
1
save
Method · 0.90
Calls
1
_permissions
Function · 0.85
Tested by
no test coverage detected