MCPcopy Index your code
hub / github.com/plotly/plotly.py / plotly_cdn_url

Function plotly_cdn_url

plotly/io/_utils.py:89–93  ·  view source on GitHub ↗

Return a valid plotly CDN url.

(cdn_ver=get_plotlyjs_version())

Source from the content-addressed store, hash-verified

87
88
89def plotly_cdn_url(cdn_ver=get_plotlyjs_version()):
90 """Return a valid plotly CDN url."""
91 return "https://cdn.plot.ly/plotly-{cdn_ver}.min.js".format(
92 cdn_ver=cdn_ver,
93 )

Callers 7

to_htmlFunction · 0.90
activateMethod · 0.90
test_offline.pyFile · 0.90
test_repr_htmlFunction · 0.90

Calls 2

get_plotlyjs_versionFunction · 0.90
formatMethod · 0.45

Tested by 4

test_repr_htmlFunction · 0.72