Skip to content

Commit e6d0fe3

Browse files
committed
2.24.2
1 parent 92d6e94 commit e6d0fe3

24 files changed

+100
-108
lines changed

dist/README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
4646
| 8.1 MB | 3.4 MB | 1 MB | 8.4 MB |
4747

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

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

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-2.24.1.js
97+
> https://cdn.plot.ly/plotly-basic-2.24.2.js
9898
99-
> https://cdn.plot.ly/plotly-basic-2.24.1.min.js
99+
> https://cdn.plot.ly/plotly-basic-2.24.2.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 | 409.2 kB |
118118

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

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

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

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

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-2.24.1.js
166+
> https://cdn.plot.ly/plotly-gl3d-2.24.2.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-2.24.1.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-2.24.2.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 | 593.7 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-2.24.1.js
189+
> https://cdn.plot.ly/plotly-gl2d-2.24.2.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-2.24.1.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-2.24.2.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 | 524.3 kB |
210210

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

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

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

240240
#### npm packages
@@ -255,9 +255,9 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
255255
| 8.6 MB | 3.7 MB | 1.1 MB |
256256

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

263263
#### npm packages

dist/plotly-basic.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v2.24.1
2+
* plotly.js (basic) v2.24.2
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -11433,7 +11433,7 @@ function drawOne(gd, opts) {
1143311433
}
1143411434
},
1143511435
clickFn: function (numClicks, e) {
11436-
var clickedTrace = groups.selectAll('g.traces').filter(function () {
11436+
var clickedTrace = layer.selectAll('g.traces').filter(function () {
1143711437
var bbox = this.getBoundingClientRect();
1143811438
return e.clientX >= bbox.left && e.clientX <= bbox.right && e.clientY >= bbox.top && e.clientY <= bbox.bottom;
1143911439
});
@@ -60109,7 +60109,7 @@ function getSortFunc(opts, d2c) {
6010960109

6011060110

6011160111
// package version injected by `npm run preprocess`
60112-
exports.version = '2.24.1';
60112+
exports.version = '2.24.2';
6011360113

6011460114
/***/ }),
6011560115

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v2.24.1
2+
* plotly.js (cartesian) v2.24.2
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -11523,7 +11523,7 @@ function drawOne(gd, opts) {
1152311523
}
1152411524
},
1152511525
clickFn: function (numClicks, e) {
11526-
var clickedTrace = groups.selectAll('g.traces').filter(function () {
11526+
var clickedTrace = layer.selectAll('g.traces').filter(function () {
1152711527
var bbox = this.getBoundingClientRect();
1152811528
return e.clientX >= bbox.left && e.clientX <= bbox.right && e.clientY >= bbox.top && e.clientY <= bbox.bottom;
1152911529
});
@@ -70499,7 +70499,7 @@ function getSortFunc(opts, d2c) {
7049970499

7050070500

7050170501
// package version injected by `npm run preprocess`
70502-
exports.version = '2.24.1';
70502+
exports.version = '2.24.2';
7050370503

7050470504
/***/ }),
7050570505

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

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v2.24.1
2+
* plotly.js (finance) v2.24.2
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -11503,7 +11503,7 @@ function drawOne(gd, opts) {
1150311503
}
1150411504
},
1150511505
clickFn: function (numClicks, e) {
11506-
var clickedTrace = groups.selectAll('g.traces').filter(function () {
11506+
var clickedTrace = layer.selectAll('g.traces').filter(function () {
1150711507
var bbox = this.getBoundingClientRect();
1150811508
return e.clientX >= bbox.left && e.clientX <= bbox.right && e.clientY >= bbox.top && e.clientY <= bbox.bottom;
1150911509
});
@@ -65174,15 +65174,13 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode, opts) {
6517465174
var index = point.index;
6517565175
var di = cd[index];
6517665176
var size = di.isSum ? di.b + di.s : di.rawS;
65177-
if (!di.isSum) {
65178-
point.initial = di.b + di.s - size;
65179-
point.delta = size;
65180-
point.final = point.initial + point.delta;
65181-
var v = formatNumber(Math.abs(point.delta));
65182-
point.deltaLabel = size < 0 ? '(' + v + ')' : v;
65183-
point.finalLabel = formatNumber(point.final);
65184-
point.initialLabel = formatNumber(point.initial);
65185-
}
65177+
point.initial = di.b + di.s - size;
65178+
point.delta = size;
65179+
point.final = point.initial + point.delta;
65180+
var v = formatNumber(Math.abs(point.delta));
65181+
point.deltaLabel = size < 0 ? '(' + v + ')' : v;
65182+
point.finalLabel = formatNumber(point.final);
65183+
point.initialLabel = formatNumber(point.initial);
6518665184
var hoverinfo = di.hi || trace.hoverinfo;
6518765185
var text = [];
6518865186
if (hoverinfo && hoverinfo !== 'none' && hoverinfo !== 'skip') {
@@ -66418,7 +66416,7 @@ function getSortFunc(opts, d2c) {
6641866416

6641966417

6642066418
// package version injected by `npm run preprocess`
66421-
exports.version = '2.24.1';
66419+
exports.version = '2.24.2';
6642266420

6642366421
/***/ }),
6642466422

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v2.24.1
2+
* plotly.js (geo) v2.24.2
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -11433,7 +11433,7 @@ function drawOne(gd, opts) {
1143311433
}
1143411434
},
1143511435
clickFn: function (numClicks, e) {
11436-
var clickedTrace = groups.selectAll('g.traces').filter(function () {
11436+
var clickedTrace = layer.selectAll('g.traces').filter(function () {
1143711437
var bbox = this.getBoundingClientRect();
1143811438
return e.clientX >= bbox.left && e.clientX <= bbox.right && e.clientY >= bbox.top && e.clientY <= bbox.bottom;
1143911439
});
@@ -60121,7 +60121,7 @@ function getSortFunc(opts, d2c) {
6012160121

6012260122

6012360123
// package version injected by `npm run preprocess`
60124-
exports.version = '2.24.1';
60124+
exports.version = '2.24.2';
6012560125

6012660126
/***/ }),
6012760127

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl2d) v2.24.1
2+
* plotly.js (gl2d) v2.24.2
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -11463,7 +11463,7 @@ function drawOne(gd, opts) {
1146311463
}
1146411464
},
1146511465
clickFn: function (numClicks, e) {
11466-
var clickedTrace = groups.selectAll('g.traces').filter(function () {
11466+
var clickedTrace = layer.selectAll('g.traces').filter(function () {
1146711467
var bbox = this.getBoundingClientRect();
1146811468
return e.clientX >= bbox.left && e.clientX <= bbox.right && e.clientY >= bbox.top && e.clientY <= bbox.bottom;
1146911469
});
@@ -65520,7 +65520,7 @@ function getSortFunc(opts, d2c) {
6552065520

6552165521

6552265522
// package version injected by `npm run preprocess`
65523-
exports.version = '2.24.1';
65523+
exports.version = '2.24.2';
6552465524

6552565525
/***/ }),
6552665526

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl3d) v2.24.1
2+
* plotly.js (gl3d) v2.24.2
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -11483,7 +11483,7 @@ function drawOne(gd, opts) {
1148311483
}
1148411484
},
1148511485
clickFn: function (numClicks, e) {
11486-
var clickedTrace = groups.selectAll('g.traces').filter(function () {
11486+
var clickedTrace = layer.selectAll('g.traces').filter(function () {
1148711487
var bbox = this.getBoundingClientRect();
1148811488
return e.clientX >= bbox.left && e.clientX <= bbox.right && e.clientY >= bbox.top && e.clientY <= bbox.bottom;
1148911489
});
@@ -63546,7 +63546,7 @@ function getSortFunc(opts, d2c) {
6354663546

6354763547

6354863548
// package version injected by `npm run preprocess`
63549-
exports.version = '2.24.1';
63549+
exports.version = '2.24.2';
6355063550

6355163551
/***/ }),
6355263552

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (mapbox) v2.24.1
2+
* plotly.js (mapbox) v2.24.2
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -11443,7 +11443,7 @@ function drawOne(gd, opts) {
1144311443
}
1144411444
},
1144511445
clickFn: function (numClicks, e) {
11446-
var clickedTrace = groups.selectAll('g.traces').filter(function () {
11446+
var clickedTrace = layer.selectAll('g.traces').filter(function () {
1144711447
var bbox = this.getBoundingClientRect();
1144811448
return e.clientX >= bbox.left && e.clientX <= bbox.right && e.clientY >= bbox.top && e.clientY <= bbox.bottom;
1144911449
});
@@ -61236,7 +61236,7 @@ function getSortFunc(opts, d2c) {
6123661236

6123761237

6123861238
// package version injected by `npm run preprocess`
61239-
exports.version = '2.24.1';
61239+
exports.version = '2.24.2';
6124061240

6124161241
/***/ }),
6124261242

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

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (strict) v2.24.1
2+
* plotly.js (strict) v2.24.2
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -11843,7 +11843,7 @@ function drawOne(gd, opts) {
1184311843
}
1184411844
},
1184511845
clickFn: function (numClicks, e) {
11846-
var clickedTrace = groups.selectAll('g.traces').filter(function () {
11846+
var clickedTrace = layer.selectAll('g.traces').filter(function () {
1184711847
var bbox = this.getBoundingClientRect();
1184811848
return e.clientX >= bbox.left && e.clientX <= bbox.right && e.clientY >= bbox.top && e.clientY <= bbox.bottom;
1184911849
});
@@ -111171,15 +111171,13 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode, opts) {
111171111171
var index = point.index;
111172111172
var di = cd[index];
111173111173
var size = di.isSum ? di.b + di.s : di.rawS;
111174-
if (!di.isSum) {
111175-
point.initial = di.b + di.s - size;
111176-
point.delta = size;
111177-
point.final = point.initial + point.delta;
111178-
var v = formatNumber(Math.abs(point.delta));
111179-
point.deltaLabel = size < 0 ? '(' + v + ')' : v;
111180-
point.finalLabel = formatNumber(point.final);
111181-
point.initialLabel = formatNumber(point.initial);
111182-
}
111174+
point.initial = di.b + di.s - size;
111175+
point.delta = size;
111176+
point.final = point.initial + point.delta;
111177+
var v = formatNumber(Math.abs(point.delta));
111178+
point.deltaLabel = size < 0 ? '(' + v + ')' : v;
111179+
point.finalLabel = formatNumber(point.final);
111180+
point.initialLabel = formatNumber(point.initial);
111183111181
var hoverinfo = di.hi || trace.hoverinfo;
111184111182
var text = [];
111185111183
if (hoverinfo && hoverinfo !== 'none' && hoverinfo !== 'skip') {
@@ -112415,7 +112413,7 @@ function getSortFunc(opts, d2c) {
112415112413

112416112414

112417112415
// package version injected by `npm run preprocess`
112418-
exports.version = '2.24.1';
112416+
exports.version = '2.24.2';
112419112417

112420112418
/***/ }),
112421112419

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.

0 commit comments

Comments
 (0)