Skip to content
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

swap out `Plotly.newPlot` with `Plotly.react` #170

Merged
merged 2 commits into from Mar 1, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Prev

upgrade plotly.js

  • Loading branch information...
chriddyp committed Mar 1, 2018
commit 9c744dd6de568c59734d9c81c81900329790045d
@@ -2,6 +2,37 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [0.20.0] - 2018-03-01
### Added
- Upgraded Plotly.js, the underlying library behind the
`dash_core_components.Graph` component, to [version 1.34.0](https://github.com/plotly/plotly.js/releases/tag/v1.34.0).
See https://github.com/plotly/plotly.js/releases/tag/v1.34.0 for the official notes.

Many of these features were funded directly by companies that rely on this library.
If your organization or company would like to sponsor particular features or
bug fixes in these open source libraries, please reach out: http://plot.ly/products/consulting-and-oem

- Add constraint-type contours to `contour` traces [https://github.com/plotly/plotly.js/pull/2270]
- Add `notched` and `notchwidth` attributes to `box` traces [https://github.com/plotly/plotly.js/pull/2305]
- Add localization machinery to auto-formatted date axis ticks [https://github.com/plotly/plotly.js/pull/2261]
- Add support for `text` in `mesh3d` traces [https://github.com/plotly/plotly.js/pull/2327]
- Add support for scalar `text` in `surface` traces [https://github.com/plotly/plotly.js/pull/2327]
- Make mode bar for graphs with multiple subplot types more usable [https://github.com/plotly/plotly.js/pull/2339]

### Fixed
- The `Graph` component now uses `Plotly.react` instead of `Plotly.newPlot`. This should fix issues when repeatedly updating GL chart types (`surface`, `scatter3d`, `scattergl`). #170
- Many other bug fixes from the PLotly.js upgrade, including:
- Prevent page scroll on mobile device on `gl2d` and `gl3d` subplots [https://github.com/plotly/plotly.js/pull/2296]
- Fix multi-marker `scattergl` selection errors (bug introduced in `1.33.0`) [https://github.com/plotly/plotly.js/pull/2295]
- Fix trace `opacity` restyle for `scattergl` traces (bug introduced in `1.33.0`) [https://github.com/plotly/plotly.js/pull/2299]
- Fix `scattergl` handling of `selectedpoints` across multiple traces [https://github.com/plotly/plotly.js/pull/2311]
- Fix `scattergl` horizontal and vertical line rendering [https://github.com/plotly/plotly.js/pull/2340]
- Fix `table` when content-less cells and headers are supplied [https://github.com/plotly/plotly.js/pull/2314]
- Fix `hoverformat` on `visible: false` cartesian axes (bug introduced in `1.33.0`) [https://github.com/plotly/plotly.js/pull/2329]
- Fix handling of double negative translate transform values [https://github.com/plotly/plotly.js/pull/2339]
- Fix compare `hovermode` fallback for non-cartesian subplot types [https://github.com/plotly/plotly.js/pull/2339]


## [0.19.0] - 2018-02-11
### Changed
- `PropTypes` now uses `prop-types` package instead of `React` to support move to React 16+
@@ -14,8 +14,8 @@

_js_dist = [
{
'external_url': 'https://cdn.plot.ly/plotly-1.33.1.min.js',
'relative_package_path': 'plotly-1.33.1.min.js',
'external_url': 'https://cdn.plot.ly/plotly-1.34.0.min.js',
'relative_package_path': 'plotly-1.34.0.min.js',
'namespace': 'dash_core_components'
},
{

This file was deleted.

Large diffs are not rendered by default.

@@ -1 +1 @@
__version__ = '0.19.0'
__version__ = '0.20.0'
@@ -1,6 +1,6 @@
{
"name": "dash-core-components",
"version": "0.19.0",
"version": "0.20.0",
"description": "Core component suite for Dash",
"repository": {
"type": "git",
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.