Skip to content

Commit a791291

Browse files
committed
Merge branch 'master' into pr-sankey-link-concentration
2 parents 5e43023 + 30eaa3a commit a791291

File tree

297 files changed

+87854
-36943
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+87854
-36943
lines changed

CHANGELOG.md

+105
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,111 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

1212

13+
## [1.44.4] -- 2019-02-12
14+
15+
### Fixed
16+
- Fix `Plotly.react` used with `uirevision` when removing traces [#3527]
17+
- Fix `scattergl` update calls that change the number of on-graph text elements [#3536]
18+
- Fix annotations SVG errors on trace-less subplots [#3534]
19+
- Fix `ohlc` and `candlestick` hover on blank coordinates (bug introduced in 1.43.2) [#3537]
20+
21+
22+
## [1.44.3] -- 2019-02-06
23+
24+
### Fixed
25+
- Fix axis `automargin` push offset which resulted in clipped
26+
tick labels in some scenarios [#3510]
27+
- Fix handling of alpha channel in marker, line and error bar `rgba`
28+
coloring in `scatter3d` traces [#3496]
29+
- Fix subplots with multiple `carpet` traces each with a `scattercarpet`
30+
trace on top of them [#3512]
31+
- Fix MathJax placement in ternary `aaxis` titles [#3513]
32+
33+
34+
## [1.44.2] -- 2019-02-04
35+
36+
### Fixed
37+
- Fix vertical modebars in IE11 [@3491]
38+
- Fix `hovertemplate` for traces with blank `name` [#3480]
39+
- Fix 3D grid lines and tick labels colored by rgba color
40+
with full transparency [#3494]
41+
- Fix white highlights rendering problems for `mesh3d` trace on
42+
some devices (bug introduced in 1.44.0) [#3483]
43+
- Fix `fill.color` description for `table` traces [#3481]
44+
45+
46+
## [1.44.1] -- 2019-01-24
47+
48+
### Fixed
49+
- Fix `mesh3d` rendering on (some) mobile devices (bug introduced in 1.44.0) [#3463]
50+
- Fix scene camera update when changing to `turntable` mode when `up.z` is zero
51+
(bug introduced in 1.43.0) [#3465, #3475]
52+
- Fix `react` when cartesian axis `scaleanchor` patterns change [#3461]
53+
- Fix "days" entries in polish (`pl`) locales [#3464]
54+
- Remove inner function declarations in our `vectorize-text` that caused
55+
bundling errors for some (bug introduced in 1.43.0) [#3474]
56+
57+
58+
## [1.44.0] -- 2019-01-22
59+
60+
### Added
61+
- Add `isosurface` gl3d trace type [#3438]
62+
- Add support for transitions from `Plotly.react` via new layout
63+
`transition` attribute [#3217]
64+
- Add `meta` layout attribute, intended for making references
65+
to strings in text templates [#3439]
66+
- Add support for `line.color` colorbars for `scatter3d` traces [#3384]
67+
- Add support for `hovertemplate` on `scatterpolar`, `scatterpolargl`,
68+
`scatterternary`, `barpolar`, `choropleth`, `scattergeo` and
69+
`scattermapbox` trace [#3398, #3436]
70+
- Add `width` attribute to `box` and `violin` traces [#3234]
71+
- Add support for `<sup>`, `<sup>`, `<b>`, `<i>` and `<em>` pseudo-html
72+
tags in extra (aka trace "name") hover labels [#3443]
73+
- Add support for div id as 1st arg to `Plotly.makeTemplate` [#3375]
74+
- Add `config` option in plot-schema JSON output [#3376]
75+
76+
### Changed
77+
- Config option `scrollZoom` is now a flaglist (instead of a boolean),
78+
each flag corresponding to subplot types where scroll is to be enabled [#3422]
79+
- Use `[email protected]` across all our dependencies [#3421]
80+
81+
### Fixed
82+
- Fix `error_(x|y|z)` color attribute inheritance [#3408]
83+
- Fix `scrollZoom: false` config behavior for `geo`, `gl3d` and `mapbox` subplots [#3422]
84+
- Fix cartesian scroll zoom when `responsive` config option is turned on [#3424]
85+
- Fix cartesian scroll zoom when the page where the graph is embedded is scrollable [#3424]
86+
- Fix `box` / `violin` autorange edge cases [#3234]
87+
- Fix `box` / `violin` points hover labels on numeric positions [#3441, #3458]
88+
- Fix `box` / `violin` grouping algorithm for subplots with as many distinct positions
89+
as the number of traces [#3445]
90+
- Fix bar autorange calculations for trace with `base` above zero [#3452]
91+
- Fix bar + errorbar autorange calculations [#3452]
92+
- Fix `lightposition` behavior for `mesh3d` traces [#3415]
93+
- Fix legend `valign` behavior for `pie` traces [#3435]
94+
- Fix wrapped horizontal legends height edge cases [#3446]
95+
- Fix hover label alignment for hover labels with multi-line extra (aka trace "name") labels [#3443]
96+
- Fix cartesian axis domain lower limit [#3404]
97+
- Fix dynamic imports of `lib/` trace modules [#3448]
98+
- Fix `scl` and `reversescl` backward-compatible logic [#3423]
99+
- Fix range slider `borderwidth` attribute description [#3453]
100+
101+
102+
## [1.43.2] -- 2019-01-08
103+
104+
First 2019 release.
105+
106+
### Fixed
107+
- Fix `uirevision` behavior for `gl3d`, `geo` and `mapbox` subplots [#3394]
108+
- Fix `reversescale` behavior for `surface`, `mesh3d` and `streamtube`
109+
traces (bug introduced in 1.43.0) [#3418]
110+
- Fix modebar hover styling (bug introduced in 1.43.0) [#3397]
111+
- Fix horizontal `box` / `violin` hover label misalignment under
112+
`hovermode:'closest'` [#3401]
113+
- Fix `ohlc` and `candlestick` hover for traces with empty items [#3366]
114+
- Fix `surface` trace `visible` logic [#3365]
115+
- Fix `mesh3d` trace `visible` logic [#3369]
116+
117+
13118
## [1.43.1] -- 2018-12-21
14119

15120
### Fixed

build/plotcss.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ var rules = {
3535
"X .ease-bg": "-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;",
3636
"X .modebar--hover>:not(.watermark)": "opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;",
3737
"X:hover .modebar--hover .modebar-group": "opacity:1;",
38-
"X .modebar-group": "float:left;display:inline-block;box-sizing:border-box;margin-left:8px;position:relative;vertical-align:middle;white-space:nowrap;",
38+
"X .modebar-group": "float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;",
3939
"X .modebar-btn": "position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;",
4040
"X .modebar-btn svg": "position:relative;top:2px;",
4141
"X .modebar.vertical": "display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;",
4242
"X .modebar.vertical svg": "top:-1px;",
43-
"X .modebar.vertical .modebar-group": "display:block;float:none;margin-left:0px;margin-bottom:8px;",
43+
"X .modebar.vertical .modebar-group": "display:block;float:none;padding-left:0px;padding-bottom:8px;",
4444
"X .modebar.vertical .modebar-group .modebar-btn": "display:block;text-align:center;",
4545
"X [data-title]:before,X [data-title]:after": "position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;",
4646
"X [data-title]:hover:before,X [data-title]:hover:after": "display:block;opacity:1;",

dist/README.md

+25-25
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ object. This property must be set before the plotly.js script tag, for example:
5151
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
5252
Many other localizations are available - here is an example using Swiss-German (de-CH),
5353
see the contents of this directory for the full list.
54-
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.43.1.js
54+
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.44.4.js
5555
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.
5656

5757
*After* the plotly.js script tag, add:
@@ -74,12 +74,12 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
7474

7575
It be can imported as minified javascript
7676
- using dist file `dist/plotly.min.js`
77-
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.43.1.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.44.4.min.js
7878

7979
or as raw javascript:
8080
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
8181
- using dist file `dist/plotly.js`
82-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.43.1.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.44.4.js
8383
- using CommonJS with `require('plotly.js')`
8484

8585
If you would like to have access to the attribute meta information (including attribute descriptions as on the [schema reference page](https://plot.ly/javascript/reference/)), use dist file `dist/plotly-with-meta.js`
@@ -88,7 +88,7 @@ The main plotly.js bundle weights in at:
8888

8989
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
9090
|-----------|---------------|----------------------|---------------------|
91-
| 6 MB | 2.8 MB | 843.2 kB | 6.3 MB |
91+
| 6.1 MB | 2.8 MB | 849.5 kB | 6.3 MB |
9292

9393
## Partial bundles
9494

@@ -111,16 +111,16 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.
111111

112112
| Raw size | Minified size | Minified + gzip size |
113113
|------|-----------------|------------------------|
114-
| 2.3 MB | 806.3 kB | 263.5 kB |
114+
| 2.3 MB | 810.9 kB | 264.8 kB |
115115

116116
#### CDN links
117117

118118
| Flavor | URL |
119119
| ------ | --- |
120120
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
121121
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
122-
| Tagged | https://cdn.plot.ly/plotly-basic-1.43.1.js |
123-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.43.1.min.js |
122+
| Tagged | https://cdn.plot.ly/plotly-basic-1.44.4.js |
123+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.44.4.min.js |
124124

125125
#### npm package (starting in `v1.39.0`)
126126

@@ -157,16 +157,16 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `
157157

158158
| Raw size | Minified size | Minified + gzip size |
159159
|------|-----------------|------------------------|
160-
| 2.6 MB | 919.3 kB | 299.2 kB |
160+
| 2.6 MB | 924.5 kB | 300.8 kB |
161161

162162
#### CDN links
163163

164164
| Flavor | URL |
165165
| ------ | --- |
166166
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
167167
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
168-
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.43.1.js |
169-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.43.1.min.js |
168+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.44.4.js |
169+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.44.4.min.js |
170170

171171
#### npm package (starting in `v1.39.0`)
172172

@@ -203,16 +203,16 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho
203203

204204
| Raw size | Minified size | Minified + gzip size |
205205
|------|-----------------|------------------------|
206-
| 2.3 MB | 824.1 kB | 271.4 kB |
206+
| 2.3 MB | 829.2 kB | 272.9 kB |
207207

208208
#### CDN links
209209

210210
| Flavor | URL |
211211
| ------ | --- |
212212
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
213213
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
214-
| Tagged | https://cdn.plot.ly/plotly-geo-1.43.1.js |
215-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.43.1.min.js |
214+
| Tagged | https://cdn.plot.ly/plotly-geo-1.44.4.js |
215+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.44.4.min.js |
216216

217217
#### npm package (starting in `v1.39.0`)
218218

@@ -249,16 +249,16 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
249249

250250
| Raw size | Minified size | Minified + gzip size |
251251
|------|-----------------|------------------------|
252-
| 3.3 MB | 1.3 MB | 423 kB |
252+
| 3.4 MB | 1.3 MB | 425.2 kB |
253253

254254
#### CDN links
255255

256256
| Flavor | URL |
257257
| ------ | --- |
258258
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
259259
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
260-
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.43.1.js |
261-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.43.1.min.js |
260+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.44.4.js |
261+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.44.4.min.js |
262262

263263
#### npm package (starting in `v1.39.0`)
264264

@@ -295,16 +295,16 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`
295295

296296
| Raw size | Minified size | Minified + gzip size |
297297
|------|-----------------|------------------------|
298-
| 3.4 MB | 1.4 MB | 441 kB |
298+
| 3.4 MB | 1.4 MB | 442.6 kB |
299299

300300
#### CDN links
301301

302302
| Flavor | URL |
303303
| ------ | --- |
304304
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
305305
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
306-
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.43.1.js |
307-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.43.1.min.js |
306+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.44.4.js |
307+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.44.4.min.js |
308308

309309
#### npm package (starting in `v1.39.0`)
310310

@@ -341,16 +341,16 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`
341341

342342
| Raw size | Minified size | Minified + gzip size |
343343
|------|-----------------|------------------------|
344-
| 2.8 MB | 1.3 MB | 409.2 kB |
344+
| 2.8 MB | 1.4 MB | 410.8 kB |
345345

346346
#### CDN links
347347

348348
| Flavor | URL |
349349
| ------ | --- |
350350
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
351351
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
352-
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.43.1.js |
353-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.43.1.min.js |
352+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.44.4.js |
353+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.44.4.min.js |
354354

355355
#### npm package (starting in `v1.39.0`)
356356

@@ -387,16 +387,16 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram
387387

388388
| Raw size | Minified size | Minified + gzip size |
389389
|------|-----------------|------------------------|
390-
| 2.4 MB | 838.3 kB | 273.2 kB |
390+
| 2.4 MB | 843.5 kB | 274.9 kB |
391391

392392
#### CDN links
393393

394394
| Flavor | URL |
395395
| ------ | --- |
396396
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
397397
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
398-
| Tagged | https://cdn.plot.ly/plotly-finance-1.43.1.js |
399-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.43.1.min.js |
398+
| Tagged | https://cdn.plot.ly/plotly-finance-1.44.4.js |
399+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.44.4.min.js |
400400

401401
#### npm package (starting in `v1.39.0`)
402402

0 commit comments

Comments
 (0)