Skip to content

Commit 33d2ddb

Browse files
authored
Release 3.2.1 (#1171)
* Bump plotly.py version to 3.2.1rc1 plotlywidget has not change since 0.3.0 so no change there. * Added initial 3.2.1 changelog and updated README instructions for 3.2.1rc1 * Fix conda install instructions to add test label [skip ci] * Fix installation typos * JupyterLab 0.34 requires Python 3.5+ * Bump version to 3.2.1 final
1 parent 1e4a3c7 commit 33d2ddb

File tree

3 files changed

+53
-6
lines changed

3 files changed

+53
-6
lines changed

Diff for: CHANGELOG.md

+47
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,53 @@
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+
## [3.2.1] - 2018-09-14
6+
This is a patch release that fixes a few bugs and reintroduces a few
7+
version 2 features that were not supported in version 3.
8+
9+
The bundled version of plotly.js remains at 1.40.1
10+
11+
### JupyterLab Versions
12+
For use with JupyterLab, the following versions of the following packages
13+
must be installed:
14+
15+
- Python Packages
16+
- plotly==3.2.1
17+
- ipywidgets>=7.2
18+
- notebook>=5.3
19+
- jupyterlab==0.34
20+
21+
- JupyterLab Extensions
22+
23+
- @jupyter-widgets/jupyterlab-manager@0.37
24+
- @jupyterlab/plotly-extension@0.17
25+
26+
### Added
27+
- An optional `skip_invalid` argument has been added to the `Figure` and
28+
`FigureWidget` constructors. By default, `skip_invalid` is `False` and invalid
29+
figure properties will result in an exception (this is identical to the
30+
previous behavior). When `skip_invalid` is set to `True`, invalid properties
31+
will instead be silently ignored. This argument replaces the `_raise`
32+
argument that was available in version 2, and makes it possible to import
33+
figure definitions from different plotly versions, where incompatible
34+
properties are ignored rather than causing an exception.
35+
- A `to_ordered_dict` method has been added to the `Figure` and `FigureWidget`
36+
classes. This method returns a representation of the figure as a nested
37+
structure of `OrdererdDict` and `list` instances where the keys in each
38+
`OrderedDict` are sorted alphabetically. This method replaces the
39+
`get_ordered` method that was available in version 2, and makes it possible
40+
to traverse the nested structure of a figure in a deterministic order.
41+
42+
### Fixed
43+
- Pandas `Series` and `Index` objects storing `datetime` values were
44+
incorrectly cast to numeric arrays
45+
([plotly/plotly.py#1160](https://github.com/plotly/plotly.py/issues/1160),
46+
[plotly/plotly.py#1163](https://github.com/plotly/plotly.py/pull/1163))
47+
- Numpy arrays with `uint64` datatype caused a `FigureWidget` error,
48+
and no figure was displayed
49+
([plotly/plotly.py#1155](https://github.com/plotly/plotly.py/issues/1155),
50+
[plotly/plotly.py#1163](https://github.com/plotly/plotly.py/pull/1163))
51+
552
## [3.2.0] - 2018-09-05
653
This release introduces the long-anticipated ability to programmatically
754
export figures as high quality static images in both raster and vector

Diff for: README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
5454

5555
plotly.py may be installed using pip...
5656
```
57-
pip install plotly==3.2.0
57+
pip install plotly==3.2.1
5858
```
5959

6060
or conda.
6161
```
62-
conda install -c plotly plotly=3.2.0
62+
conda install -c plotly plotly=3.2.1
6363
```
6464

6565
### Jupyter Notebook Support
@@ -70,21 +70,21 @@ packages using pip...
7070
pip install "notebook>=5.3" "ipywidgets>=7.2"
7171
```
7272

73-
of conda.
73+
or conda.
7474

7575
```
7676
conda install "notebook>=5.3" "ipywidgets>=7.2"
7777
```
7878

79-
### JupyterLab Support
79+
### JupyterLab Support (Python 3.5+)
8080
For use in JupyterLab, install the `jupyterlab` and `ipywidgets`
8181
packages using pip...
8282

8383
```
8484
pip install jupyterlab==0.34 "ipywidgets>=7.2"
8585
```
8686

87-
of conda.
87+
or conda.
8888

8989
```
9090
conda install jupyterlab=0.34 "ipywidgets>=7.2"

Diff for: plotly/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '3.2.0'
1+
__version__ = '3.2.1'
22
__frontend_version__ = '^0.3.0'
33

44

0 commit comments

Comments
 (0)