File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
components/dash-core-components/dash_core_components_base Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
import os as _os
3
3
import sys as _sys
4
4
5
- from plotly .offline import get_plotlyjs_version
5
+ from plotly .offline . _plotlyjs_version import __plotlyjs_version__
6
6
7
7
import dash as _dash
8
8
126
126
},
127
127
{
128
128
"relative_package_path" : "package_data/plotly.min.js" ,
129
- "external_url" : f"https://cdn.plot.ly/plotly-{ get_plotlyjs_version () } .min.js" ,
129
+ "external_url" : f"https://cdn.plot.ly/plotly-{ __plotlyjs_version__ } .min.js" ,
130
130
"namespace" : "plotly" ,
131
131
"async" : "eager" ,
132
132
},
Original file line number Diff line number Diff line change 20
20
import flask
21
21
22
22
from pkg_resources import get_distribution , parse_version
23
- from plotly .offline import get_plotlyjs_version
23
+ from plotly .offline . _plotlyjs_version import __plotlyjs_version__
24
24
25
25
from dash import dcc
26
26
from dash import html
@@ -708,7 +708,7 @@ def _config(self):
708
708
if not self .config .serve_locally :
709
709
config [
710
710
"plotlyjs_url"
711
- ] = f"https://cdn.plot.ly/plotly-{ get_plotlyjs_version () } .min.js"
711
+ ] = f"https://cdn.plot.ly/plotly-{ __plotlyjs_version__ } .min.js"
712
712
if self ._dev_tools .hot_reload :
713
713
config ["hot_reload" ] = {
714
714
# convert from seconds to msec as used by js `setInterval`
You can’t perform that action at this time.
0 commit comments