You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -120,12 +120,19 @@ you can install all packages with:
120
120
pip install -e '.[dev]'
121
121
```
122
122
123
-
If you're testing local changes in Jupyter Lab or Jupyter Notebook, you'll want to run:
123
+
If you're testing local changes in Jupyter Lab or Jupyter Notebook, you'll want to run these commands when you're setting up your development environment:
124
124
```bash
125
125
pip install jupyter
126
126
jupyter labextension develop .
127
127
```
128
128
129
+
If you're changing any of the code under the `js/` directory, you'll also want to run these commands:
130
+
```
131
+
cd js/
132
+
npm ci
133
+
npm run build
134
+
```
135
+
129
136
These commands also create an *editable install* of plotly.py
130
137
so that you can test your changes iteratively without having to rebuild the plotly.py package explicitly;
0 commit comments