Download latest version of the plotly.js bundle.
(plotly_js_version)
| 205 | |
| 206 | |
| 207 | def 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 | |
| 221 | def update_plotlyjs(plotly_js_version, outdir): |
no test coverage detected