Skip to content

Commit 634a93a

Browse files
committedJun 16, 2020
1.54.3
1 parent fdf3506 commit 634a93a

22 files changed

+159
-78
lines changed
 

‎dist/README.md

+21-21
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.54.2.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.54.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.54.2.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.54.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.54.2.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.54.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://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 MB | 3.3 MB | 988.1 kB | 7.3 MB |
91+
| 7 MB | 3.3 MB | 988.2 kB | 7.3 MB |
9292

9393
## Partial bundles
9494

@@ -122,8 +122,8 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.
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.54.2.js |
126-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.54.2.min.js |
125+
| Tagged | https://cdn.plot.ly/plotly-basic-1.54.3.js |
126+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.54.3.min.js |
127127

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

@@ -175,8 +175,8 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `
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.54.2.js |
179-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.54.2.min.js |
178+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.54.3.js |
179+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.54.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.5 MB | 916 kB | 302.4 kB |
223+
| 2.5 MB | 916.1 kB | 302.4 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.54.2.js |
232-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.54.2.min.js |
231+
| Tagged | https://cdn.plot.ly/plotly-geo-1.54.3.js |
232+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.54.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.6 MB | 1.4 MB | 451.8 kB |
276+
| 3.6 MB | 1.4 MB | 451.9 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.54.2.js |
285-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.54.2.min.js |
284+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.54.3.js |
285+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.54.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.6 MB | 1.4 MB | 472.9 kB |
329+
| 3.6 MB | 1.4 MB | 473 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.54.2.js |
338-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.54.2.min.js |
337+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.54.3.js |
338+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.54.3.min.js |
339339

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

@@ -387,8 +387,8 @@ The `mapbox` partial bundle contains trace modules `scatter`, `scattermapbox`, `
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.54.2.js |
391-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.54.2.min.js |
390+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.54.3.js |
391+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.54.3.min.js |
392392

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

@@ -440,8 +440,8 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram
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.54.2.js |
444-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.54.2.min.js |
443+
| Tagged | https://cdn.plot.ly/plotly-finance-1.54.3.js |
444+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.54.3.min.js |
445445

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

‎dist/plotly-basic.js

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v1.54.2
2+
* plotly.js (basic) v1.54.3
33
* Copyright 2012-2020, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -65238,6 +65238,15 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut, formatObj) {
6523865238
)(layoutIn, layoutOut, coerce);
6523965239
};
6524065240

65241+
function getComputedSize(attr) {
65242+
return (
65243+
(typeof attr === 'string') &&
65244+
(attr.substr(attr.length - 2) === 'px') &&
65245+
parseFloat(attr)
65246+
);
65247+
}
65248+
65249+
6524165250
plots.plotAutoSize = function plotAutoSize(gd, layout, fullLayout) {
6524265251
var context = gd._context || {};
6524365252
var frameMargins = context.frameMargins;
@@ -65264,8 +65273,8 @@ plots.plotAutoSize = function plotAutoSize(gd, layout, fullLayout) {
6526465273
// but don't enforce any ratio restrictions
6526565274
var computedStyle = isPlotDiv ? window.getComputedStyle(gd) : {};
6526665275

65267-
newWidth = parseFloat(computedStyle.width) || parseFloat(computedStyle.maxWidth) || fullLayout.width;
65268-
newHeight = parseFloat(computedStyle.height) || parseFloat(computedStyle.maxHeight) || fullLayout.height;
65276+
newWidth = getComputedSize(computedStyle.width) || getComputedSize(computedStyle.maxWidth) || fullLayout.width;
65277+
newHeight = getComputedSize(computedStyle.height) || getComputedSize(computedStyle.maxHeight) || fullLayout.height;
6526965278

6527065279
if(isNumeric(frameMargins) && frameMargins > 0) {
6527165280
var factor = 1 - 2 * frameMargins;
@@ -78313,7 +78322,7 @@ module.exports = function handleXYDefaults(traceIn, traceOut, layout, coerce) {
7831378322
'use strict';
7831478323

7831578324
// package version injected by `npm run preprocess`
78316-
exports.version = '1.54.2';
78325+
exports.version = '1.54.3';
7831778326

7831878327
},{}]},{},[4])(4)
7831978328
});

‎dist/plotly-basic.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/plotly-cartesian.js

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v1.54.2
2+
* plotly.js (cartesian) v1.54.3
33
* Copyright 2012-2020, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -65402,6 +65402,15 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut, formatObj) {
6540265402
)(layoutIn, layoutOut, coerce);
6540365403
};
6540465404

65405+
function getComputedSize(attr) {
65406+
return (
65407+
(typeof attr === 'string') &&
65408+
(attr.substr(attr.length - 2) === 'px') &&
65409+
parseFloat(attr)
65410+
);
65411+
}
65412+
65413+
6540565414
plots.plotAutoSize = function plotAutoSize(gd, layout, fullLayout) {
6540665415
var context = gd._context || {};
6540765416
var frameMargins = context.frameMargins;
@@ -65428,8 +65437,8 @@ plots.plotAutoSize = function plotAutoSize(gd, layout, fullLayout) {
6542865437
// but don't enforce any ratio restrictions
6542965438
var computedStyle = isPlotDiv ? window.getComputedStyle(gd) : {};
6543065439

65431-
newWidth = parseFloat(computedStyle.width) || parseFloat(computedStyle.maxWidth) || fullLayout.width;
65432-
newHeight = parseFloat(computedStyle.height) || parseFloat(computedStyle.maxHeight) || fullLayout.height;
65440+
newWidth = getComputedSize(computedStyle.width) || getComputedSize(computedStyle.maxWidth) || fullLayout.width;
65441+
newHeight = getComputedSize(computedStyle.height) || getComputedSize(computedStyle.maxHeight) || fullLayout.height;
6543365442

6543465443
if(isNumeric(frameMargins) && frameMargins > 0) {
6543565444
var factor = 1 - 2 * frameMargins;
@@ -89947,7 +89956,7 @@ module.exports = function style(gd) {
8994789956
'use strict';
8994889957

8994989958
// package version injected by `npm run preprocess`
89950-
exports.version = '1.54.2';
89959+
exports.version = '1.54.3';
8995189960

8995289961
},{}]},{},[11])(11)
8995389962
});

‎dist/plotly-cartesian.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/plotly-finance.js

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v1.54.2
2+
* plotly.js (finance) v1.54.3
33
* Copyright 2012-2020, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -65358,6 +65358,15 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut, formatObj) {
6535865358
)(layoutIn, layoutOut, coerce);
6535965359
};
6536065360

65361+
function getComputedSize(attr) {
65362+
return (
65363+
(typeof attr === 'string') &&
65364+
(attr.substr(attr.length - 2) === 'px') &&
65365+
parseFloat(attr)
65366+
);
65367+
}
65368+
65369+
6536165370
plots.plotAutoSize = function plotAutoSize(gd, layout, fullLayout) {
6536265371
var context = gd._context || {};
6536365372
var frameMargins = context.frameMargins;
@@ -65384,8 +65393,8 @@ plots.plotAutoSize = function plotAutoSize(gd, layout, fullLayout) {
6538465393
// but don't enforce any ratio restrictions
6538565394
var computedStyle = isPlotDiv ? window.getComputedStyle(gd) : {};
6538665395

65387-
newWidth = parseFloat(computedStyle.width) || parseFloat(computedStyle.maxWidth) || fullLayout.width;
65388-
newHeight = parseFloat(computedStyle.height) || parseFloat(computedStyle.maxHeight) || fullLayout.height;
65396+
newWidth = getComputedSize(computedStyle.width) || getComputedSize(computedStyle.maxWidth) || fullLayout.width;
65397+
newHeight = getComputedSize(computedStyle.height) || getComputedSize(computedStyle.maxHeight) || fullLayout.height;
6538965398

6539065399
if(isNumeric(frameMargins) && frameMargins > 0) {
6539165400
var factor = 1 - 2 * frameMargins;
@@ -85801,7 +85810,7 @@ module.exports = {
8580185810
'use strict';
8580285811

8580385812
// package version injected by `npm run preprocess`
85804-
exports.version = '1.54.2';
85813+
exports.version = '1.54.3';
8580585814

8580685815
},{}]},{},[8])(8)
8580785816
});

‎dist/plotly-finance.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/plotly-geo-assets.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/plotly-geo.js

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v1.54.2
2+
* plotly.js (geo) v1.54.3
33
* Copyright 2012-2020, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -71182,6 +71182,15 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut, formatObj) {
7118271182
)(layoutIn, layoutOut, coerce);
7118371183
};
7118471184

71185+
function getComputedSize(attr) {
71186+
return (
71187+
(typeof attr === 'string') &&
71188+
(attr.substr(attr.length - 2) === 'px') &&
71189+
parseFloat(attr)
71190+
);
71191+
}
71192+
71193+
7118571194
plots.plotAutoSize = function plotAutoSize(gd, layout, fullLayout) {
7118671195
var context = gd._context || {};
7118771196
var frameMargins = context.frameMargins;
@@ -71208,8 +71217,8 @@ plots.plotAutoSize = function plotAutoSize(gd, layout, fullLayout) {
7120871217
// but don't enforce any ratio restrictions
7120971218
var computedStyle = isPlotDiv ? window.getComputedStyle(gd) : {};
7121071219

71211-
newWidth = parseFloat(computedStyle.width) || parseFloat(computedStyle.maxWidth) || fullLayout.width;
71212-
newHeight = parseFloat(computedStyle.height) || parseFloat(computedStyle.maxHeight) || fullLayout.height;
71220+
newWidth = getComputedSize(computedStyle.width) || getComputedSize(computedStyle.maxWidth) || fullLayout.width;
71221+
newHeight = getComputedSize(computedStyle.height) || getComputedSize(computedStyle.maxHeight) || fullLayout.height;
7121371222

7121471223
if(isNumeric(frameMargins) && frameMargins > 0) {
7121571224
var factor = 1 - 2 * frameMargins;
@@ -80652,7 +80661,7 @@ function styleTrace(gd, calcTrace) {
8065280661
'use strict';
8065380662

8065480663
// package version injected by `npm run preprocess`
80655-
exports.version = '1.54.2';
80664+
exports.version = '1.54.3';
8065680665

8065780666
},{}]},{},[4])(4)
8065880667
});

‎dist/plotly-geo.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/plotly-gl2d.js

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl2d) v1.54.2
2+
* plotly.js (gl2d) v1.54.3
33
* Copyright 2012-2020, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -100632,6 +100632,15 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut, formatObj) {
100632100632
)(layoutIn, layoutOut, coerce);
100633100633
};
100634100634

100635+
function getComputedSize(attr) {
100636+
return (
100637+
(typeof attr === 'string') &&
100638+
(attr.substr(attr.length - 2) === 'px') &&
100639+
parseFloat(attr)
100640+
);
100641+
}
100642+
100643+
100635100644
plots.plotAutoSize = function plotAutoSize(gd, layout, fullLayout) {
100636100645
var context = gd._context || {};
100637100646
var frameMargins = context.frameMargins;
@@ -100658,8 +100667,8 @@ plots.plotAutoSize = function plotAutoSize(gd, layout, fullLayout) {
100658100667
// but don't enforce any ratio restrictions
100659100668
var computedStyle = isPlotDiv ? window.getComputedStyle(gd) : {};
100660100669

100661-
newWidth = parseFloat(computedStyle.width) || parseFloat(computedStyle.maxWidth) || fullLayout.width;
100662-
newHeight = parseFloat(computedStyle.height) || parseFloat(computedStyle.maxHeight) || fullLayout.height;
100670+
newWidth = getComputedSize(computedStyle.width) || getComputedSize(computedStyle.maxWidth) || fullLayout.width;
100671+
newHeight = getComputedSize(computedStyle.height) || getComputedSize(computedStyle.maxHeight) || fullLayout.height;
100663100672

100664100673
if(isNumeric(frameMargins) && frameMargins > 0) {
100665100674
var factor = 1 - 2 * frameMargins;
@@ -118059,7 +118068,7 @@ module.exports = function select(searchInfo, selectionTester) {
118059118068
'use strict';
118060118069

118061118070
// package version injected by `npm run preprocess`
118062-
exports.version = '1.54.2';
118071+
exports.version = '1.54.3';
118063118072

118064118073
},{}]},{},[5])(5)
118065118074
});

‎dist/plotly-gl2d.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.