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

Function update_schema

commands.py:197–204  ·  view source on GitHub ↗

Download latest version of the plot-schema JSON file.

(plotly_js_version)

Source from the content-addressed store, hash-verified

195
196
197def update_schema(plotly_js_version):
198 """Download latest version of the plot-schema JSON file."""
199
200 url = (
201 "https://raw.githubusercontent.com/plotly/plotly.js/"
202 "v%s/dist/plot-schema.json" % plotly_js_version
203 )
204 overwrite_schema(url)
205
206
207def update_bundle(plotly_js_version):

Callers 1

update_plotlyjsFunction · 0.85

Calls 1

overwrite_schemaFunction · 0.85

Tested by

no test coverage detected