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 2 commits into from Mar 1, 2018
Changes from 1 commit
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now


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](

## [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](
See 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:

- Add constraint-type contours to `contour` traces []
- Add `notched` and `notchwidth` attributes to `box` traces []
- Add localization machinery to auto-formatted date axis ticks []
- Add support for `text` in `mesh3d` traces []
- Add support for scalar `text` in `surface` traces []
- Make mode bar for graphs with multiple subplot types more usable []

### 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 []
- Fix multi-marker `scattergl` selection errors (bug introduced in `1.33.0`) []
- Fix trace `opacity` restyle for `scattergl` traces (bug introduced in `1.33.0`) []
- Fix `scattergl` handling of `selectedpoints` across multiple traces []
- Fix `scattergl` horizontal and vertical line rendering []
- Fix `table` when content-less cells and headers are supplied []
- Fix `hoverformat` on `visible: false` cartesian axes (bug introduced in `1.33.0`) []
- Fix handling of double negative translate transform values []
- Fix compare `hovermode` fallback for non-cartesian subplot types []

## [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': '',
'relative_package_path': 'plotly-1.33.1.min.js',
'external_url': '',
'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.