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

Commit 7afc9aa

Browse files
author
Shammamah Hossain
committed
Change local plotly.js package to 1.49.0 minor release.
Add auto-generated files. Update CHANGELOG. Add link to PR. Revert "Add auto-generated files." This reverts commit 1a34c46. Update external and local package locations. Update CONTRIBUTING.md. Remove old plotly.js dependency files. feature summary for plotly.js 1.49 Add config options from plotly.js 1.49.0 release. doubleClickDelay and showEditInChartStudio. Add information about defaults and min/max to new props. Update CHANGELOG.md Co-Authored-By: Marc-André Rivet <[email protected]> Fix formatting.
1 parent 8fa14ef commit 7afc9aa

File tree

9 files changed

+40
-24
lines changed

9 files changed

+40
-24
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
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+
## [Unreleased] -
6+
### Updated
7+
- Upgraded plotly.js to 1.49.0 [#589](https://github.com/plotly/dash-core-components/pull/589)
8+
- [Feature release 1.49.0](https://github.com/plotly/plotly.js/releases/tag/v1.49.0) which contains:
9+
- New `indicator` trace type for gauge and KPI displays.
10+
- 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.
11+
- Various bug fixes and smaller improvements.
12+
513
## [1.0.0] - 2019-06-20
614
### Added
715
- `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:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ 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.48.3`
81+
1. Download the latest plotly.js from the cdn: `$ wget https://github.com/plotly/plotly.js/releases/tag/v1.49.0`
8282
2. Update `dash_core_components/__init__.py` plotly.js `external_url`
8383
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):
8484
* 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"

dash_core_components/__init__.py

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

4343
_js_dist = [
4444
{
45-
'external_url': 'https://cdn.plot.ly/plotly-1.48.3.min.js',
46-
'relative_package_path': 'plotly-1.48.3.min.js',
45+
'external_url': 'https://cdn.plot.ly/plotly-1.49.0.min.js',
46+
'relative_package_path': 'plotly-1.49.0.min.js',
4747
'namespace': 'dash_core_components'
4848
},
4949
{

dash_core_components/plotly-1.48.3.min.js

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

dash_core_components/plotly-1.49.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.

inst/deps/plotly-1.47.0.min.js

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

inst/deps/plotly-1.48.3.min.js

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

inst/deps/plotly-1.49.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.

src/components/Graph.react.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,13 @@ const graphPropTypes = {
474474
'reset+autosize',
475475
]),
476476

477+
/**
478+
* Delay for registering a double-click event in ms. The
479+
* minimum value is 100 and the maximum value is 1000. By
480+
* default this is 300.
481+
*/
482+
doubleClickDelay: PropTypes.number,
483+
477484
/**
478485
* New users see some hints about interactivity
479486
*/
@@ -517,6 +524,14 @@ const graphPropTypes = {
517524
*/
518525
showSendToCloud: PropTypes.bool,
519526

527+
/**
528+
* Should we show a modebar button to send this data to a
529+
* Plotly Chart Studio plot. If both this and showSendToCloud
530+
* are selected, only showEditInChartStudio will be
531+
* honored. By default this is false.
532+
*/
533+
showEditInChartStudio: PropTypes.bool,
534+
520535
/**
521536
* Remove mode bar button by name.
522537
* All modebar button names at https://github.com/plotly/plotly.js/blob/master/src/components/modebar/buttons.js

0 commit comments

Comments
 (0)