Skip to content

Commit 40efab7

Browse files
committed
Merge branch 'master' into surface-opacityscale and correct surface baselines thanks to #4566
2 parents 1690cd7 + 6a4f462 commit 40efab7

File tree

153 files changed

+11064
-5757
lines changed

Some content is hidden

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

153 files changed

+11064
-5757
lines changed

CHANGELOG.md

+43
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,49 @@ 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.52.3] -- 2020-03-02
14+
15+
## Fixed
16+
- Make identical bundles on different nodes [#4601]
17+
- Fix (regression introduced in 1.52.1) and improve interactive display of narrow points of `bar`-like traces [#4568]
18+
- Ensure text fits inside `sunburst` sectors with zero values [#4580]
19+
- Reset `splom` selectBatch and unselectBatch on updates [#4595]
20+
- Retry different mobile/tablet config to render gl3d subplots on various devices & browsers e.g. Brave [#4549]
21+
- Bump `is-mobile` to handle iPad Pro & iPad 7th + iOs v13 + Safari [#4548]
22+
- Fix `orthographic` hover after scroll zoom [#4562]
23+
- Preserve gl3d `scene aspectratio` after `orthographic` scroll zoom [#4578]
24+
- Include gl3d `scene.aspectmode` changes in relayout updates [#4579]
25+
- Apply utf-8 charset in test_dashboard [#4554]
26+
27+
28+
## [1.52.2] -- 2020-02-03
29+
30+
## Fixed
31+
- Handle 'missing' matching axes [#4529]
32+
- Fix hover for `mesh3d`, `isosurface` and `volume`
33+
when using `plotGlPixelRatio > 1` (bug introduced in 1.45.0) [#4534]
34+
- Fix hover of `mesh3d` traces with `facecolor` and `intensitymode: 'cell'` [#4539]
35+
- Fix gl3d rendering on iPad Pro & iPad 7th + iOs v13 + Safari [#4360, #4546]
36+
- Fix pixel-rounding logic for blank bars [#4522]
37+
- Fix `pathbar.visible` updates in `treemap` traces [#4516]
38+
- Fix `waterfall` `'closest'` hover when cursor is below the size axis [#4537]
39+
- Fix mapbox layout layer opacity for raster types [#4525]
40+
- Allow `0` in `grouby` transform `nameformat` templates [#4526]
41+
- Fix `Plotly.validate` for `valType:'any'` attributes [#4526]
42+
- Bump `d3-interpolate` to v1.4.0 [#4475]
43+
- Bump `d3-hierarchy` to v1.1.9 [#4475]
44+
- Fix typo in annotation `align` attribute description [#4528]
45+
- Fix `plot_bgcolor` and `paper_bgcolor` attribute description [#4536]
46+
- Fix `insidetextorientation` description for pie and sunburst traces [#4523]
47+
48+
49+
## [1.52.1] -- 2020-01-13
50+
51+
### Fixed
52+
- Fix handling of `geo.visible` false edge case in order to
53+
override `template.layout.geo.show*` attributes [#4483]
54+
55+
1356
## [1.52.0] -- 2020-01-08
1457

1558
### Added

devtools/test_dashboard/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<script>document.write("<scri"+"pt src='../../dist/extras/request_animation_frame.js'></scr"+"ipt>");</script> -->
2525

2626
<script src="../../dist/extras/mathjax/MathJax.js?config=TeX-AMS-MML_SVG"></script>
27-
<script id="source" src="../../build/plotly.js"></script>
28-
<script src="../../build/test_dashboard-bundle.js"></script>
27+
<script id="source" src="../../build/plotly.js" charset="utf-8"></script>
28+
<script src="../../build/test_dashboard-bundle.js" charset="utf-8"></script>
2929
</body>
3030
</html>

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.52.0.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.52.3.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.52.0.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.52.3.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.52.0.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.52.3.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.9 MB | 3.2 MB | 955.9 kB | 7.2 MB |
91+
| 6.9 MB | 3.2 MB | 957.2 kB | 7.2 MB |
9292

9393
## Partial bundles
9494

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

115115
| Raw size | Minified size | Minified + gzip size |
116116
|------|-----------------|------------------------|
117-
| 2.4 MB | 852.6 kB | 280 kB |
117+
| 2.4 MB | 853.6 kB | 280.4 kB |
118118

119119
#### CDN links
120120

121121
| Flavor | URL |
122122
| ------ | --- |
123123
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
124124
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
125-
| Tagged | https://cdn.plot.ly/plotly-basic-1.52.0.js |
126-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.52.0.min.js |
125+
| Tagged | https://cdn.plot.ly/plotly-basic-1.52.3.js |
126+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.52.3.min.js |
127127

128128
#### npm package (starting in `v1.39.0`)
129129

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

168168
| Raw size | Minified size | Minified + gzip size |
169169
|------|-----------------|------------------------|
170-
| 2.7 MB | 982.5 kB | 321 kB |
170+
| 2.7 MB | 983.5 kB | 321.4 kB |
171171

172172
#### CDN links
173173

174174
| Flavor | URL |
175175
| ------ | --- |
176176
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
177177
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
178-
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.52.0.js |
179-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.52.0.min.js |
178+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.52.3.js |
179+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.52.3.min.js |
180180

181181
#### npm package (starting in `v1.39.0`)
182182

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

221221
| Raw size | Minified size | Minified + gzip size |
222222
|------|-----------------|------------------------|
223-
| 2.4 MB | 879.5 kB | 289.5 kB |
223+
| 2.4 MB | 880.7 kB | 289.9 kB |
224224

225225
#### CDN links
226226

227227
| Flavor | URL |
228228
| ------ | --- |
229229
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
230230
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
231-
| Tagged | https://cdn.plot.ly/plotly-geo-1.52.0.js |
232-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.52.0.min.js |
231+
| Tagged | https://cdn.plot.ly/plotly-geo-1.52.3.js |
232+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.52.3.min.js |
233233

234234
#### npm package (starting in `v1.39.0`)
235235

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

274274
| Raw size | Minified size | Minified + gzip size |
275275
|------|-----------------|------------------------|
276-
| 3.5 MB | 1.4 MB | 438.3 kB |
276+
| 3.5 MB | 1.4 MB | 439.2 kB |
277277

278278
#### CDN links
279279

280280
| Flavor | URL |
281281
| ------ | --- |
282282
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
283283
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
284-
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.52.0.js |
285-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.52.0.min.js |
284+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.52.3.js |
285+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.52.3.min.js |
286286

287287
#### npm package (starting in `v1.39.0`)
288288

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

327327
| Raw size | Minified size | Minified + gzip size |
328328
|------|-----------------|------------------------|
329-
| 3.5 MB | 1.4 MB | 457.8 kB |
329+
| 3.5 MB | 1.4 MB | 458.2 kB |
330330

331331
#### CDN links
332332

333333
| Flavor | URL |
334334
| ------ | --- |
335335
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
336336
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
337-
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.52.0.js |
338-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.52.0.min.js |
337+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.52.3.js |
338+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.52.3.min.js |
339339

340340
#### npm package (starting in `v1.39.0`)
341341

@@ -379,16 +379,16 @@ The `mapbox` partial bundle contains trace modules `scatter`, `scattermapbox`, `
379379

380380
| Raw size | Minified size | Minified + gzip size |
381381
|------|-----------------|------------------------|
382-
| 3.1 MB | 1.5 MB | 461.4 kB |
382+
| 3.1 MB | 1.5 MB | 461.8 kB |
383383

384384
#### CDN links
385385

386386
| Flavor | URL |
387387
| ------ | --- |
388388
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
389389
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
390-
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.52.0.js |
391-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.52.0.min.js |
390+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.52.3.js |
391+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.52.3.min.js |
392392

393393
#### npm package (starting in `v1.39.0`)
394394

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

433433
| Raw size | Minified size | Minified + gzip size |
434434
|------|-----------------|------------------------|
435-
| 2.6 MB | 939.7 kB | 305 kB |
435+
| 2.6 MB | 940.7 kB | 305.4 kB |
436436

437437
#### CDN links
438438

439439
| Flavor | URL |
440440
| ------ | --- |
441441
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
442442
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
443-
| Tagged | https://cdn.plot.ly/plotly-finance-1.52.0.js |
444-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.52.0.min.js |
443+
| Tagged | https://cdn.plot.ly/plotly-finance-1.52.3.js |
444+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.52.3.min.js |
445445

446446
#### npm package (starting in `v1.39.0`)
447447

dist/plot-schema.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -17621,7 +17621,7 @@
1762117621
],
1762217622
"dflt": "auto",
1762317623
"editType": "plot",
17624-
"description": "Determines the orientation of text inside slices. With *auto* the texts may automatically be rotated to fit with the maximum size inside the slice. Using *horizontal* option forces text to be horizontal. Using *radial* option forces text to be radial. Using *tangential* option forces text to be tangential."
17624+
"description": "Controls the orientation of the text inside chart sectors. When set to *auto*, text may be oriented in any direction in order to be as big as possible in the middle of a sector. The *horizontal* option orients text to be parallel with the bottom of the chart, and may make text smaller in order to achieve that goal. The *radial* option orients text along the radius of the sector. The *tangential* option orients text perpendicular to the radius of the sector."
1762517625
},
1762617626
"insidetextfont": {
1762717627
"family": {
@@ -19077,7 +19077,7 @@
1907719077
],
1907819078
"dflt": "auto",
1907919079
"editType": "plot",
19080-
"description": "Determines the orientation of text inside slices. With *auto* the texts may automatically be rotated to fit with the maximum size inside the slice. Using *horizontal* option forces text to be horizontal. Using *radial* option forces text to be radial. Using *tangential* option forces text to be tangential."
19080+
"description": "Controls the orientation of the text inside chart sectors. When set to *auto*, text may be oriented in any direction in order to be as big as possible in the middle of a sector. The *horizontal* option orients text to be parallel with the bottom of the chart, and may make text smaller in order to achieve that goal. The *radial* option orients text along the radius of the sector. The *tangential* option orients text perpendicular to the radius of the sector."
1908119081
},
1908219082
"insidetextfont": {
1908319083
"family": {
@@ -46206,7 +46206,7 @@
4620646206
"dflt": "center",
4620746207
"role": "style",
4620846208
"editType": "calc",
46209-
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans more two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.",
46209+
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.",
4621046210
"arrayOk": true
4621146211
},
4621246212
"line": {
@@ -46383,7 +46383,7 @@
4638346383
"dflt": "center",
4638446384
"role": "style",
4638546385
"editType": "calc",
46386-
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans more two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.",
46386+
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.",
4638746387
"arrayOk": true
4638846388
},
4638946389
"line": {
@@ -57324,14 +57324,14 @@
5732457324
"role": "style",
5732557325
"dflt": "#fff",
5732657326
"editType": "plot",
57327-
"description": "Sets the color of paper where the graph is drawn."
57327+
"description": "Sets the background color of the paper where the graph is drawn."
5732857328
},
5732957329
"plot_bgcolor": {
5733057330
"valType": "color",
5733157331
"role": "style",
5733257332
"dflt": "#fff",
5733357333
"editType": "layoutstyle",
57334-
"description": "Sets the color of plotting area in-between x and y axes."
57334+
"description": "Sets the background color of the plotting area in-between x and y axes."
5733557335
},
5733657336
"separators": {
5733757337
"valType": "string",
@@ -63397,7 +63397,7 @@
6339763397
"dflt": "center",
6339863398
"role": "style",
6339963399
"editType": "calc",
63400-
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans more two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width."
63400+
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width."
6340163401
},
6340263402
"valign": {
6340363403
"valType": "enumerated",
@@ -66133,7 +66133,7 @@
6613366133
"dflt": "center",
6613466134
"role": "style",
6613566135
"editType": "arraydraw",
66136-
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans more two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width."
66136+
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width."
6613766137
},
6613866138
"valign": {
6613966139
"valType": "enumerated",

0 commit comments

Comments
 (0)