Skip to content

Commit bcf4a2a

Browse files
authored
Release 3.5.0 (#1387)
1 parent 568f577 commit bcf4a2a

File tree

7 files changed

+65
-9
lines changed

7 files changed

+65
-9
lines changed

Diff for: CHANGELOG.md

+56
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,62 @@
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.5.0] - 2019-01-04
6+
7+
### Updated
8+
- Updated Plotly.js to version 1.43.1. See the
9+
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1431----2018-12-21)
10+
for more information.
11+
12+
### Changed
13+
- Plotly.js 1.43 converted `title` properties (e.g. `layout.title`) from
14+
strings into compound objects that contain the text as the `text` property
15+
along with new title placement attributes `x`, `y`, `xref`, `yref`, `xanchor`,
16+
`yanchor` and `pad`. Plotly.py 3.5.0 follows the new schema, but still
17+
supports specifying `title` as a string, in which case the string is assigned
18+
to the `title.text` property
19+
([#1302](https://github.com/plotly/plotly.py/issues/1302))
20+
- Plotly.js 1.43 also moved existing `title*` properties
21+
(e.g. `layout.titlefont`) under the `title` object (e.g. `layout.title.font`).
22+
Plotly.py 3.5.0 follows the new schema, but still
23+
supports the legacy `title*` properties by mapping them to the corresponding
24+
`title.*` property
25+
([#1302](https://github.com/plotly/plotly.py/issues/1302))
26+
- The `update` method on `graph_objs` now returns the updated object in order
27+
to support chaining multiple update operations together
28+
([#1379](https://github.com/plotly/plotly.py/issues/1379))
29+
- The `show_link` option has been set to `False` by default in the offline
30+
`plot` and `iplot` functions. Now that the "send data to cloud" button has
31+
been disabled by default in plotly.js 1.43.0, no buttons/links will be
32+
displayed by default that result in data being sent off of the local machine
33+
([#1304](https://github.com/plotly/plotly.py/issues/1304))
34+
- `config` options that are not known by plotly.py result in a warning but are
35+
still passed along to plotly.js. Prior to this change these unknown options
36+
were dropped silently
37+
([#1290](https://github.com/plotly/plotly.py/issues/1290))
38+
- Built-in themes now specify colorscales using the new global
39+
`layout.colorscale` properties. Previously the colorscales were defined for
40+
each trace type individually. This reduces the size of the resulting theme
41+
files
42+
([#1303](https://github.com/plotly/plotly.py/issues/1303))
43+
- Increased the maximum retry time of the orca integration from 8s to 30s
44+
([#1297](https://github.com/plotly/plotly.py/issues/1297))
45+
46+
### Fixed
47+
- Fixed `FigureWidget` performance regression that, when working with
48+
large datasets, resulted in a slight freeze of the widget after user
49+
interactions (pan, zoom, etc)
50+
([1305](https://github.com/plotly/plotly.py/issues/1305))
51+
- Fix orca error when the `ELECTRON_RUN_AS_NODE` environment variable is set
52+
([#1293](https://github.com/plotly/plotly.py/issues/1293))
53+
- The `'responsive'` config key was being silently blocked
54+
([#1290](https://github.com/plotly/plotly.py/issues/1290))
55+
- Fixed error when using unicode characters in string properties on Python 2
56+
([#1289](https://github.com/plotly/plotly.py/issues/1289))
57+
- Removed invalid calls to non-existent `validate` and `strip_style` `Figure`
58+
methods in matplotlylib conversion logic
59+
([#1128](https://github.com/plotly/plotly.py/issues/1128))
60+
561
## [3.4.2] - 2018-11-23
662

763
### Fixed

Diff for: README.md

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

7979
plotly.py may be installed using pip...
8080
```
81-
pip install plotly==3.4.2
81+
pip install plotly==3.5.0
8282
```
8383

8484
or conda.
8585
```
86-
conda install -c plotly plotly=3.4.2
86+
conda install -c plotly plotly=3.5.0
8787
```
8888

8989
### Jupyter Notebook Support
@@ -126,7 +126,7 @@ set NODE_OPTIONS=--max-old-space-size=4096
126126
jupyter labextension install @jupyter-widgets/[email protected] --no-build
127127
128128
# FigureWidget support
129-
jupyter labextension install plotlywidget@0.5.2 --no-build
129+
jupyter labextension install plotlywidget@0.6.0 --no-build
130130
131131
# offline iplot support
132132
jupyter labextension install @jupyterlab/[email protected] --no-build

Diff for: js/package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plotlywidget",
3-
"version": "0.5.2",
3+
"version": "0.6.0",
44
"description": "The plotly.py ipywidgets library",
55
"author": "The plotly.py team",
66
"license": "MIT",

Diff for: plotly/version.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
__version__ = '3.4.2'
2-
__frontend_version__ = '^0.5.2'
1+
__version__ = '3.5.0'
2+
__frontend_version__ = '^0.6.0'
33

44

55
def stable_semver():

Diff for: plotlywidget/static/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12646,7 +12646,7 @@ module.exports = function identity(d) { return d; };
1264612646
/* 19 */
1264712647
/***/ (function(module, exports) {
1264812648

12649-
module.exports = {"name":"plotlywidget","version":"0.5.2","description":"The plotly.py ipywidgets library","author":"The plotly.py team","license":"MIT","main":"src/index.js","repository":{"type":"git","url":"https://github.com/plotly/plotly.py"},"keywords":["jupyter","widgets","ipython","ipywidgets","plotly"],"files":["src/**/*.js","dist/*.js"],"scripts":{"clean":"rimraf dist/ && rimraf ../plotlywidget/static","prepublish":"webpack","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"webpack":"^3.10.0","rimraf":"^2.6.1","ify-loader":"^1.1.0"},"dependencies":{"plotly.js":"1.43.1","@jupyter-widgets/base":"^1.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin"}}
12649+
module.exports = {"name":"plotlywidget","version":"0.6.0","description":"The plotly.py ipywidgets library","author":"The plotly.py team","license":"MIT","main":"src/index.js","repository":{"type":"git","url":"https://github.com/plotly/plotly.py"},"keywords":["jupyter","widgets","ipython","ipywidgets","plotly"],"files":["src/**/*.js","dist/*.js"],"scripts":{"clean":"rimraf dist/ && rimraf ../plotlywidget/static","prepublish":"webpack","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"webpack":"^3.10.0","rimraf":"^2.6.1","ify-loader":"^1.1.0"},"dependencies":{"plotly.js":"1.43.1","@jupyter-widgets/base":"^1.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin"}}
1265012650

1265112651
/***/ }),
1265212652
/* 20 */

Diff for: plotlywidget/static/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)