Skip to content

Commit cea4fd4

Browse files
committed
1.35.2
1 parent a17c44e commit cea4fd4

24 files changed

+19783
-19753
lines changed

dist/README.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You can grab the relevant MathJax files in `./dist/extras/mathjax/`.
3838
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
3939
Many other localizations are available - here is an example using Swiss-German (de-CH),
4040
see the contents of this directory for the full list.
41-
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.35.1.js
41+
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.35.2.js
4242
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.
4343

4444
*After* the plotly.js script tag, add:
@@ -61,11 +61,11 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
6161

6262
It be can imported as minified javascript
6363
- using dist file `dist/plotly.min.js`
64-
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.35.1.min.js
64+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.35.2.min.js
6565

6666
or as raw javascript:
6767
- using dist file `dist/plotly.js`
68-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.35.1.js
68+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.35.2.js
6969
- using CommonJS with `require('plotly.js')`
7070

7171
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`
@@ -98,13 +98,13 @@ The `basic` partial bundle contains the `scatter`, `bar` and `pie` trace modules
9898
| dist bundle (minified) | `dist/plotly-basic.min.js` |
9999
| CDN URL (latest) | https://cdn.plot.ly/plotly-basic-latest.js |
100100
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-basic-latest.min.js |
101-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.35.1.js |
102-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.35.1.min.js |
101+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.35.2.js |
102+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.35.2.min.js |
103103
| CommonJS | `require('plotly.js/lib/index-basic')` |
104104

105105
| Raw size | Minified size | Minified + gzip size |
106106
|------|-----------------|------------------------|
107-
| 2 MB | 685.3 kB | 229.5 kB |
107+
| 2 MB | 685.4 kB | 229.5 kB |
108108

109109
### plotly.js cartesian
110110

@@ -116,13 +116,13 @@ The `cartesian` partial bundle contains the `scatter`, `bar`, `box`, `heatmap`,
116116
| dist bundle (minified) | `dist/plotly-cartesian.min.js` |
117117
| CDN URL (latest) | https://cdn.plot.ly/plotly-cartesian-latest.js |
118118
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
119-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.35.1.js |
120-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.35.1.min.js |
119+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.35.2.js |
120+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.35.2.min.js |
121121
| CommonJS | `require('plotly.js/lib/index-cartesian')` |
122122

123123
| Raw size | Minified size | Minified + gzip size |
124124
|------|-----------------|------------------------|
125-
| 2.3 MB | 774.2 kB | 260.7 kB |
125+
| 2.3 MB | 774.3 kB | 260.8 kB |
126126

127127
### plotly.js geo
128128

@@ -134,13 +134,13 @@ The `geo` partial bundle contains the `scatter`, `scattergeo` and `choropleth` t
134134
| dist bundle (minified) | `dist/plotly-geo.min.js` |
135135
| CDN URL (latest) | https://cdn.plot.ly/plotly-geo-latest.js |
136136
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-geo-latest.min.js |
137-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.35.1.js |
138-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.35.1.min.js |
137+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.35.2.js |
138+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.35.2.min.js |
139139
| CommonJS | `require('plotly.js/lib/index-geo')` |
140140

141141
| Raw size | Minified size | Minified + gzip size |
142142
|------|-----------------|------------------------|
143-
| 2.1 MB | 707.4 kB | 238.6 kB |
143+
| 2.1 MB | 707.5 kB | 238.7 kB |
144144

145145
### plotly.js gl3d
146146

@@ -152,8 +152,8 @@ The `gl3d` partial bundle contains the `scatter`, `scatter3d`, `surface` and `me
152152
| dist bundle (minified) | `dist/plotly-gl3d.min.js` |
153153
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl3d-latest.js |
154154
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
155-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.35.1.js |
156-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.35.1.min.js |
155+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.35.2.js |
156+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.35.2.min.js |
157157
| CommonJS | `require('plotly.js/lib/index-gl3d')` |
158158

159159
| Raw size | Minified size | Minified + gzip size |
@@ -170,8 +170,8 @@ The `gl2d` partial bundle contains the `scatter`, `scattergl`, `pointcloud`, `he
170170
| dist bundle (minified) | `dist/plotly-gl2d.min.js` |
171171
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl2d-latest.js |
172172
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
173-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.35.1.js |
174-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.35.1.min.js |
173+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.35.2.js |
174+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.35.2.min.js |
175175
| CommonJS | `require('plotly.js/lib/index-gl2d')` |
176176

177177
| Raw size | Minified size | Minified + gzip size |
@@ -188,8 +188,8 @@ The `mapbox` partial bundle contains the `scatter` and `scattermapbox` trace mod
188188
| dist bundle (minified) | `dist/plotly-mapbox.min.js` |
189189
| CDN URL (latest) | https://cdn.plot.ly/plotly-mapbox-latest.js |
190190
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
191-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.35.1.js |
192-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.35.1.min.js |
191+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.35.2.js |
192+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.35.2.min.js |
193193
| CommonJS | `require('plotly.js/lib/index-mapbox')` |
194194

195195
| Raw size | Minified size | Minified + gzip size |
@@ -206,13 +206,13 @@ The `finance` partial bundle contains the `scatter`, `bar`, `histogram`, `pie`,
206206
| dist bundle (minified) | `dist/plotly-finance.min.js` |
207207
| CDN URL (latest) | https://cdn.plot.ly/plotly-finance-latest.js |
208208
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-finance-latest.min.js |
209-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.35.1.js |
210-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.35.1.min.js |
209+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.35.2.js |
210+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.35.2.min.js |
211211
| CommonJS | `require('plotly.js/lib/index-finance')` |
212212

213213
| Raw size | Minified size | Minified + gzip size |
214214
|------|-----------------|------------------------|
215-
| 2.1 MB | 715.7 kB | 240 kB |
215+
| 2.1 MB | 715.9 kB | 240 kB |
216216

217217
----------------
218218

dist/plotly-basic.js

+13-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v1.35.1
2+
* plotly.js (basic) v1.35.2
33
* Copyright 2012-2018, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -30040,6 +30040,7 @@ _$cartesian_215.clean = function(newFullData, newFullLayout, oldFullData, oldFul
3004030040
if(hadCartesian && !hasCartesian) {
3004130041
purgeSubplotLayers(oldFullLayout._cartesianlayer.selectAll('.subplot'), oldFullLayout);
3004230042
oldFullLayout._defs.selectAll('.axesclip').remove();
30043+
delete oldFullLayout._axisConstraintGroups;
3004330044
}
3004430045
// otherwise look for subplots we need to remove
3004530046
else if(oldSubplotList.cartesian) {
@@ -56965,6 +56966,8 @@ _$plot_api_193.plot = function(gd, data, layout, config) {
5696556966

5696656967
var fullLayout = gd._fullLayout;
5696756968

56969+
var hasCartesian = fullLayout._has('cartesian');
56970+
5696856971
// Legacy polar plots
5696956972
if(!fullLayout._has('polar') && data && data[0] && data[0].r) {
5697056973
_$lib_162.log('Legacy polar charts are deprecated!');
@@ -57238,16 +57241,18 @@ _$plot_api_193.plot = function(gd, data, layout, config) {
5723857241
addFrames,
5723957242
drawFramework,
5724057243
marginPushers,
57241-
marginPushersAgain,
57242-
positionAndAutorange,
57243-
_$subroutines_196.layoutStyles,
57244-
drawAxes,
57244+
marginPushersAgain
57245+
];
57246+
if(hasCartesian) seq.push(positionAndAutorange);
57247+
seq.push(_$subroutines_196.layoutStyles);
57248+
if(hasCartesian) seq.push(drawAxes);
57249+
seq.push(
5724557250
drawData,
5724657251
finalDraw,
5724757252
_$initInteractions_213,
5724857253
_$plots_237.rehover,
5724957254
_$plots_237.previousPromises
57250-
];
57255+
);
5725157256

5725257257
// even if everything we did was synchronous, return a promise
5725357258
// so that the caller doesn't care which route we took
@@ -59423,7 +59428,7 @@ function getDiffFlags(oldContainer, newContainer, outerparts, opts) {
5942359428
}
5942459429

5942559430
for(key in newContainer) {
59426-
if(!(key in oldContainer)) {
59431+
if(!(key in oldContainer || key.charAt(0) === '_' || typeof newContainer[key] === 'function')) {
5942759432
valObject = getValObject(outerparts.concat(key));
5942859433

5942959434
if(valObjectCanBeDataArray(valObject) && Array.isArray(newContainer[key])) {
@@ -63551,7 +63556,7 @@ var _$core_148 = {};
6355163556
'use strict';
6355263557

6355363558
// package version injected by `npm run preprocess`
63554-
_$core_148.version = '1.35.1';
63559+
_$core_148.version = '1.35.2';
6355563560

6355663561
// inject promise polyfill
6355763562
_$es6Promise_8.polyfill();

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-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v1.35.1
2+
* plotly.js (cartesian) v1.35.2
33
* Copyright 2012-2018, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -30040,6 +30040,7 @@ _$cartesian_224.clean = function(newFullData, newFullLayout, oldFullData, oldFul
3004030040
if(hadCartesian && !hasCartesian) {
3004130041
purgeSubplotLayers(oldFullLayout._cartesianlayer.selectAll('.subplot'), oldFullLayout);
3004230042
oldFullLayout._defs.selectAll('.axesclip').remove();
30043+
delete oldFullLayout._axisConstraintGroups;
3004330044
}
3004430045
// otherwise look for subplots we need to remove
3004530046
else if(oldSubplotList.cartesian) {
@@ -62833,6 +62834,8 @@ _$plot_api_202.plot = function(gd, data, layout, config) {
6283362834

6283462835
var fullLayout = gd._fullLayout;
6283562836

62837+
var hasCartesian = fullLayout._has('cartesian');
62838+
6283662839
// Legacy polar plots
6283762840
if(!fullLayout._has('polar') && data && data[0] && data[0].r) {
6283862841
_$lib_171.log('Legacy polar charts are deprecated!');
@@ -63106,16 +63109,18 @@ _$plot_api_202.plot = function(gd, data, layout, config) {
6310663109
addFrames,
6310763110
drawFramework,
6310863111
marginPushers,
63109-
marginPushersAgain,
63110-
positionAndAutorange,
63111-
_$subroutines_205.layoutStyles,
63112-
drawAxes,
63112+
marginPushersAgain
63113+
];
63114+
if(hasCartesian) seq.push(positionAndAutorange);
63115+
seq.push(_$subroutines_205.layoutStyles);
63116+
if(hasCartesian) seq.push(drawAxes);
63117+
seq.push(
6311363118
drawData,
6311463119
finalDraw,
6311563120
_$initInteractions_222,
6311663121
_$plots_246.rehover,
6311763122
_$plots_246.previousPromises
63118-
];
63123+
);
6311963124

6312063125
// even if everything we did was synchronous, return a promise
6312163126
// so that the caller doesn't care which route we took
@@ -65291,7 +65296,7 @@ function getDiffFlags(oldContainer, newContainer, outerparts, opts) {
6529165296
}
6529265297

6529365298
for(key in newContainer) {
65294-
if(!(key in oldContainer)) {
65299+
if(!(key in oldContainer || key.charAt(0) === '_' || typeof newContainer[key] === 'function')) {
6529565300
valObject = getValObject(outerparts.concat(key));
6529665301

6529765302
if(valObjectCanBeDataArray(valObject) && Array.isArray(newContainer[key])) {
@@ -69419,7 +69424,7 @@ var _$core_157 = {};
6941969424
'use strict';
6942069425

6942169426
// package version injected by `npm run preprocess`
69422-
_$core_157.version = '1.35.1';
69427+
_$core_157.version = '1.35.2';
6942369428

6942469429
// inject promise polyfill
6942569430
_$es6Promise_16.polyfill();

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-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v1.35.1
2+
* plotly.js (finance) v1.35.2
33
* Copyright 2012-2018, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -30040,6 +30040,7 @@ _$cartesian_218.clean = function(newFullData, newFullLayout, oldFullData, oldFul
3004030040
if(hadCartesian && !hasCartesian) {
3004130041
purgeSubplotLayers(oldFullLayout._cartesianlayer.selectAll('.subplot'), oldFullLayout);
3004230042
oldFullLayout._defs.selectAll('.axesclip').remove();
30043+
delete oldFullLayout._axisConstraintGroups;
3004330044
}
3004430045
// otherwise look for subplots we need to remove
3004530046
else if(oldSubplotList.cartesian) {
@@ -58994,6 +58995,8 @@ _$plot_api_196.plot = function(gd, data, layout, config) {
5899458995

5899558996
var fullLayout = gd._fullLayout;
5899658997

58998+
var hasCartesian = fullLayout._has('cartesian');
58999+
5899759000
// Legacy polar plots
5899859001
if(!fullLayout._has('polar') && data && data[0] && data[0].r) {
5899959002
_$lib_165.log('Legacy polar charts are deprecated!');
@@ -59267,16 +59270,18 @@ _$plot_api_196.plot = function(gd, data, layout, config) {
5926759270
addFrames,
5926859271
drawFramework,
5926959272
marginPushers,
59270-
marginPushersAgain,
59271-
positionAndAutorange,
59272-
_$subroutines_199.layoutStyles,
59273-
drawAxes,
59273+
marginPushersAgain
59274+
];
59275+
if(hasCartesian) seq.push(positionAndAutorange);
59276+
seq.push(_$subroutines_199.layoutStyles);
59277+
if(hasCartesian) seq.push(drawAxes);
59278+
seq.push(
5927459279
drawData,
5927559280
finalDraw,
5927659281
_$initInteractions_216,
5927759282
_$plots_240.rehover,
5927859283
_$plots_240.previousPromises
59279-
];
59284+
);
5928059285

5928159286
// even if everything we did was synchronous, return a promise
5928259287
// so that the caller doesn't care which route we took
@@ -61452,7 +61457,7 @@ function getDiffFlags(oldContainer, newContainer, outerparts, opts) {
6145261457
}
6145361458

6145461459
for(key in newContainer) {
61455-
if(!(key in oldContainer)) {
61460+
if(!(key in oldContainer || key.charAt(0) === '_' || typeof newContainer[key] === 'function')) {
6145661461
valObject = getValObject(outerparts.concat(key));
6145761462

6145861463
if(valObjectCanBeDataArray(valObject) && Array.isArray(newContainer[key])) {
@@ -65580,7 +65585,7 @@ var _$core_151 = {};
6558065585
'use strict';
6558165586

6558265587
// package version injected by `npm run preprocess`
65583-
_$core_151.version = '1.35.1';
65588+
_$core_151.version = '1.35.2';
6558465589

6558565590
// inject promise polyfill
6558665591
_$es6Promise_11.polyfill();

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.

0 commit comments

Comments
 (0)