Skip to content

Commit 2c80c45

Browse files
committed
session instead of config
1 parent baa3647 commit 2c80c45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plotly/offline/offline.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from plotly.utils import PLOTLY_OFFLINE_DIRECTORY, PLOTLY_OFFLINE_BUNDLE
1515
from plotly import tools
1616
from plotly.exceptions import PlotlyOfflineNotFound
17-
17+
from plotly import session
1818

1919
__PLOTLY_OFFLINE_INITIALIZED = False
2020

@@ -122,8 +122,8 @@ def iplot(figure_or_data, show_link=True, link_text='Export to plot.ly'):
122122
if show_link is False:
123123
link_text = ''
124124

125-
plotly_platform_url = tools.get_config_file().get('plotly_domain',
126-
'https://plot.ly')
125+
plotly_platform_url = session.get_session_config().get('plotly_domain',
126+
'https://plot.ly')
127127
if (plotly_platform_url != 'https://plot.ly' and
128128
link_text == 'Export to plot.ly'):
129129

0 commit comments

Comments
 (0)