File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,20 @@ pip install -r optional-requirements.txt
117117 $ jupyter nbextension install --py --symlink --sys-prefix plotlywidget
118118 $ jupyter nbextension enable --py --sys-prefix plotlywidget
119119
120+ ## Update to a new version of Plotly.js
121+ First update the version of the ` plotly.js ` dependency in ` js/package.json ` .
122+
123+ Then run the ` updateplotlyjs ` command with:
124+
125+ ``` bash
126+ $ python setup.py updateplotlyjs
127+ ```
128+
129+ This will download new versions of ` plot-schema.json ` and ` plotly.min.js ` from
130+ the ` plotly/plotly.js ` GitHub repository (and place them in
131+ ` plotly/package_data ` ). It will then regenerate all of the ` graph_objs `
132+ classes based on the new schema.
133+
120134## Testing
121135
122136We take advantage of two tools to run tests:
You can’t perform that action at this time.
0 commit comments