Skip to content

Commit 1e57928

Browse files
committed
Merge branch 'master' into filter-enabled-false-when-empty-target-array
2 parents 66645ed + 29f94b6 commit 1e57928

File tree

109 files changed

+10276
-14459
lines changed

Some content is hidden

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

109 files changed

+10276
-14459
lines changed

.eslintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"no-loop-func": [2],
7171
"no-console": [0],
7272
"no-unused-labels": [2],
73-
"no-useless-escape": [0]
73+
"no-useless-escape": [0],
74+
"func-name-matching": ["error", "always"]
7475
}
7576
}

CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,32 @@ 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.47.4] -- 2019-04-25
14+
15+
### Fixed
16+
- Fix graphs with `sankey` and cartesian subplots [#3802]
17+
- Fix selection of `bar` traces on subplot with a range slider [#3806]
18+
19+
20+
## [1.47.3] -- 2019-04-18
21+
22+
### Fixed
23+
- Fix MathJax rendering in Firefox [#3783]
24+
- Fix `waterfall` hover under `hovermode: 'closest'` [#3778]
25+
- Fix `waterfall` `connector.line.width` updates [#3789]
26+
- Fix `waterfall` positioning on date axes [#3791]
27+
- Fix `waterfall` default connector line color [#3788]
28+
- Fix `hoverlabel.align` behavior for centered hover labels [#3781]
29+
30+
31+
## [1.47.2] -- 2019-04-15
32+
33+
### Fixed
34+
- Fix bar `'auto'` and `'inside'` `textposition` rendering on log size axes [#3762, #3773]
35+
- Fix matching axes autorange algorithm for date axes [#3772]
36+
- Fix SVG gradient rendering (colorbar and marker gradient) when `<base>` is present on page [#3765]
37+
38+
1339
## [1.47.1] -- 2019-04-10
1440

1541
### Fixed

dist/README.md

+22-22
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.47.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.47.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.47.1.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.47.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.47.1.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.47.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.4 MB | 2.9 MB | 883.7 kB | 6.6 MB |
91+
| 6.3 MB | 2.9 MB | 883.5 kB | 6.6 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 | 822.5 kB | 268.9 kB |
114+
| 2.3 MB | 822.2 kB | 269.2 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.47.1.js |
123-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.47.1.min.js |
122+
| Tagged | https://cdn.plot.ly/plotly-basic-1.47.4.js |
123+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.47.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 | 938.5 kB | 305.5 kB |
160+
| 2.6 MB | 937.9 kB | 305.7 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.47.1.js |
169-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.47.1.min.js |
168+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.47.4.js |
169+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.47.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 | 838.5 kB | 276.3 kB |
206+
| 2.3 MB | 837.7 kB | 276.3 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.47.1.js |
215-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.47.1.min.js |
214+
| Tagged | https://cdn.plot.ly/plotly-geo-1.47.4.js |
215+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.47.4.min.js |
216216

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

@@ -257,8 +257,8 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
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.47.1.js |
261-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.47.1.min.js |
260+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.47.4.js |
261+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.47.4.min.js |
262262

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

@@ -303,8 +303,8 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`
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.47.1.js |
307-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.47.1.min.js |
306+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.47.4.js |
307+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.47.4.min.js |
308308

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

@@ -349,8 +349,8 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`
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.47.1.js |
353-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.47.1.min.js |
352+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.47.4.js |
353+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.47.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 | 864.8 kB | 281.5 kB |
390+
| 2.4 MB | 864.5 kB | 281.7 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.47.1.js |
399-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.47.1.min.js |
398+
| Tagged | https://cdn.plot.ly/plotly-finance-1.47.4.js |
399+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.47.4.min.js |
400400

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

dist/plot-schema.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -3969,7 +3969,7 @@
39693969
},
39703970
"box": {
39713971
"meta": {
3972-
"description": "In vertical (horizontal) box plots, statistics are computed using `y` (`x`) values. By supplying an `x` (`y`) array, one box per distinct x (y) value is drawn If no `x` (`y`) {array} is provided, a single box is drawn. That box position is then positioned with with `name` or with `x0` (`y0`) if provided. Each box spans from quartile 1 (Q1) to quartile 3 (Q3). The second quartile (Q2) is marked by a line inside the box. By default, the whiskers correspond to the box' edges +/- 1.5 times the interquartile range (IQR = Q3-Q1), see *boxpoints* for other options."
3972+
"description": "In vertical (horizontal) box plots, statistics are computed using `y` (`x`) values. By supplying an `x` (`y`) array, one box per distinct x (y) value is drawn If no `x` (`y`) {array} is provided, a single box is drawn. That box position is then positioned with with `name` or with `x0` (`y0`) if provided. Each box spans from quartile 1 (Q1) to quartile 3 (Q3). The second quartile (Q2) is marked by a line inside the box. By default, the whiskers correspond to the box' edges +/- 1.5 times the interquartile range (IQR: Q3-Q1), see *boxpoints* for other options."
39733973
},
39743974
"attributes": {
39753975
"type": "box",
@@ -14544,14 +14544,15 @@
1454414544
"role": "style",
1454514545
"editType": "style",
1454614546
"anim": true,
14547-
"description": "Sets the line color."
14547+
"description": "Sets the line color.",
14548+
"dflt": "#444"
1454814549
},
1454914550
"width": {
1455014551
"valType": "number",
1455114552
"min": 0,
1455214553
"dflt": 2,
1455314554
"role": "style",
14554-
"editType": "style",
14555+
"editType": "plot",
1455514556
"anim": true,
1455614557
"description": "Sets the line width (in px)."
1455714558
},
@@ -35681,7 +35682,7 @@
3568135682
},
3568235683
"sankey": {
3568335684
"meta": {
35684-
"description": "Sankey plots for network flow data analysis. The nodes are specified in `nodes` and the links between sources and targets in `links`. The colors are set in `nodes[i].color` and `links[i].color`; otherwise defaults are used."
35685+
"description": "Sankey plots for network flow data analysis. The nodes are specified in `nodes` and the links between sources and targets in `links`. The colors are set in `nodes[i].color` and `links[i].color`, otherwise defaults are used."
3568535686
},
3568635687
"attributes": {
3568735688
"type": "sankey",

0 commit comments

Comments
 (0)