Skip to content

Commit dfbd0d2

Browse files
committed
Upgraded polar charts and scattergl charts (plotly#149)
* Upgrade plotly.js to v1.33.0 * v0.18.0 * update links
1 parent 789567a commit dfbd0d2

File tree

7 files changed

+53
-12
lines changed

7 files changed

+53
-12
lines changed

packages/dash-core-components/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,47 @@
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.18.0] - 2017-01-19
6+
### Added
7+
- Upgraded Plotly.js, the underlying library behind the
8+
`dash_core_components.Graph` component, to [version 1.33.0](https://github.com/plotly/plotly.js/releases/tag/v1.33.0).
9+
This was a huge release! Here are some of the new features that
10+
are available. See https://github.com/plotly/plotly.js/releases/tag/v1.33.0 for the official notes.
11+
12+
Many of these features were funded directly by companies that rely on this library.
13+
If your organization or company would like to sponsor particular features or
14+
bug fixes in these open source libraries, please reach out: http://plot.ly/products/consulting-and-oem
15+
16+
- Completely rewritten `scattergl` trace type using `regl` [plotly.js/pull/2258](https://github.com/plotly/plotly.js/pull/2258)
17+
- Completely rewritten polar chart renderer accompanied by new
18+
`scatterpolar` and `scatterpolargl` trace types [plotly.js/pull/2200](https://github.com/plotly/plotly.js/pull/2200)
19+
- Add the ability to draw layout images and layout shapes on subplot
20+
with `scattergl` traces [plotly.js/pull/2258](https://github.com/plotly/plotly.js/pull/2258)
21+
- Add `fill` capabilities to `scattergl` traces [plotly.js/pull/2258](https://github.com/plotly/plotly.js/pull/2258)
22+
- Add `spikedistance`, `hoverdistance` and `skipsnap` for more customizable
23+
spikes and hover behavior on cartesian subplots [plotly.js/pull/2247](https://github.com/plotly/plotly.js/pull/2247)
24+
- Add official Spanish translation (locale `es`) [plotly.js/pull/2249](https://github.com/plotly/plotly.js/pull/2249)
25+
- Add official French translation (locale `fr`) [plotly.js/pull/2252](https://github.com/plotly/plotly.js/pull/2252)
26+
27+
28+
### Changed
29+
- With the plotly.js upgrade, the old polar trace types
30+
(`scatter` with `(r, t)` coordinates, bar with (`(r, t)` coordinates and
31+
`area`) are now deprecated).
32+
33+
### Fixed
34+
- Several bugs with the `dcc.Graph` component were fixed with the plotly.js upgrade.
35+
These include:
36+
- Fix `gl2d` tick label on pan interaction regression [plotly.js/pull/2258](https://github.com/plotly/plotly.js/pull/2258)
37+
- Fix `candlestick` hover label regression (bug introduced in v1.32.0) [plotly.js/pull/2264](https://github.com/plotly/plotly.js/pull/2264)
38+
- Fix several `gl2d` axis related bugs with new regl-based `scattergl` [plotly.js/pull/2258](https://github.com/plotly/plotly.js/pull/2258)
39+
See full list under the On-par gl2d milestone https://github.com/plotly/plotly.js/milestone/3
40+
- Fix several polar bugs with `scatterpolar` [plotly.js/pull/2200].(https://github.com/plotly/plotly.js/pull/2200)
41+
See full list under the On-par polar milestone https://github.com/plotly/plotly.js/milestone/2
42+
- Fix `scattergl` marker.colorscale handling [plotly.js/pull/2258](https://github.com/plotly/plotly.js/pull/2258)
43+
- Fix decimal and thousands settings in `de` locale [plotly.js/pull/2246](https://github.com/plotly/plotly.js/pull/2246)
44+
- Make scroll handler _passive_, removing those annoying console warnings [plotly.js/pull/2251](https://github.com/plotly/plotly.js/pull/2251)
45+
546
## [0.17.1] - 2017-01-18
647
### Fixed
748
- Previously, if `None` is supplied to `SyntaxHighlighter` or `Markdown`, the

packages/dash-core-components/MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include dash_core_components/bundle.js.map
33
include dash_core_components/metadata.json
44
include dash_core_components/[email protected]
55
include dash_core_components/[email protected]
6-
include dash_core_components/plotly-1.32.0.min.js
6+
include dash_core_components/plotly-1.33.0.min.js
77
include dash_core_components/[email protected]
88
include dash_core_components/[email protected]
99
include dash_core_components/[email protected]

packages/dash-core-components/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.32.0.min.js',
18-
'relative_package_path': 'plotly-1.32.0.min.js',
17+
'external_url': 'https://cdn.plot.ly/plotly-1.33.0.min.js',
18+
'relative_package_path': 'plotly-1.33.0.min.js',
1919
'namespace': 'dash_core_components'
2020
},
2121
{

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

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

packages/dash-core-components/dash_core_components/plotly-1.33.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.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.17.1'
1+
__version__ = '0.18.0'

packages/dash-core-components/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.17.1",
3+
"version": "0.18.0",
44
"description": "Core component suite for Dash",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)