Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 741313c

Browse files
committed
upgrade plotly.js
1 parent 08e77fa commit 741313c

File tree

6 files changed

+42
-11
lines changed

6 files changed

+42
-11
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,37 @@
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+
## [0.20.0] - 2018-03-01
6+
### Added
7+
- Upgraded Plotly.js, the underlying library behind the
8+
`dash_core_components.Graph` component, to [version 1.34.0](https://github.com/plotly/plotly.js/releases/tag/v1.34.0).
9+
See https://github.com/plotly/plotly.js/releases/tag/v1.34.0 for the official notes.
10+
11+
Many of these features were funded directly by companies that rely on this library.
12+
If your organization or company would like to sponsor particular features or
13+
bug fixes in these open source libraries, please reach out: http://plot.ly/products/consulting-and-oem
14+
15+
- Add constraint-type contours to `contour` traces [https://github.com/plotly/plotly.js/pull/2270]
16+
- Add `notched` and `notchwidth` attributes to `box` traces [https://github.com/plotly/plotly.js/pull/2305]
17+
- Add localization machinery to auto-formatted date axis ticks [https://github.com/plotly/plotly.js/pull/2261]
18+
- Add support for `text` in `mesh3d` traces [https://github.com/plotly/plotly.js/pull/2327]
19+
- Add support for scalar `text` in `surface` traces [https://github.com/plotly/plotly.js/pull/2327]
20+
- Make mode bar for graphs with multiple subplot types more usable [https://github.com/plotly/plotly.js/pull/2339]
21+
22+
### Fixed
23+
- 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
24+
- Many other bug fixes from the PLotly.js upgrade, including:
25+
- Prevent page scroll on mobile device on `gl2d` and `gl3d` subplots [https://github.com/plotly/plotly.js/pull/2296]
26+
- Fix multi-marker `scattergl` selection errors (bug introduced in `1.33.0`) [https://github.com/plotly/plotly.js/pull/2295]
27+
- Fix trace `opacity` restyle for `scattergl` traces (bug introduced in `1.33.0`) [https://github.com/plotly/plotly.js/pull/2299]
28+
- Fix `scattergl` handling of `selectedpoints` across multiple traces [https://github.com/plotly/plotly.js/pull/2311]
29+
- Fix `scattergl` horizontal and vertical line rendering [https://github.com/plotly/plotly.js/pull/2340]
30+
- Fix `table` when content-less cells and headers are supplied [https://github.com/plotly/plotly.js/pull/2314]
31+
- Fix `hoverformat` on `visible: false` cartesian axes (bug introduced in `1.33.0`) [https://github.com/plotly/plotly.js/pull/2329]
32+
- Fix handling of double negative translate transform values [https://github.com/plotly/plotly.js/pull/2339]
33+
- Fix compare `hovermode` fallback for non-cartesian subplot types [https://github.com/plotly/plotly.js/pull/2339]
34+
35+
536
## [0.19.0] - 2018-02-11
637
### Changed
738
- `PropTypes` now uses `prop-types` package instead of `React` to support move to React 16+

dash_core_components/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
_js_dist = [
1616
{
17-
'external_url': 'https://cdn.plot.ly/plotly-1.33.1.min.js',
18-
'relative_package_path': 'plotly-1.33.1.min.js',
17+
'external_url': 'https://cdn.plot.ly/plotly-1.34.0.min.js',
18+
'relative_package_path': 'plotly-1.34.0.min.js',
1919
'namespace': 'dash_core_components'
2020
},
2121
{

dash_core_components/plotly-1.33.1.min.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

dash_core_components/plotly-1.34.0.min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_core_components/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.19.0'
1+
__version__ = '0.20.0'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dash-core-components",
3-
"version": "0.19.0",
3+
"version": "0.20.0",
44
"description": "Core component suite for Dash",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)