Skip to content

Commit b64eb7b

Browse files
Upgrade Plotly.js to 1.47.0 (plotly#516)
1 parent b54e422 commit b64eb7b

File tree

7 files changed

+29
-15
lines changed

7 files changed

+29
-15
lines changed

packages/dash-core-components/CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1616
- Ensure `DatePickerSingle` callbacks fire with cleared dates. [#511](https://github.com/plotly/dash-core-components/pull/511)
1717
- Fixes incorrect default values for `config` prop of `Graph`. [#515](https://github.com/plotly/dash-core-components/pull/515)
1818

19+
### Updated
20+
- Upgraded plotly.js to 1.47.0 [#516](https://github.com/plotly/dash-core-components/pull/516)
21+
- [Feature release 1.47.0](https://github.com/plotly/plotly.js/releases/tag/v1.47.0) which contains:
22+
- New `volume` gl3d trace type
23+
- Interactive node grouping for Sankey diagrams, using box or lasso selection
24+
- Add way for Plotly.toImage and Plotly.downloadImage to export images with current graph width/height by passing width/height option as null
25+
- Improvements to hover labels, legends, and more
26+
- [Feature release 1.46.0](https://github.com/plotly/plotly.js/releases/tag/v1.46.0) which contains:
27+
- New `waterfall` trace type
28+
- New `sunburst` trace type
29+
- Implement connectgaps on surface traces
30+
- Implement hovertemplate for box and violin points
31+
- Display hover labels above modebar, ensuring that the hover labels are always visible within the graph div
32+
- Patch releases [1.46.1](https://github.com/plotly/plotly.js/releases/tag/v1.46.1), [1.45.3](https://github.com/plotly/plotly.js/releases/tag/v1.45.3), [1.45.2](https://github.com/plotly/plotly.js/releases/tag/v1.45.2), and [1.45.1](https://github.com/plotly/plotly.js/releases/tag/v1.45.1) containing numerous bug fixes
33+
1934
## [0.45.0] - 2019-03-25
2035
### Added
2136
- `restyleData` prop for `Graph` component [#483](https://github.com/plotly/dash-core-components/pull/483)

packages/dash-core-components/CONTRIBUTING.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,14 @@ respectively. TODO:
7878
7979
## Updating Plotly.js
8080
81-
1. Download the latest plotly.js from the cdn: `$ wget https://github.com/plotly/plotly.js/releases/tag/v1.45.0`
81+
1. Download the latest plotly.js from the cdn: `$ wget https://github.com/plotly/plotly.js/releases/tag/v1.47.0`
8282
2. Update `dash_core_components/__init__.py` plotly.js `external_url`
83-
3. Update `MANIFEST.in`
84-
4. Update `CHANGELOG.md` with links to the releases and a description of the changes. The message should state (see the existing `CHANGELOG.md` for examples):
83+
3. Update `CHANGELOG.md` with links to the releases and a description of the changes. The message should state (see the existing `CHANGELOG.md` for examples):
8584
* If you're only bumping the patch level, the heading is "Fixed" and the text starts "Patched plotly.js". Otherwise the heading is "Updated" and the text starts "Upgraded plotly.js"
8685
* The new plotly.js version number, and the PR in which this was done
8786
* All major or minor versions included, with links to their release pages and a summary of the major new features in each. If there are multiple minor/major releases included, be sure to look at all of their release notes to construct the summary. Call minor versions "feature" versions for the benefit of users not steeped in semver terminology.
8887
* All patch versions included, with links to their release pages and a note that these fix bugs
89-
5. When bumping the dcc version, a plotly.js patch/minor/major constitutes a dcc patch/minor/major respectively as well.
88+
4. When bumping the dcc version, a plotly.js patch/minor/major constitutes a dcc patch/minor/major respectively as well.
9089

9190
## Financial Contributions
9291

packages/dash-core-components/MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include dash_core_components/dash_core_components.dev.js.map
55
include dash_core_components/metadata.json
66
include dash_core_components/[email protected]
77
include dash_core_components/[email protected]
8-
include dash_core_components/plotly-1.45.0.min.js
8+
include dash_core_components/plotly-*.min.js
99
include dash_core_components/[email protected]
1010
include dash_core_components/[email protected]
1111
include dash_core_components/[email protected]

packages/dash-core-components/R/internal.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
deps_metadata <- list(`dash_core_components_0` = structure(list(name = "dash_core_components_0",
33
version = "0", src = list(href = NULL,
44
file = "deps"), meta = NULL,
5-
script = "plotly-1.45.0.min.js",
5+
script = "plotly-1.47.0.min.js",
66
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
77
all_files = FALSE), class = "html_dependency"),
88
`dash_core_components` = structure(list(name = "dash_core_components",

packages/dash-core-components/dash_core_components/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535

3636
_js_dist = [
3737
{
38-
'external_url': 'https://cdn.plot.ly/plotly-1.45.0.min.js',
39-
'relative_package_path': 'plotly-1.45.0.min.js',
38+
'external_url': 'https://cdn.plot.ly/plotly-1.47.0.min.js',
39+
'relative_package_path': 'plotly-1.47.0.min.js',
4040
'namespace': 'dash_core_components'
4141
},
4242
{

packages/dash-core-components/dash_core_components/plotly-1.45.0.min.js

-7
This file was deleted.

packages/dash-core-components/dash_core_components/plotly-1.47.0.min.js

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)