Skip to content

Commit 5cdbc04

Browse files
Merge branch 'master' into doc-prod
2 parents 770c761 + c3e5dc7 commit 5cdbc04

File tree

24 files changed

+441
-5491
lines changed

24 files changed

+441
-5491
lines changed

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [5.13.1] - 2023-02-24
6+
7+
### Updated
8+
- Updated Plotly.js to from version 2.18.0 to version 2.18.2. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2182----2023-02-15) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module.
9+
- Updated distutils.Version to packaging.Version [#3897](https://github.com/plotly/plotly.py/pull/3897)] and [#4055](https://github.com/plotly/plotly.py/pull/4055)]
10+
511
## [5.13.0] - 2023-01-23
612

713
### Updated

Diff for: README.md

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

3434
## Quickstart
3535

36-
`pip install plotly==5.13.0`
36+
`pip install plotly==5.13.1`
3737

3838
Inside [Jupyter](https://jupyter.org/install) (installable with `pip install "jupyterlab>=3" "ipywidgets>=7.6"`):
3939

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

8080
```
81-
pip install plotly==5.13.0
81+
pip install plotly==5.13.1
8282
```
8383

8484
or conda.
8585

8686
```
87-
conda install -c plotly plotly=5.13.0
87+
conda install -c plotly plotly=5.13.1
8888
```
8989

9090
### JupyterLab Support
@@ -106,7 +106,7 @@ The instructions above apply to JupyterLab 3.x. **For JupyterLab 2 or earlier**,
106106

107107
```
108108
# JupyterLab 2.x renderer support
109-
jupyter labextension install [email protected].0 @jupyter-widgets/jupyterlab-manager
109+
jupyter labextension install [email protected].1 @jupyter-widgets/jupyterlab-manager
110110
```
111111

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

Diff for: SECURITY.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
| Version | Supported |
6+
| ------- | ------------------ |
7+
| 5.x | :white_check_mark: |
8+
| < 5.0 | :x: |
9+
10+
## Reporting a Vulnerability
11+
12+
Please email [email protected] with any concerns about security.

Diff for: binder/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
jupytext
2-
plotly==5.13.0
2+
plotly==5.13.1
33
jupyter
44
notebook
55
pandas==1.0.3

Diff for: doc/apidoc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# The short X.Y version
2929
version = ""
3030
# The full version, including alpha/beta/rc tags
31-
release = "5.13.0"
31+
release = "5.13.1"
3232

3333

3434
# -- General configuration ---------------------------------------------------

Diff for: doc/python/getting-started.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ We also encourage you to join the [Plotly Community Forum](http://community.plot
5858
`plotly` may be installed using `pip`:
5959

6060
```
61-
$ pip install plotly==5.13.0
61+
$ pip install plotly==5.13.1
6262
```
6363

6464
or `conda`:
6565

6666
```
67-
$ conda install -c plotly plotly=5.13.0
67+
$ conda install -c plotly plotly=5.13.1
6868
```
6969
This package contains everything you need to write figures to standalone HTML files.
7070

@@ -152,7 +152,7 @@ The instructions above apply to JupyterLab 3.x. **For JupyterLab 2 or earlier**,
152152

153153
```
154154
# JupyterLab 2.x renderer support
155-
jupyter labextension install [email protected].0 @jupyter-widgets/jupyterlab-manager
155+
jupyter labextension install [email protected].1 @jupyter-widgets/jupyterlab-manager
156156
```
157157

158158
Please check out our [Troubleshooting guide](/python/troubleshooting/) if you run into any problems with JupyterLab, particularly if you are using multiple python environments inside Jupyter.

Diff for: doc/requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
plotly==5.13.0
1+
plotly==5.13.1
22
jupytext==1.1.1
33
ipywidgets==7.7.2
44
jupyter-client<7
@@ -36,3 +36,4 @@ nbconvert==5.6.1
3636
orjson
3737
dash-bio
3838
jinja2<3.1
39+
parmed<=3.4.4; python_version<"3.8"

Diff for: environment.yml

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ channels:
55
dependencies:
66
- nodejs=18
77
- python=3.10
8+
- pip=22.3.1
89
- anaconda-client
910
- pandas
1011
- black
@@ -15,3 +16,8 @@ dependencies:
1516
- ipywidgets
1617
- statsmodels
1718
- numpy
19+
- requests
20+
- python-frontmatter
21+
- twine
22+
- pip:
23+
- algoliasearch==1.20

Diff for: migration-guide.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
# Migration to Version 5
2+
See https://community.plotly.com/t/introducing-plotly-py-5-0-0-a-new-federated-jupyter-extension-icicle-charts-and-bar-chart-patterns/54039
3+
14
# Migration to Version 4
2-
See https://plot.ly/python/next/v4-migration/
5+
See https://plotly.com/python/v4-migration/
36

47
# Migration to Version 3
58
There are many new and great features in plotly.py 3.0 including deeper Jupyter integration, deeper figure validation, improved performance, and more. This guide contains a summary of the breaking changes that you need to be aware of when migrating code from version 2 to version 3.
@@ -50,7 +53,7 @@ FigureWidget({
5053
```
5154

5255
## New add trace methods that handle subplots
53-
The legacy `append_trace` method for adding traces to subplots has been deprecated in favor of the new `add_trace`, `add_traces`, and `add_*` methods. Each of these new methods accepts optional row/column information that may be used to add traces to subplots for figures initialized by the `plotly.tools.make_subplots` function.
56+
The legacy `append_trace` method for adding traces to subplots has been deprecated in favor of the new `add_trace`, `add_traces`, and `add_*` methods. Each of these new methods accepts optional row/column information that may be used to add traces to subplots for figures initialized by the `plotly.tools.make_subplots` function.
5457

5558
Let's create a subplot then turn it into a FigureWidget to display in the notebook.
5659

@@ -169,7 +172,7 @@ layout = go.Layout(
169172
```
170173

171174
### New Figure.data Assignment
172-
There are new restriction on the assignment of traces to the `data` property of a figure. The assigned value must be a list or a tuple of a subset of the traces already present in the figure. Assignment to `data` may be used to reorder and remove existing traces, but it may not currently be used to add new traces. New traces must be added using the `add_trace`, `add_traces`, or `add_*` methods.
175+
There are new restriction on the assignment of traces to the `data` property of a figure. The assigned value must be a list or a tuple of a subset of the traces already present in the figure. Assignment to `data` may be used to reorder and remove existing traces, but it may not currently be used to add new traces. New traces must be added using the `add_trace`, `add_traces`, or `add_*` methods.
173176

174177
For example, suppose a figure, `fig`, has 3 traces. The following command is valid and it will move the third trace to be the first, the first trace to be the second, and it will remove the second trace.
175178

@@ -191,7 +194,7 @@ import plotly.graph_objs as go
191194
go.Bar(x=1)
192195
```
193196

194-
This should be replaced by:
197+
This should be replaced by:
195198
```
196199
import plotly.graph_objs as go
197200
go.Bar(x=[1])

0 commit comments

Comments
 (0)