FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-api/plotly/resources.py at master · MVReddy/python-api · GitHub
MVReddy
/
python-api
Public
forked from
plotly/plotly.py
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-api
/
plotly
/
resources.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (22 loc) · 1.04 KB
Breadcrumbs
python-api
/
plotly
/
resources.py
Copy path
File metadata and controls
27 lines (22 loc) · 1.04 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""
This module defines where non-python source files are located.
All paths are relative to sys.prefix. This is why they are in a plotly-specific
'plotly-data' directory.
"""
import
os
# This is relative to `sys.prefix`. We store non-python files here.
DATA_DIR
=
'plotly-data'
# For graph object definitions and local error handling
GRAPH_REFERENCE_DIR
=
os
.
path
.
join
(
DATA_DIR
,
'graph_reference'
)
GRAPH_REFERENCE_GRAPH_OBJS_META
=
'plotly/graph_reference/graph_objs_meta.json'
GRAPH_REFERENCE_KEY_TO_NAME
=
'plotly/graph_reference/KEY_TO_NAME.json'
GRAPH_REFERENCE_NAME_TO_KEY
=
'plotly/graph_reference/NAME_TO_KEY.json'
GRAPH_REFERENCE_OBJ_MAP
=
'plotly/graph_reference/OBJ_MAP.json'
GRAPH_REFERENCE_FILES
=
[
GRAPH_REFERENCE_GRAPH_OBJS_META
,
GRAPH_REFERENCE_KEY_TO_NAME
,
GRAPH_REFERENCE_NAME_TO_KEY
,
GRAPH_REFERENCE_OBJ_MAP
]
# For IPython widget support
WIDGETS_DIR
=
os
.
path
.
join
(
DATA_DIR
,
'widgets'
)
WIDGETS_MAIN_JS
=
'plotly/widgets/graphWidget.js'
WIDGETS_FILES
=
[
WIDGETS_MAIN_JS
]
Back
|
FazBrowse Home
|
New Git URL