Skip to content

Release 3.5.0 #1387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,62 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.5.0] - 2019-01-04

### Updated
- Updated Plotly.js to version 1.43.1. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1431----2018-12-21)
for more information.

### Changed
- Plotly.js 1.43 converted `title` properties (e.g. `layout.title`) from
strings into compound objects that contain the text as the `text` property
along with new title placement attributes `x`, `y`, `xref`, `yref`, `xanchor`,
`yanchor` and `pad`. Plotly.py 3.5.0 follows the new schema, but still
supports specifying `title` as a string, in which case the string is assigned
to the `title.text` property
([#1302](https://github.com/plotly/plotly.py/issues/1302))
- Plotly.js 1.43 also moved existing `title*` properties
(e.g. `layout.titlefont`) under the `title` object (e.g. `layout.title.font`).
Plotly.py 3.5.0 follows the new schema, but still
supports the legacy `title*` properties by mapping them to the corresponding
`title.*` property
([#1302](https://github.com/plotly/plotly.py/issues/1302))
- The `update` method on `graph_objs` now returns the updated object in order
to support chaining multiple update operations together
([#1379](https://github.com/plotly/plotly.py/issues/1379))
- The `show_link` option has been set to `False` by default in the offline
`plot` and `iplot` functions. Now that the "send data to cloud" button has
been disabled by default in plotly.js 1.43.0, no buttons/links will be
displayed by default that result in data being sent off of the local machine
([#1304](https://github.com/plotly/plotly.py/issues/1304))
- `config` options that are not known by plotly.py result in a warning but are
still passed along to plotly.js. Prior to this change these unknown options
were dropped silently
([#1290](https://github.com/plotly/plotly.py/issues/1290))
- Built-in themes now specify colorscales using the new global
`layout.colorscale` properties. Previously the colorscales were defined for
each trace type individually. This reduces the size of the resulting theme
files
([#1303](https://github.com/plotly/plotly.py/issues/1303))
- Increased the maximum retry time of the orca integration from 8s to 30s
([#1297](https://github.com/plotly/plotly.py/issues/1297))

### Fixed
- Fixed `FigureWidget` performance regression that, when working with
large datasets, resulted in a slight freeze of the widget after user
interactions (pan, zoom, etc)
([1305](https://github.com/plotly/plotly.py/issues/1305))
- Fix orca error when the `ELECTRON_RUN_AS_NODE` environment variable is set
([#1293](https://github.com/plotly/plotly.py/issues/1293))
- The `'responsive'` config key was being silently blocked
([#1290](https://github.com/plotly/plotly.py/issues/1290))
- Fixed error when using unicode characters in string properties on Python 2
([#1289](https://github.com/plotly/plotly.py/issues/1289))
- Removed invalid calls to non-existent `validate` and `strip_style` `Figure`
methods in matplotlylib conversion logic
([#1128](https://github.com/plotly/plotly.py/issues/1128))

## [3.4.2] - 2018-11-23

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is

plotly.py may be installed using pip...
```
pip install plotly==3.4.2
pip install plotly==3.5.0
```

or conda.
```
conda install -c plotly plotly=3.4.2
conda install -c plotly plotly=3.5.0
```

### Jupyter Notebook Support
Expand Down Expand Up @@ -126,7 +126,7 @@ set NODE_OPTIONS=--max-old-space-size=4096
jupyter labextension install @jupyter-widgets/jupyterlab-manager@0.38 --no-build

# FigureWidget support
jupyter labextension install plotlywidget@0.5.2 --no-build
jupyter labextension install plotlywidget@0.6.0 --no-build

# offline iplot support
jupyter labextension install @jupyterlab/plotly-extension@0.18.1 --no-build
Expand Down
2 changes: 1 addition & 1 deletion js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plotlywidget",
"version": "0.5.2",
"version": "0.6.0",
"description": "The plotly.py ipywidgets library",
"author": "The plotly.py team",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions plotly/version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__version__ = '3.4.2'
__frontend_version__ = '^0.5.2'
__version__ = '3.5.0'
__frontend_version__ = '^0.6.0'


def stable_semver():
Expand Down
2 changes: 1 addition & 1 deletion plotlywidget/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12646,7 +12646,7 @@ module.exports = function identity(d) { return d; };
/* 19 */
/***/ (function(module, exports) {

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"}}
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"}}

/***/ }),
/* 20 */
Expand Down
2 changes: 1 addition & 1 deletion plotlywidget/static/index.js.map

Large diffs are not rendered by default.