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
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,20 @@ 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 these commands when you're setting up your development environment:
124
+
```bash
125
+
pip install jupyter
126
+
jupyter labextension develop .
127
+
```
128
+
If you don't run that command, your figure will not render in the Jupyter Lab/ Jupyter Notebook editors.
129
+
130
+
If you're changing any of the code under the `js/` directory, you'll also want to run these commands:
131
+
```
132
+
cd js/
133
+
npm ci
134
+
npm run build
135
+
```
136
+
123
137
These commands also create an *editable install* of plotly.py
124
138
so that you can test your changes iteratively without having to rebuild the plotly.py package explicitly;
0 commit comments