Skip to content

Release 3.9.0 #1552

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 7 commits into from
May 6, 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
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,57 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.9.0] - 2019-04-19

### Updated
- Updated Plotly.js to version 1.47.4. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1474----2019-04-25)
for more information.


### Added
- Added "magic underscore" support for specifying nested figure properties
([#1534](https://github.com/plotly/plotly.py/pull/1534))
- Added `select_traces`, `for_each_trace`, and `update_traces` figure
methods for accessing and updating traces by subplot location and trace
properties
([#1534](https://github.com/plotly/plotly.py/pull/1534))
- Added `select_*`, `for_each_*`, and `update_*` figure methods for
accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc)
([#1548](https://github.com/plotly/plotly.py/pull/1548))
- Added support for Dash Design Kit style color specifications
([#1541](https://github.com/plotly/plotly.py/pull/1541)). Thanks to
[@wbrgss](https://github.com/wbrgss) for this contribution!
- Added support for the `plotly_unselect` plotly.js event in a new
`on_unselect` trace method
([#1542](https://github.com/plotly/plotly.py/pull/1542)). Thanks to
[@denphi](https://github.com/denphi) for this contribution!

### Changed
- Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
([#1274](https://github.com/plotly/plotly.py/issues/1274),
[#1549](https://github.com/plotly/plotly.py/pull/1549))
- Reordered the default colorway for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
([#1549](https://github.com/plotly/plotly.py/pull/1549))

### Fixed
- Fixed package listing in setup.py
([#1543](https://github.com/plotly/plotly.py/pull/1543)). Thanks to
[@jakevdp](https://github.com/jakevdp) for this contribution!
- Fixed built-in templates so that `heatmap` colorscales can be overridden
without specifying `autocolorscale=False`
([#1454](https://github.com/plotly/plotly.py/issues/1454),
[#1549](https://github.com/plotly/plotly.py/pull/1549))
- Fix `UnboundLocalError` error in the presence of a missing or corrupt
`~/.plotly/.config` file
([#1551](https://github.com/plotly/plotly.py/pull/1551))
- Fixed error when combining `sankey` traces with cartesian subplots
([#1527](https://github.com/plotly/plotly.py/issues/1527),
[plotly/plotly.js#3802](https://github.com/plotly/plotly.js/pull/3802))


## [3.8.1] - 2019-04-19

### Updated
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.8.1
pip install plotly==3.9.0
```

or conda.
```
conda install -c plotly plotly=3.8.1
conda install -c plotly plotly=3.9.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/[email protected] --no-build

# FigureWidget support
jupyter labextension install plotlywidget@0.9.1 --no-build
jupyter labextension install plotlywidget@0.10.0 --no-build

# offline iplot support
jupyter labextension install @jupyterlab/[email protected] --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.9.1",
"version": "0.10.0",
"description": "The plotly.py ipywidgets library",
"author": "The plotly.py team",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion plotly/_widget_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# for automated dev builds
#
# It is edited by hand prior to official releases
__frontend_version__ = '0.9.1'
__frontend_version__ = '^0.10.0'
2 changes: 1 addition & 1 deletion plotlywidget/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12642,7 +12642,7 @@ module.exports = function identity(d) { return d; };
/* 19 */
/***/ (function(module, exports) {

module.exports = {"name":"plotlywidget","version":"0.9.1","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.47.4","@jupyter-widgets/base":"^1.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin"}}
module.exports = {"name":"plotlywidget","version":"0.10.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.47.4","@jupyter-widgets/base":"^1.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin"}}

/***/ }),
/* 20 */
Expand Down