Skip to content

Commit 60cc98f

Browse files
committed
update contributing to include new build instructions
1 parent 8e3354d commit 60cc98f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

contributing.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,14 @@ complete installation and avoid gdal-config errors.
157157
(plotly_dev) $ pip install -e packages/python/chart-studio/
158158
(plotly_dev) $ pip install -e packages/python/plotly-geo/
159159
```
160-
This will ensure that the installed packages links to your local development
160+
161+
**Note**: To test `go.FigureWidget` locally, you'll need to generate the javascript bundle as follows:
162+
```
163+
cd packages/python/plotly/js
164+
npm install && npm run build
165+
```
166+
167+
Running `pip install -e` will ensure that the installed packages links to your local development
161168
directory, meaning that all changes you make reflect directly in your
162169
environment (don't forget to restart the Jupyter kernel though!). For more
163170
information see the

packages/python/plotly/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77

88
## retrying requests ##
99
tenacity>=6.2.0
10-
anywidget>=0.9.0

0 commit comments

Comments
 (0)