Skip to content

Commit b823573

Browse files
committed
1.21.2
1 parent 6699146 commit b823573

23 files changed

+307
-165
lines changed

dist/README.md

+22-22
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
3737

3838
It be can imported as minified javascript
3939
- using dist file `dist/plotly.min.js`
40-
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.21.1.min.js
40+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.21.2.min.js
4141

4242
or as raw javascript:
4343
- using dist file `dist/plotly.js`
44-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.21.1.js
44+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.21.2.js
4545
- using CommonJS with `require('plotly.js')`
4646

4747
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`
@@ -50,7 +50,7 @@ The main plotly.js bundle weights in at:
5050

5151
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
5252
|-----------|---------------|----------------------|---------------------|
53-
| 4.5 MB | 1.8 MB | 556.4 kB | 4.6 MB |
53+
| 4.5 MB | 1.8 MB | 556.5 kB | 4.6 MB |
5454

5555
## Partial bundles
5656

@@ -74,13 +74,13 @@ The `basic` partial bundle contains the `scatter`, `bar` and `pie` trace modules
7474
| dist bundle (minified) | `dist/plotly-basic.min.js` |
7575
| CDN URL (latest) | https://cdn.plot.ly/plotly-basic-latest.js |
7676
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-basic-latest.min.js |
77-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.21.1.js |
78-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.21.1.min.js |
77+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.21.2.js |
78+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.21.2.min.js |
7979
| CommonJS | `require('plotly.js/lib/index-basic')` |
8080

8181
| Raw size | Minified size | Minified + gzip size |
8282
|------|-----------------|------------------------|
83-
| 1.6 MB | 617 kB | 200.5 kB |
83+
| 1.6 MB | 617.1 kB | 200.6 kB |
8484

8585
### plotly.js cartesian
8686

@@ -92,13 +92,13 @@ The `cartesian` partial bundle contains the `scatter`, `bar`, `box`, `heatmap`,
9292
| dist bundle (minified) | `dist/plotly-cartesian.min.js` |
9393
| CDN URL (latest) | https://cdn.plot.ly/plotly-cartesian-latest.js |
9494
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
95-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.21.1.js |
96-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.21.1.min.js |
95+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.21.2.js |
96+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.21.2.min.js |
9797
| CommonJS | `require('plotly.js/lib/index-cartesian')` |
9898

9999
| Raw size | Minified size | Minified + gzip size |
100100
|------|-----------------|------------------------|
101-
| 1.8 MB | 689.7 kB | 222.4 kB |
101+
| 1.8 MB | 689.9 kB | 222.4 kB |
102102

103103
### plotly.js geo
104104

@@ -110,13 +110,13 @@ The `geo` partial bundle contains the `scatter`, `scattergeo` and `choropleth` t
110110
| dist bundle (minified) | `dist/plotly-geo.min.js` |
111111
| CDN URL (latest) | https://cdn.plot.ly/plotly-geo-latest.js |
112112
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-geo-latest.min.js |
113-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.21.1.js |
114-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.21.1.min.js |
113+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.21.2.js |
114+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.21.2.min.js |
115115
| CommonJS | `require('plotly.js/lib/index-geo')` |
116116

117117
| Raw size | Minified size | Minified + gzip size |
118118
|------|-----------------|------------------------|
119-
| 1.6 MB | 641.6 kB | 209.7 kB |
119+
| 1.6 MB | 641.7 kB | 209.7 kB |
120120

121121
### plotly.js gl3d
122122

@@ -128,8 +128,8 @@ The `gl3d` partial bundle contains the `scatter`, `scatter3d`, `surface` and `me
128128
| dist bundle (minified) | `dist/plotly-gl3d.min.js` |
129129
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl3d-latest.js |
130130
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
131-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.21.1.js |
132-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.21.1.min.js |
131+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.21.2.js |
132+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.21.2.min.js |
133133
| CommonJS | `require('plotly.js/lib/index-gl3d')` |
134134

135135
| Raw size | Minified size | Minified + gzip size |
@@ -146,13 +146,13 @@ The `gl2d` partial bundle contains the `scatter`, `scattergl`, `pointcloud`, `he
146146
| dist bundle (minified) | `dist/plotly-gl2d.min.js` |
147147
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl2d-latest.js |
148148
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
149-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.21.1.js |
150-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.21.1.min.js |
149+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.21.2.js |
150+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.21.2.min.js |
151151
| CommonJS | `require('plotly.js/lib/index-gl2d')` |
152152

153153
| Raw size | Minified size | Minified + gzip size |
154154
|------|-----------------|------------------------|
155-
| 2.2 MB | 937.4 kB | 293.8 kB |
155+
| 2.2 MB | 937.6 kB | 293.9 kB |
156156

157157
### plotly.js mapbox
158158

@@ -164,8 +164,8 @@ The `mapbox` partial bundle contains the `scatter` and `scattermapbox` trace mod
164164
| dist bundle (minified) | `dist/plotly-mapbox.min.js` |
165165
| CDN URL (latest) | https://cdn.plot.ly/plotly-mapbox-latest.js |
166166
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
167-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.21.1.js |
168-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.21.1.min.js |
167+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.21.2.js |
168+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.21.2.min.js |
169169
| CommonJS | `require('plotly.js/lib/index-mapbox')` |
170170

171171
| Raw size | Minified size | Minified + gzip size |
@@ -182,13 +182,13 @@ The `finance` partial bundle contains the `scatter`, `bar`, `histogram`, `pie`,
182182
| dist bundle (minified) | `dist/plotly-finance.min.js` |
183183
| CDN URL (latest) | https://cdn.plot.ly/plotly-finance-latest.js |
184184
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-finance-latest.min.js |
185-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.21.1.js |
186-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.21.1.min.js |
185+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.21.2.js |
186+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.21.2.min.js |
187187
| CommonJS | `require('plotly.js/lib/index-finance')` |
188188

189189
| Raw size | Minified size | Minified + gzip size |
190190
|------|-----------------|------------------------|
191-
| 1.7 MB | 642.9 kB | 207.8 kB |
191+
| 1.7 MB | 643 kB | 207.8 kB |
192192

193193
----------------
194194

dist/npm-ls.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plotly.js",
3-
"version": "1.21.1",
3+
"version": "1.21.2",
44
"dependencies": {
55
"3d-view": {
66
"version": "2.0.0",

dist/plotly-basic.js

+15-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v1.21.1
2+
* plotly.js (basic) v1.21.2
33
* Copyright 2012-2016, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -25358,7 +25358,7 @@ exports.svgAttrs = {
2535825358
var Plotly = require('./plotly');
2535925359

2536025360
// package version injected by `npm run preprocess`
25361-
exports.version = '1.21.1';
25361+
exports.version = '1.21.2';
2536225362

2536325363
// inject promise polyfill
2536425364
require('es6-promise').polyfill();
@@ -29678,6 +29678,13 @@ exports.cleanData = function(data, existingData) {
2967829678
transform.target = transform.filtersrc;
2967929679
delete transform.filtersrc;
2968029680
}
29681+
29682+
if(transform.calendar) {
29683+
if(!transform.valuecalendar) {
29684+
transform.valuecalendar = transform.calendar;
29685+
}
29686+
delete transform.calendar;
29687+
}
2968129688
}
2968229689
}
2968329690
}
@@ -32372,6 +32379,8 @@ Plotly.addFrames = function(gd, frameList, indices) {
3237232379

3237332380
var insertions = [];
3237432381
for(i = frameList.length - 1; i >= 0; i--) {
32382+
if(!Lib.isPlainObject(frameList[i])) continue;
32383+
3237532384
var name = (_hash[frameList[i].name] || {}).name;
3237632385
var newName = frameList[i].name;
3237732386

@@ -43429,7 +43438,8 @@ plots.graphJson = function(gd, dataonly, mode, output, useDefaults) {
4342943438
}
4343043439

4343143440
var data = (useDefaults) ? gd._fullData : gd.data,
43432-
layout = (useDefaults) ? gd._fullLayout : gd.layout;
43441+
layout = (useDefaults) ? gd._fullLayout : gd.layout,
43442+
frames = (gd._transitionData || {})._frames;
4343343443

4343443444
function stripObj(d) {
4343543445
if(typeof d === 'function') {
@@ -43502,6 +43512,8 @@ plots.graphJson = function(gd, dataonly, mode, output, useDefaults) {
4350243512

4350343513
if(gd.framework && gd.framework.isPolar) obj = gd.framework.getConfig();
4350443514

43515+
if(frames) obj.frames = stripObj(frames);
43516+
4350543517
return (output === 'object') ? obj : JSON.stringify(obj);
4350643518
};
4350743519

dist/plotly-basic.min.js

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

dist/plotly-cartesian.js

+15-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v1.21.1
2+
* plotly.js (cartesian) v1.21.2
33
* Copyright 2012-2016, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -25456,7 +25456,7 @@ exports.svgAttrs = {
2545625456
var Plotly = require('./plotly');
2545725457

2545825458
// package version injected by `npm run preprocess`
25459-
exports.version = '1.21.1';
25459+
exports.version = '1.21.2';
2546025460

2546125461
// inject promise polyfill
2546225462
require('es6-promise').polyfill();
@@ -29776,6 +29776,13 @@ exports.cleanData = function(data, existingData) {
2977629776
transform.target = transform.filtersrc;
2977729777
delete transform.filtersrc;
2977829778
}
29779+
29780+
if(transform.calendar) {
29781+
if(!transform.valuecalendar) {
29782+
transform.valuecalendar = transform.calendar;
29783+
}
29784+
delete transform.calendar;
29785+
}
2977929786
}
2978029787
}
2978129788
}
@@ -32470,6 +32477,8 @@ Plotly.addFrames = function(gd, frameList, indices) {
3247032477

3247132478
var insertions = [];
3247232479
for(i = frameList.length - 1; i >= 0; i--) {
32480+
if(!Lib.isPlainObject(frameList[i])) continue;
32481+
3247332482
var name = (_hash[frameList[i].name] || {}).name;
3247432483
var newName = frameList[i].name;
3247532484

@@ -43527,7 +43536,8 @@ plots.graphJson = function(gd, dataonly, mode, output, useDefaults) {
4352743536
}
4352843537

4352943538
var data = (useDefaults) ? gd._fullData : gd.data,
43530-
layout = (useDefaults) ? gd._fullLayout : gd.layout;
43539+
layout = (useDefaults) ? gd._fullLayout : gd.layout,
43540+
frames = (gd._transitionData || {})._frames;
4353143541

4353243542
function stripObj(d) {
4353343543
if(typeof d === 'function') {
@@ -43600,6 +43610,8 @@ plots.graphJson = function(gd, dataonly, mode, output, useDefaults) {
4360043610

4360143611
if(gd.framework && gd.framework.isPolar) obj = gd.framework.getConfig();
4360243612

43613+
if(frames) obj.frames = stripObj(frames);
43614+
4360343615
return (output === 'object') ? obj : JSON.stringify(obj);
4360443616
};
4360543617

dist/plotly-cartesian.min.js

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

dist/plotly-finance.js

+15-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v1.21.1
2+
* plotly.js (finance) v1.21.2
33
* Copyright 2012-2016, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -25400,7 +25400,7 @@ exports.svgAttrs = {
2540025400
var Plotly = require('./plotly');
2540125401

2540225402
// package version injected by `npm run preprocess`
25403-
exports.version = '1.21.1';
25403+
exports.version = '1.21.2';
2540425404

2540525405
// inject promise polyfill
2540625406
require('es6-promise').polyfill();
@@ -29720,6 +29720,13 @@ exports.cleanData = function(data, existingData) {
2972029720
transform.target = transform.filtersrc;
2972129721
delete transform.filtersrc;
2972229722
}
29723+
29724+
if(transform.calendar) {
29725+
if(!transform.valuecalendar) {
29726+
transform.valuecalendar = transform.calendar;
29727+
}
29728+
delete transform.calendar;
29729+
}
2972329730
}
2972429731
}
2972529732
}
@@ -32414,6 +32421,8 @@ Plotly.addFrames = function(gd, frameList, indices) {
3241432421

3241532422
var insertions = [];
3241632423
for(i = frameList.length - 1; i >= 0; i--) {
32424+
if(!Lib.isPlainObject(frameList[i])) continue;
32425+
3241732426
var name = (_hash[frameList[i].name] || {}).name;
3241832427
var newName = frameList[i].name;
3241932428

@@ -43471,7 +43480,8 @@ plots.graphJson = function(gd, dataonly, mode, output, useDefaults) {
4347143480
}
4347243481

4347343482
var data = (useDefaults) ? gd._fullData : gd.data,
43474-
layout = (useDefaults) ? gd._fullLayout : gd.layout;
43483+
layout = (useDefaults) ? gd._fullLayout : gd.layout,
43484+
frames = (gd._transitionData || {})._frames;
4347543485

4347643486
function stripObj(d) {
4347743487
if(typeof d === 'function') {
@@ -43544,6 +43554,8 @@ plots.graphJson = function(gd, dataonly, mode, output, useDefaults) {
4354443554

4354543555
if(gd.framework && gd.framework.isPolar) obj = gd.framework.getConfig();
4354643556

43557+
if(frames) obj.frames = stripObj(frames);
43558+
4354743559
return (output === 'object') ? obj : JSON.stringify(obj);
4354843560
};
4354943561

dist/plotly-finance.min.js

+12-12
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

+15-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v1.21.1
2+
* plotly.js (geo) v1.21.2
33
* Copyright 2012-2016, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -26137,7 +26137,7 @@ exports.svgAttrs = {
2613726137
var Plotly = require('./plotly');
2613826138

2613926139
// package version injected by `npm run preprocess`
26140-
exports.version = '1.21.1';
26140+
exports.version = '1.21.2';
2614126141

2614226142
// inject promise polyfill
2614326143
require('es6-promise').polyfill();
@@ -30704,6 +30704,13 @@ exports.cleanData = function(data, existingData) {
3070430704
transform.target = transform.filtersrc;
3070530705
delete transform.filtersrc;
3070630706
}
30707+
30708+
if(transform.calendar) {
30709+
if(!transform.valuecalendar) {
30710+
transform.valuecalendar = transform.calendar;
30711+
}
30712+
delete transform.calendar;
30713+
}
3070730714
}
3070830715
}
3070930716
}
@@ -33398,6 +33405,8 @@ Plotly.addFrames = function(gd, frameList, indices) {
3339833405

3339933406
var insertions = [];
3340033407
for(i = frameList.length - 1; i >= 0; i--) {
33408+
if(!Lib.isPlainObject(frameList[i])) continue;
33409+
3340133410
var name = (_hash[frameList[i].name] || {}).name;
3340233411
var newName = frameList[i].name;
3340333412

@@ -46855,7 +46864,8 @@ plots.graphJson = function(gd, dataonly, mode, output, useDefaults) {
4685546864
}
4685646865

4685746866
var data = (useDefaults) ? gd._fullData : gd.data,
46858-
layout = (useDefaults) ? gd._fullLayout : gd.layout;
46867+
layout = (useDefaults) ? gd._fullLayout : gd.layout,
46868+
frames = (gd._transitionData || {})._frames;
4685946869

4686046870
function stripObj(d) {
4686146871
if(typeof d === 'function') {
@@ -46928,6 +46938,8 @@ plots.graphJson = function(gd, dataonly, mode, output, useDefaults) {
4692846938

4692946939
if(gd.framework && gd.framework.isPolar) obj = gd.framework.getConfig();
4693046940

46941+
if(frames) obj.frames = stripObj(frames);
46942+
4693146943
return (output === 'object') ? obj : JSON.stringify(obj);
4693246944
};
4693346945

dist/plotly-geo.min.js

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

0 commit comments

Comments
 (0)