Skip to content

Commit 9218ecc

Browse files
committed
2.8.3
1 parent 5cbd210 commit 9218ecc

24 files changed

+93
-87
lines changed

dist/README.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
4646
| 8.3 MB | 3.5 MB | 1 MB | 8.6 MB |
4747

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-2.8.2.js
49+
> https://cdn.plot.ly/plotly-2.8.3.js
5050
51-
> https://cdn.plot.ly/plotly-2.8.2.min.js
51+
> https://cdn.plot.ly/plotly-2.8.3.min.js
5252
5353

5454
#### npm packages
@@ -94,9 +94,9 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
9494
| 2.7 MB | 976.6 kB | 318.1 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-2.8.2.js
97+
> https://cdn.plot.ly/plotly-basic-2.8.3.js
9898
99-
> https://cdn.plot.ly/plotly-basic-2.8.2.min.js
99+
> https://cdn.plot.ly/plotly-basic-2.8.3.min.js
100100
101101

102102
#### npm packages
@@ -117,9 +117,9 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
117117
| 3.3 MB | 1.2 MB | 391 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-2.8.2.js
120+
> https://cdn.plot.ly/plotly-cartesian-2.8.3.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-2.8.2.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-2.8.3.min.js
123123
124124

125125
#### npm packages
@@ -140,9 +140,9 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
140140
| 3 MB | 1.1 MB | 360.7 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-2.8.2.js
143+
> https://cdn.plot.ly/plotly-geo-2.8.3.js
144144
145-
> https://cdn.plot.ly/plotly-geo-2.8.2.min.js
145+
> https://cdn.plot.ly/plotly-geo-2.8.3.min.js
146146
147147

148148
#### npm packages
@@ -163,9 +163,9 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
163163
| 3.9 MB | 1.5 MB | 480.8 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-2.8.2.js
166+
> https://cdn.plot.ly/plotly-gl3d-2.8.3.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-2.8.2.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-2.8.3.min.js
169169
170170

171171
#### npm packages
@@ -186,9 +186,9 @@ The `gl2d` partial bundle contains trace modules `heatmapgl`, `parcoords`, `poin
186186
| 4.4 MB | 1.8 MB | 571.5 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-2.8.2.js
189+
> https://cdn.plot.ly/plotly-gl2d-2.8.3.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-2.8.2.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-2.8.3.min.js
192192
193193

194194
#### npm packages
@@ -209,9 +209,9 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
209209
| 4.3 MB | 1.7 MB | 514.9 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-mapbox-2.8.2.js
212+
> https://cdn.plot.ly/plotly-mapbox-2.8.3.js
213213
214-
> https://cdn.plot.ly/plotly-mapbox-2.8.2.min.js
214+
> https://cdn.plot.ly/plotly-mapbox-2.8.3.min.js
215215
216216

217217
#### npm packages
@@ -232,9 +232,9 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
232232
| 2.9 MB | 1.1 MB | 350.8 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-2.8.2.js
235+
> https://cdn.plot.ly/plotly-finance-2.8.3.js
236236
237-
> https://cdn.plot.ly/plotly-finance-2.8.2.min.js
237+
> https://cdn.plot.ly/plotly-finance-2.8.3.min.js
238238
239239

240240
#### npm packages
@@ -252,12 +252,12 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
252252

253253
| Raw size | Minified size | Minified + gzip size |
254254
|------|-----------------|------------------------|
255-
| 7.7 MB | 3.2 MB | 958.6 kB |
255+
| 7.7 MB | 3.2 MB | 958.7 kB |
256256

257257
#### CDN links
258-
> https://cdn.plot.ly/plotly-strict-2.8.2.js
258+
> https://cdn.plot.ly/plotly-strict-2.8.3.js
259259
260-
> https://cdn.plot.ly/plotly-strict-2.8.2.min.js
260+
> https://cdn.plot.ly/plotly-strict-2.8.3.min.js
261261
262262

263263
#### npm packages

dist/plotly-basic.js

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v2.8.2
2+
* plotly.js (basic) v2.8.3
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -76122,6 +76122,7 @@ function calcTexttemplate(fullLayout, cd, index, xa, ya) {
7612276122
var trace = cd[0].trace;
7612376123
var texttemplate = Lib.castOption(trace, index, 'texttemplate');
7612476124
if(!texttemplate) return '';
76125+
var isHistogram = (trace.type === 'histogram');
7612576126
var isWaterfall = (trace.type === 'waterfall');
7612676127
var isFunnel = (trace.type === 'funnel');
7612776128
var isHorizontal = trace.orientation === 'h';
@@ -76163,10 +76164,10 @@ function calcTexttemplate(fullLayout, cd, index, xa, ya) {
7616376164
var pt = {};
7616476165
appendArrayPointValue(pt, trace, cdi.i);
7616576166

76166-
if(pt.x === undefined) pt.x = isHorizontal ? obj.value : obj.label;
76167-
if(pt.y === undefined) pt.y = isHorizontal ? obj.label : obj.value;
76168-
if(pt.xLabel === undefined) pt.xLabel = isHorizontal ? obj.valueLabel : obj.labelLabel;
76169-
if(pt.yLabel === undefined) pt.yLabel = isHorizontal ? obj.labelLabel : obj.valueLabel;
76167+
if(isHistogram || pt.x === undefined) pt.x = isHorizontal ? obj.value : obj.label;
76168+
if(isHistogram || pt.y === undefined) pt.y = isHorizontal ? obj.label : obj.value;
76169+
if(isHistogram || pt.xLabel === undefined) pt.xLabel = isHorizontal ? obj.valueLabel : obj.labelLabel;
76170+
if(isHistogram || pt.yLabel === undefined) pt.yLabel = isHorizontal ? obj.labelLabel : obj.valueLabel;
7617076171

7617176172
if(isWaterfall) {
7617276173
obj.delta = +cdi.rawS || cdi.s;
@@ -82630,7 +82631,7 @@ function getSortFunc(opts, d2c) {
8263082631
'use strict';
8263182632

8263282633
// package version injected by `npm run preprocess`
82633-
exports.version = '2.8.2';
82634+
exports.version = '2.8.3';
8263482635

8263582636
},{}]},{},[8])(8)
8263682637
});

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

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v2.8.2
2+
* plotly.js (cartesian) v2.8.3
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -86417,6 +86417,7 @@ function calcTexttemplate(fullLayout, cd, index, xa, ya) {
8641786417
var trace = cd[0].trace;
8641886418
var texttemplate = Lib.castOption(trace, index, 'texttemplate');
8641986419
if(!texttemplate) return '';
86420+
var isHistogram = (trace.type === 'histogram');
8642086421
var isWaterfall = (trace.type === 'waterfall');
8642186422
var isFunnel = (trace.type === 'funnel');
8642286423
var isHorizontal = trace.orientation === 'h';
@@ -86458,10 +86459,10 @@ function calcTexttemplate(fullLayout, cd, index, xa, ya) {
8645886459
var pt = {};
8645986460
appendArrayPointValue(pt, trace, cdi.i);
8646086461

86461-
if(pt.x === undefined) pt.x = isHorizontal ? obj.value : obj.label;
86462-
if(pt.y === undefined) pt.y = isHorizontal ? obj.label : obj.value;
86463-
if(pt.xLabel === undefined) pt.xLabel = isHorizontal ? obj.valueLabel : obj.labelLabel;
86464-
if(pt.yLabel === undefined) pt.yLabel = isHorizontal ? obj.labelLabel : obj.valueLabel;
86462+
if(isHistogram || pt.x === undefined) pt.x = isHorizontal ? obj.value : obj.label;
86463+
if(isHistogram || pt.y === undefined) pt.y = isHorizontal ? obj.label : obj.value;
86464+
if(isHistogram || pt.xLabel === undefined) pt.xLabel = isHorizontal ? obj.valueLabel : obj.labelLabel;
86465+
if(isHistogram || pt.yLabel === undefined) pt.yLabel = isHorizontal ? obj.labelLabel : obj.valueLabel;
8646586466

8646686467
if(isWaterfall) {
8646786468
obj.delta = +cdi.rawS || cdi.s;
@@ -102816,7 +102817,7 @@ function getSortFunc(opts, d2c) {
102816102817
'use strict';
102817102818

102818102819
// package version injected by `npm run preprocess`
102819-
exports.version = '2.8.2';
102820+
exports.version = '2.8.3';
102820102821

102821102822
},{}]},{},[15])(15)
102822102823
});

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

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v2.8.2
2+
* plotly.js (finance) v2.8.3
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -77356,6 +77356,7 @@ function calcTexttemplate(fullLayout, cd, index, xa, ya) {
7735677356
var trace = cd[0].trace;
7735777357
var texttemplate = Lib.castOption(trace, index, 'texttemplate');
7735877358
if(!texttemplate) return '';
77359+
var isHistogram = (trace.type === 'histogram');
7735977360
var isWaterfall = (trace.type === 'waterfall');
7736077361
var isFunnel = (trace.type === 'funnel');
7736177362
var isHorizontal = trace.orientation === 'h';
@@ -77397,10 +77398,10 @@ function calcTexttemplate(fullLayout, cd, index, xa, ya) {
7739777398
var pt = {};
7739877399
appendArrayPointValue(pt, trace, cdi.i);
7739977400

77400-
if(pt.x === undefined) pt.x = isHorizontal ? obj.value : obj.label;
77401-
if(pt.y === undefined) pt.y = isHorizontal ? obj.label : obj.value;
77402-
if(pt.xLabel === undefined) pt.xLabel = isHorizontal ? obj.valueLabel : obj.labelLabel;
77403-
if(pt.yLabel === undefined) pt.yLabel = isHorizontal ? obj.labelLabel : obj.valueLabel;
77401+
if(isHistogram || pt.x === undefined) pt.x = isHorizontal ? obj.value : obj.label;
77402+
if(isHistogram || pt.y === undefined) pt.y = isHorizontal ? obj.label : obj.value;
77403+
if(isHistogram || pt.xLabel === undefined) pt.xLabel = isHorizontal ? obj.valueLabel : obj.labelLabel;
77404+
if(isHistogram || pt.yLabel === undefined) pt.yLabel = isHorizontal ? obj.labelLabel : obj.valueLabel;
7740477405

7740577406
if(isWaterfall) {
7740677407
obj.delta = +cdi.rawS || cdi.s;
@@ -90617,7 +90618,7 @@ function getSortFunc(opts, d2c) {
9061790618
'use strict';
9061890619

9061990620
// package version injected by `npm run preprocess`
90620-
exports.version = '2.8.2';
90621+
exports.version = '2.8.3';
9062190622

9062290623
},{}]},{},[12])(12)
9062390624
});

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v2.8.2
2+
* plotly.js (geo) v2.8.3
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -95378,7 +95378,7 @@ function getSortFunc(opts, d2c) {
9537895378
'use strict';
9537995379

9538095380
// package version injected by `npm run preprocess`
95381-
exports.version = '2.8.2';
95381+
exports.version = '2.8.3';
9538295382

9538395383
},{}]},{},[8])(8)
9538495384
});

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl2d) v2.8.2
2+
* plotly.js (gl2d) v2.8.3
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -100910,7 +100910,7 @@ function getSortFunc(opts, d2c) {
100910100910
'use strict';
100911100911

100912100912
// package version injected by `npm run preprocess`
100913-
exports.version = '2.8.2';
100913+
exports.version = '2.8.3';
100914100914

100915100915
},{}],588:[function(_dereq_,module,exports){
100916100916
(function (global){(function (){

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.

dist/plotly-gl3d.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl3d) v2.8.2
2+
* plotly.js (gl3d) v2.8.3
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -86285,7 +86285,7 @@ function getSortFunc(opts, d2c) {
8628586285
'use strict';
8628686286

8628786287
// package version injected by `npm run preprocess`
86288-
exports.version = '2.8.2';
86288+
exports.version = '2.8.3';
8628986289

8629086290
},{}],435:[function(_dereq_,module,exports){
8629186291
(function (global){(function (){

dist/plotly-gl3d.min.js

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

dist/plotly-mapbox.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (mapbox) v2.8.2
2+
* plotly.js (mapbox) v2.8.3
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -129839,7 +129839,7 @@ function getSortFunc(opts, d2c) {
129839129839
'use strict';
129840129840

129841129841
// package version injected by `npm run preprocess`
129842-
exports.version = '2.8.2';
129842+
exports.version = '2.8.3';
129843129843

129844129844
},{}]},{},[9])(9)
129845129845
});

dist/plotly-mapbox.min.js

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

dist/plotly-strict.js

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (strict) v2.8.2
2+
* plotly.js (strict) v2.8.3
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -163352,6 +163352,7 @@ function calcTexttemplate(fullLayout, cd, index, xa, ya) {
163352163352
var trace = cd[0].trace;
163353163353
var texttemplate = Lib.castOption(trace, index, 'texttemplate');
163354163354
if(!texttemplate) return '';
163355+
var isHistogram = (trace.type === 'histogram');
163355163356
var isWaterfall = (trace.type === 'waterfall');
163356163357
var isFunnel = (trace.type === 'funnel');
163357163358
var isHorizontal = trace.orientation === 'h';
@@ -163393,10 +163394,10 @@ function calcTexttemplate(fullLayout, cd, index, xa, ya) {
163393163394
var pt = {};
163394163395
appendArrayPointValue(pt, trace, cdi.i);
163395163396

163396-
if(pt.x === undefined) pt.x = isHorizontal ? obj.value : obj.label;
163397-
if(pt.y === undefined) pt.y = isHorizontal ? obj.label : obj.value;
163398-
if(pt.xLabel === undefined) pt.xLabel = isHorizontal ? obj.valueLabel : obj.labelLabel;
163399-
if(pt.yLabel === undefined) pt.yLabel = isHorizontal ? obj.labelLabel : obj.valueLabel;
163397+
if(isHistogram || pt.x === undefined) pt.x = isHorizontal ? obj.value : obj.label;
163398+
if(isHistogram || pt.y === undefined) pt.y = isHorizontal ? obj.label : obj.value;
163399+
if(isHistogram || pt.xLabel === undefined) pt.xLabel = isHorizontal ? obj.valueLabel : obj.labelLabel;
163400+
if(isHistogram || pt.yLabel === undefined) pt.yLabel = isHorizontal ? obj.labelLabel : obj.valueLabel;
163400163401

163401163402
if(isWaterfall) {
163402163403
obj.delta = +cdi.rawS || cdi.s;
@@ -208366,7 +208367,7 @@ function getSortFunc(opts, d2c) {
208366208367
'use strict';
208367208368

208368208369
// package version injected by `npm run preprocess`
208369-
exports.version = '2.8.2';
208370+
exports.version = '2.8.3';
208370208371

208371208372
},{}],934:[function(_dereq_,module,exports){
208372208373
(function (global){(function (){

dist/plotly-strict.min.js

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

dist/plotly-with-meta.js

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js v2.8.2
2+
* plotly.js v2.8.3
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -176118,6 +176118,7 @@ function calcTexttemplate(fullLayout, cd, index, xa, ya) {
176118176118
var trace = cd[0].trace;
176119176119
var texttemplate = Lib.castOption(trace, index, 'texttemplate');
176120176120
if(!texttemplate) return '';
176121+
var isHistogram = (trace.type === 'histogram');
176121176122
var isWaterfall = (trace.type === 'waterfall');
176122176123
var isFunnel = (trace.type === 'funnel');
176123176124
var isHorizontal = trace.orientation === 'h';
@@ -176159,10 +176160,10 @@ function calcTexttemplate(fullLayout, cd, index, xa, ya) {
176159176160
var pt = {};
176160176161
appendArrayPointValue(pt, trace, cdi.i);
176161176162

176162-
if(pt.x === undefined) pt.x = isHorizontal ? obj.value : obj.label;
176163-
if(pt.y === undefined) pt.y = isHorizontal ? obj.label : obj.value;
176164-
if(pt.xLabel === undefined) pt.xLabel = isHorizontal ? obj.valueLabel : obj.labelLabel;
176165-
if(pt.yLabel === undefined) pt.yLabel = isHorizontal ? obj.labelLabel : obj.valueLabel;
176163+
if(isHistogram || pt.x === undefined) pt.x = isHorizontal ? obj.value : obj.label;
176164+
if(isHistogram || pt.y === undefined) pt.y = isHorizontal ? obj.label : obj.value;
176165+
if(isHistogram || pt.xLabel === undefined) pt.xLabel = isHorizontal ? obj.valueLabel : obj.labelLabel;
176166+
if(isHistogram || pt.yLabel === undefined) pt.yLabel = isHorizontal ? obj.labelLabel : obj.valueLabel;
176166176167

176167176168
if(isWaterfall) {
176168176169
obj.delta = +cdi.rawS || cdi.s;
@@ -230519,7 +230520,7 @@ function getSortFunc(opts, d2c) {
230519230520
'use strict';
230520230521

230521230522
// package version injected by `npm run preprocess`
230522-
exports.version = '2.8.2';
230523+
exports.version = '2.8.3';
230523230524

230524230525
},{}],1120:[function(_dereq_,module,exports){
230525230526
(function (global){(function (){

0 commit comments

Comments
 (0)