Skip to content

Commit 216b587

Browse files
committed
1.52.1
1 parent c3ae074 commit 216b587

23 files changed

+126
-63
lines changed

dist/README.md

Lines changed: 19 additions & 19 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.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.1.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.1.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.1.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 | 956 kB | 7.2 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.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.1.js |
126+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.52.1.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.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.1.js |
179+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.52.1.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 | 879.8 kB | 289.6 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.1.js |
232+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.52.1.min.js |
233233

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

@@ -281,8 +281,8 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
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.1.js |
285+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.52.1.min.js |
286286

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

@@ -334,8 +334,8 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`
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.1.js |
338+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.52.1.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.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.1.js |
391+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.52.1.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.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.1.js |
444+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.52.1.min.js |
445445

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

dist/plotly-basic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v1.52.0
2+
* plotly.js (basic) v1.52.1
33
* Copyright 2012-2020, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -34317,7 +34317,7 @@ exports.svgAttrs = {
3431734317
'use strict';
3431834318

3431934319
// package version injected by `npm run preprocess`
34320-
exports.version = '1.52.0';
34320+
exports.version = '1.52.1';
3432134321

3432234322
// inject promise polyfill
3432334323
_dereq_('es6-promise').polyfill();

dist/plotly-basic.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-cartesian.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v1.52.0
2+
* plotly.js (cartesian) v1.52.1
33
* Copyright 2012-2020, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -34481,7 +34481,7 @@ exports.svgAttrs = {
3448134481
'use strict';
3448234482

3448334483
// package version injected by `npm run preprocess`
34484-
exports.version = '1.52.0';
34484+
exports.version = '1.52.1';
3448534485

3448634486
// inject promise polyfill
3448734487
_dereq_('es6-promise').polyfill();

dist/plotly-cartesian.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-finance.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v1.52.0
2+
* plotly.js (finance) v1.52.1
33
* Copyright 2012-2020, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -34437,7 +34437,7 @@ exports.svgAttrs = {
3443734437
'use strict';
3443834438

3443934439
// package version injected by `npm run preprocess`
34440-
exports.version = '1.52.0';
34440+
exports.version = '1.52.1';
3444134441

3444234442
// inject promise polyfill
3444334443
_dereq_('es6-promise').polyfill();

dist/plotly-finance.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-geo-assets.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-geo.js

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v1.52.0
2+
* plotly.js (geo) v1.52.1
33
* Copyright 2012-2020, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -37155,7 +37155,7 @@ exports.svgAttrs = {
3715537155
'use strict';
3715637156

3715737157
// package version injected by `npm run preprocess`
37158-
exports.version = '1.52.0';
37158+
exports.version = '1.52.1';
3715937159

3716037160
// inject promise polyfill
3716137161
_dereq_('es6-promise').polyfill();
@@ -64975,9 +64975,30 @@ function handleGeoDefaults(geoLayoutIn, geoLayoutOut, coerce, opts) {
6497564975
var isConic = geoLayoutOut._isConic = projType.indexOf('conic') !== -1;
6497664976
var isClipped = geoLayoutOut._isClipped = !!constants.lonaxisSpan[projType];
6497764977

64978+
if(geoLayoutIn.visible === false) {
64979+
// should override template.layout.geo.show* - see issue 4482
64980+
64981+
// make a copy
64982+
var newTemplate = Lib.extendDeep({}, geoLayoutOut._template);
64983+
64984+
// override show*
64985+
newTemplate.showcoastlines = false;
64986+
newTemplate.showcountries = false;
64987+
newTemplate.showframe = false;
64988+
newTemplate.showlakes = false;
64989+
newTemplate.showland = false;
64990+
newTemplate.showocean = false;
64991+
newTemplate.showrivers = false;
64992+
newTemplate.showsubunits = false;
64993+
if(newTemplate.lonaxis) newTemplate.lonaxis.showgrid = false;
64994+
if(newTemplate.lataxis) newTemplate.lataxis.showgrid = false;
64995+
64996+
// set ref to copy
64997+
geoLayoutOut._template = newTemplate;
64998+
}
6497864999
var visible = coerce('visible');
64979-
var show;
6498065000

65001+
var show;
6498165002
for(var i = 0; i < axesNames.length; i++) {
6498265003
var axisName = axesNames[i];
6498365004
var dtickDflt = [30, 10][i];

dist/plotly-geo.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)