Skip to content

Commit d9210c3

Browse files
committed
Merge branch 'master' into interp
2 parents bd28585 + 444be40 commit d9210c3

File tree

1,038 files changed

+10860
-8988
lines changed

Some content is hidden

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

1,038 files changed

+10860
-8988
lines changed

.circleci/test.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set +o pipefail
66

77
ROOT=$(dirname $0)/..
88
EXIT_STATE=0
9-
MAX_AUTO_RETRY=5
9+
MAX_AUTO_RETRY=0
1010

1111
log () {
1212
echo -e "\n$1"
@@ -55,6 +55,7 @@ case $1 in
5555

5656
SHARDS=($(node $ROOT/tasks/shard_jasmine_tests.js --limit=5 --tag=gl | circleci tests split))
5757
for s in ${SHARDS[@]}; do
58+
MAX_AUTO_RETRY=1
5859
retry npm run test-jasmine -- "$s" --tags=gl --skip-tags=noCI --doNotFailOnEmptyTestSuite
5960
done
6061

@@ -67,6 +68,7 @@ case $1 in
6768
SHARDS=($(node $ROOT/tasks/shard_jasmine_tests.js --limit=1 --tag=flaky | circleci tests split))
6869

6970
for s in ${SHARDS[@]}; do
71+
MAX_AUTO_RETRY=5
7072
retry npm run test-jasmine -- "$s" --tags=flaky --skip-tags=noCI
7173
done
7274

@@ -80,6 +82,7 @@ case $1 in
8082
;;
8183

8284
image2)
85+
MAX_AUTO_RETRY=5
8386
retry npm run test-image -- --just-flaky
8487
npm run test-export || EXIT_STATE=$?
8588
exit $EXIT_STATE

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ To see all merged commits on the master branch that will be part of the next plo
99

1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

12+
## [1.58.4] -- 2020-12-21
13+
14+
### Fixed
15+
- Fix `preserveDrawingBuffer` WebGL config for displaying transparent gl3d scenes
16+
on Apple devices running latest Safari versions (v13 and higher) [#5351]
17+
- Fix spelling [#5349, #5356] with thanks to @jbampton for the contribution!
18+
19+
1220
## [1.58.3] -- 2020-12-17
1321

1422
### Fixed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 Plotly, Inc
3+
Copyright (c) 2021 Plotly, Inc
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,6 @@ Plotly.js is at the core of a large and dynamic ecosystem with many contributors
162162

163163
## Copyright and license
164164

165-
Code and documentation copyright 2020 Plotly, Inc.
165+
Code and documentation copyright 2021 Plotly, Inc.
166166

167167
Code released under the [MIT license](https://github.com/plotly/plotly.js/blob/master/LICENSE).

devtools/image_viewer/viewer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var fs = require('fs');
22
var path = require('path');
33

4-
var d3 = require('d3');
4+
var d3 = require('@plotly/d3');
55

66
var $plotlist = document.getElementById('plot-list');
77
var $toggles = document.getElementById('plot-toggles');

dist/README.md

Lines changed: 25 additions & 25 deletions
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.58.3.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.58.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.58.3.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.58.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.58.3.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.58.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://plotly.com/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-
| 7.2 MB | 3.3 MB | 1007.1 kB | 7.5 MB |
91+
| 7.2 MB | 3.3 MB | 1007.2 kB | 7.5 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.6 MB | 935.2 kB | 307.3 kB |
117+
| 2.6 MB | 937.1 kB | 307.9 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.58.3.js |
126-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.58.3.min.js |
125+
| Tagged | https://cdn.plot.ly/plotly-basic-1.58.4.js |
126+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.58.4.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-
| 3 MB | 1.1 MB | 360.9 kB |
170+
| 3 MB | 1.1 MB | 361.6 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.58.3.js |
179-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.58.3.min.js |
178+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.58.4.js |
179+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.58.4.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.7 MB | 961.8 kB | 316.6 kB |
223+
| 2.7 MB | 963.7 kB | 317.3 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.58.3.js |
232-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.58.3.min.js |
231+
| Tagged | https://cdn.plot.ly/plotly-geo-1.58.4.js |
232+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.58.4.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.6 MB | 1.4 MB | 463 kB |
276+
| 3.7 MB | 1.4 MB | 463.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.58.3.js |
285-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.58.3.min.js |
284+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.58.4.js |
285+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.58.4.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.7 MB | 1.5 MB | 488 kB |
329+
| 3.7 MB | 1.5 MB | 488.6 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.58.3.js |
338-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.58.3.min.js |
337+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.58.4.js |
338+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.58.4.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.4 MB | 1.7 MB | 503.7 kB |
382+
| 3.4 MB | 1.7 MB | 504.4 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.58.3.js |
391-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.58.3.min.js |
390+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.58.4.js |
391+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.58.4.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.8 MB | 1 MB | 333.1 kB |
435+
| 2.8 MB | 1 MB | 333.8 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.58.3.js |
444-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.58.3.min.js |
443+
| Tagged | https://cdn.plot.ly/plotly-finance-1.58.4.js |
444+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.58.4.min.js |
445445

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

0 commit comments

Comments
 (0)