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

Commit 10aa10e

Browse files
Issue 691 - Update plotlyjs (#693)
1 parent e0af839 commit 10aa10e

File tree

5 files changed

+54
-46
lines changed

5 files changed

+54
-46
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
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+
- [#693](https://github.com/plotly/dash-core-components/pull/693) Upgraded plotly.js to 1.51.1
8+
- [Feature release 1.51.0](https://github.com/plotly/plotly.js/releases/tag/v1.51.0) which contains:
9+
- A new `image` trace type to display 3- or 4-channel color images as data
10+
- `automargin` for `pie` charts for better readability when labeling lots of small slices
11+
- Toggle-type `updatemenus`
12+
- `zh-CN` localization
13+
- And various other small features and bug fixes
14+
- Patch release [1.51.1](https://github.com/plotly/plotly.js/releases/tag/v1.51.1) containing several bug fixes.
15+
516
## [1.4.0] - 2019-10-29
617
### Added
718
- [#616](https://github.com/plotly/dash-core-components/pull/616) Async Graph and Plotly.js

dash_core_components_base/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@
8080
'dynamic': True
8181
},
8282
{
83-
'relative_package_path': 'plotly-1.50.1.min.js',
83+
'relative_package_path': 'plotly-1.51.1.min.js',
8484
'external_url': (
8585
'https://unpkg.com/dash-core-components@{}'
86-
'/dash_core_components/plotly-1.50.1.min.js'
86+
'/dash_core_components/plotly-1.51.1.min.js'
8787
).format(__version__),
8888
'namespace': 'dash_core_components',
8989
'async': 'eager'

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"color": "^3.1.0",
3636
"fast-isnumeric": "^1.1.3",
3737
"moment": "^2.20.1",
38-
"plotly.js": "1.50.1",
38+
"plotly.js": "1.51.1",
3939
"prop-types": "^15.6.0",
4040
"ramda": "^0.26.1",
4141
"rc-slider": "^8.6.11",

tests/integration/calendar/test_date_picker_single.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ def cb(clicks):
114114
switch.click()
115115

116116
memorized = dash_dcc.select_date_single("dps-memory", day="4")
117-
amnesiaed = dash_dcc.select_date_single(
118-
"dps-none", day="1", outside_month=True
119-
)
117+
amnesiaed = dash_dcc.select_date_single("dps-none", day="11")
120118

121119
switch.click()
122120
assert dash_dcc.wait_for_text_to_equal("#out", "switched")

0 commit comments

Comments
 (0)