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

Plotlyjs 1.49.0 upgrade #589

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

## [Unreleased] -
### Updated
- Upgraded plotly.js to 1.49.0 [#589](https://github.com/plotly/dash-core-components/pull/589)
- [Feature release 1.49.0](https://github.com/plotly/plotly.js/releases/tag/v1.49.0) which contains:
- New `indicator` trace type for gauge and KPI displays.
- Lots of tile map improvements: `choroplethmapbox` and `densitymapbox` trace types, numerous `style` options for `mapbox` subplots that do not require a Mapbox access token, and more.
- Various bug fixes and smaller improvements.

Marc-Andre-Rivet marked this conversation as resolved.
Show resolved Hide resolved
## [1.0.0] - 2019-06-20
### Added
- `Markdown` components support code highlighting - no need to switch to `SyntaxHighlighter`, which has been removed. Use triple backticks, with the opening backticks followed by the language name or abbreviation. [#562](https://github.com/plotly/dash-core-components/pull/562) Supported languages:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ respectively. TODO:

## Updating Plotly.js

1. Download the latest plotly.js from the cdn: `$ wget https://github.com/plotly/plotly.js/releases/tag/v1.48.3`
1. Download the latest plotly.js from the cdn: `$ wget https://github.com/plotly/plotly.js/releases/tag/v1.49.0`
2. Update `dash_core_components/__init__.py` plotly.js `external_url`
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):
* 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"
Expand Down
4 changes: 2 additions & 2 deletions dash_core_components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@

_js_dist = [
{
'external_url': 'https://cdn.plot.ly/plotly-1.48.3.min.js',
'relative_package_path': 'plotly-1.48.3.min.js',
'external_url': 'https://cdn.plot.ly/plotly-1.49.0.min.js',
'relative_package_path': 'plotly-1.49.0.min.js',
'namespace': 'dash_core_components'
},
{
Expand Down
7 changes: 0 additions & 7 deletions dash_core_components/plotly-1.48.3.min.js

This file was deleted.

7 changes: 7 additions & 0 deletions dash_core_components/plotly-1.49.0.min.js

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions inst/deps/plotly-1.47.0.min.js

This file was deleted.

7 changes: 0 additions & 7 deletions inst/deps/plotly-1.48.3.min.js

This file was deleted.

7 changes: 7 additions & 0 deletions inst/deps/plotly-1.49.0.min.js

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions src/components/Graph.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,13 @@ const graphPropTypes = {
'reset+autosize',
]),

/**
* Delay for registering a double-click event in ms. The
* minimum value is 100 and the maximum value is 1000. By
* default this is 300.
*/
doubleClickDelay: PropTypes.number,

/**
* New users see some hints about interactivity
*/
Expand Down Expand Up @@ -517,6 +524,14 @@ const graphPropTypes = {
*/
showSendToCloud: PropTypes.bool,

/**
* Should we show a modebar button to send this data to a
* Plotly Chart Studio plot. If both this and showSendToCloud
* are selected, only showEditInChartStudio will be
* honored. By default this is false.
*/
showEditInChartStudio: PropTypes.bool,

/**
* Remove mode bar button by name.
* All modebar button names at https://github.com/plotly/plotly.js/blob/master/src/components/modebar/buttons.js
Expand Down