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

Function update_bundle

commands.py:207–218  ·  view source on GitHub ↗

Download latest version of the plotly.js bundle.

(plotly_js_version)

Source from the content-addressed store, hash-verified

205
206
207def update_bundle(plotly_js_version):
208 """Download latest version of the plotly.js bundle."""
209
210 url = (
211 "https://raw.githubusercontent.com/plotly/plotly.js/"
212 "v%s/dist/plotly.min.js" % plotly_js_version
213 )
214 overwrite_bundle(url)
215
216 # Write plotly.js version file
217 plotlyjs_version = plotly_js_version
218 overwrite_plotlyjs_version_file(plotlyjs_version)
219
220
221def update_plotlyjs(plotly_js_version, outdir):

Callers 1

update_plotlyjsFunction · 0.85

Calls 2

overwrite_bundleFunction · 0.85

Tested by

no test coverage detected