Skip to content

Commit d5eeffc

Browse files
version 4.10.0
1 parent 51ec6cb commit d5eeffc

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
## Quickstart
3535

36-
`pip install plotly==4.9.0`
36+
`pip install plotly==4.10.0`
3737

3838
Inside [Jupyter notebook](https://jupyter.org/install) (installable with `pip install "notebook>=5.3" "ipywidgets>=7.2"`):
3939

@@ -82,13 +82,13 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
8282
plotly.py may be installed using pip...
8383

8484
```
85-
pip install plotly==4.9.0
85+
pip install plotly==4.10.0
8686
```
8787

8888
or conda.
8989

9090
```
91-
conda install -c plotly plotly=4.9.0
91+
conda install -c plotly plotly=4.10.0
9292
```
9393

9494
### Jupyter Notebook Support
@@ -125,10 +125,10 @@ Then run the following commands to install the required JupyterLab extensions (n
125125

126126
```
127127
# Basic JupyterLab renderer support
128-
jupyter labextension install jupyterlab-plotly@4.9.0
128+
jupyter labextension install jupyterlab-plotly@4.10.0
129129
130130
# OPTIONAL: Jupyter widgets extension for FigureWidget support
131-
jupyter labextension install @jupyter-widgets/jupyterlab-manager plotlywidget@4.9.0
131+
jupyter labextension install @jupyter-widgets/jupyterlab-manager plotlywidget@4.10.0
132132
```
133133

134134
Please check out our [Troubleshooting guide](https://plotly.com/python/troubleshooting/) if you run into any problems with JupyterLab.

release.md

+14-11
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ a link to the plotly.js CHANGELOG.
3232
Manually update the versions to `X.Y.Z` in the files
3333
specified below.
3434

35+
- `packages/python/plotly/README.md`
36+
+ this must be done at this point because the README gets baked into PyPI
3537
- `plotly/_widget_version.py`:
3638
+ Update `__frontend_version__` to `^X.Y.Z` (Note the `^` prefix)
3739
- `packages/javascript/plotlywidget/package.json`
@@ -59,6 +61,18 @@ Make sure tests pass CI checks, then tag this commit as `vX.Y.Z` (e.g. `v3.1.1`)
5961
(plotly_dev) $ git push origin vX.Y.Z
6062
```
6163

64+
### Publish JS Extensions to NPM
65+
66+
Build and publish the final version of the extensions to NPM. We do this first because
67+
once we push to PyPI the README will refer to these versions.
68+
69+
```bash
70+
cd packages/javascript/jupyterlab-plotly
71+
npm run build && npm publish --access public
72+
cd packages/javascript/plotlywidget
73+
npm run build && npm publish --access public
74+
```
75+
6276
### Publishing to PyPI
6377

6478
Build and publish the final version to PyPI
@@ -81,17 +95,6 @@ $ pip install plotly --upgrade
8195

8296
And ask one of your friends to do it too. Our tests should catch any issues, but you never know.
8397

84-
### Publish JS Extensions to NPM
85-
86-
Finally, publish the final version of the extensions to NPM with:
87-
88-
```bash
89-
cd packages/javascript/jupyterlab-plotly
90-
npm run build && npm publish --access public
91-
cd packages/javascript/plotlywidget
92-
npm run build && npm publish --access public
93-
```
94-
9598
### Publishing to the plotly conda channel
9699

97100
To publish package to the plotly anaconda channel you'll need to have the

0 commit comments

Comments
 (0)