Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e98ecd

Browse files
committed
Fixed old reference to _get_plotly_urls
1 parent 4021cd0 commit 2e98ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/plotly/plotly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def get_figure(file_owner, file_id, raw=False):
261261
262262
"""
263263

264-
plotly_rest_url = tools._get_plotly_urls()[0]
264+
plotly_rest_url = tools.get_config_file()['plotly_domain']
265265
resource = "/apigetfile/{username}/{file_id}".format(username=file_owner,
266266
file_id=file_id)
267267
(username, api_key) = _validation_key_logic()

0 commit comments

Comments
 (0)