We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 787793d commit 52a51d8Copy full SHA for 52a51d8
plotly/graph_reference.py
@@ -22,7 +22,10 @@ def get_graph_reference():
22
if files.check_file_permissions():
23
graph_reference = utils.load_json_dict(files.GRAPH_REFERENCE_FILE)
24
config = utils.load_json_dict(files.CONFIG_FILE)
25
- plotly_domain = config['plotly_domain']
+
26
+ # TODO: https://github.com/plotly/python-api/issues/293
27
+ default_domain = files.FILE_CONTENT[files.CONFIG_FILE]['plotly_domain']
28
+ plotly_domain = config.get('plotly_domain', default_domain)
29
else:
30
graph_reference = {}
31
plotly_domain = files.FILE_CONTENT[files.CONFIG_FILE]['plotly_domain']
0 commit comments