Skip to content

Commit 08f21f0

Browse files
committedMar 15, 2024·
2.30.1
1 parent d946e7f commit 08f21f0

24 files changed

+417
-421
lines changed
 

‎dist/README.md

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

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-2.30.0.js
49+
> https://cdn.plot.ly/plotly-2.30.1.js
5050
51-
> https://cdn.plot.ly/plotly-2.30.0.min.js
51+
> https://cdn.plot.ly/plotly-2.30.1.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 | 986.7 kB | 330.3 kB |
9595

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

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

125125
#### npm packages
@@ -137,12 +137,12 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
137137

138138
| Raw size | Minified size | Minified + gzip size |
139139
|------|-----------------|------------------------|
140-
| 3.1 MB | 1.1 MB | 372.9 kB |
140+
| 3.1 MB | 1.1 MB | 373 kB |
141141

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

148148
#### npm packages
@@ -160,12 +160,12 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
160160

161161
| Raw size | Minified size | Minified + gzip size |
162162
|------|-----------------|------------------------|
163-
| 3.6 MB | 1.5 MB | 493.7 kB |
163+
| 3.6 MB | 1.5 MB | 493.6 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-2.30.0.js
166+
> https://cdn.plot.ly/plotly-gl3d-2.30.1.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-2.30.0.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-2.30.1.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.9 MB | 600.3 kB |
187187

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

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

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-mapbox-2.30.0.js
212+
> https://cdn.plot.ly/plotly-mapbox-2.30.1.js
213213
214-
> https://cdn.plot.ly/plotly-mapbox-2.30.0.min.js
214+
> https://cdn.plot.ly/plotly-mapbox-2.30.1.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.1 MB | 359.4 kB |
233233

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

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

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

263263
#### npm packages

‎dist/plotly-basic.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v2.30.0
2+
* plotly.js (basic) v2.30.1
33
* Copyright 2012-2024, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -26416,7 +26416,10 @@ function templateFormatString(string, labels, d3locale) {
2641626416
var fmt;
2641726417
if (format[0] === ':') {
2641826418
fmt = d3locale ? d3locale.numberFormat : lib.numberFormat;
26419-
value = fmt(format.replace(TEMPLATE_STRING_FORMAT_SEPARATOR, ''))(value);
26419+
if (value !== '') {
26420+
// e.g. skip missing data on heatmap
26421+
value = fmt(format.replace(TEMPLATE_STRING_FORMAT_SEPARATOR, ''))(value);
26422+
}
2642026423
}
2642126424
if (format[0] === '|') {
2642226425
fmt = d3locale ? d3locale.timeFormat : utcFormat;
@@ -61544,7 +61547,7 @@ function getSortFunc(opts, d2c) {
6154461547

6154561548

6154661549
// package version injected by `npm run preprocess`
61547-
exports.version = '2.30.0';
61550+
exports.version = '2.30.1';
6154861551

6154961552
/***/ }),
6155061553

‎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-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v2.30.0
2+
* plotly.js (cartesian) v2.30.1
33
* Copyright 2012-2024, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -26525,7 +26525,10 @@ function templateFormatString(string, labels, d3locale) {
2652526525
var fmt;
2652626526
if (format[0] === ':') {
2652726527
fmt = d3locale ? d3locale.numberFormat : lib.numberFormat;
26528-
value = fmt(format.replace(TEMPLATE_STRING_FORMAT_SEPARATOR, ''))(value);
26528+
if (value !== '') {
26529+
// e.g. skip missing data on heatmap
26530+
value = fmt(format.replace(TEMPLATE_STRING_FORMAT_SEPARATOR, ''))(value);
26531+
}
2652926532
}
2653026533
if (format[0] === '|') {
2653126534
fmt = d3locale ? d3locale.timeFormat : utcFormat;
@@ -62204,7 +62207,7 @@ module.exports = function (gd, plotinfo, cdheatmaps, heatmapLayer) {
6220462207
var thisLabel = d3.select(this);
6220562208
var fontColor = font.color;
6220662209
if (!fontColor || fontColor === 'auto') {
62207-
fontColor = Color.contrast('rgba(' + sclFunc(d.z).join() + ')');
62210+
fontColor = Color.contrast(d.z === undefined ? gd._fullLayout.plot_bgcolor : 'rgba(' + sclFunc(d.z).join() + ')');
6220862211
}
6220962212
thisLabel.attr('data-notex', 1).call(svgTextUtils.positionText, xFn(d), yFn(d)).call(Drawing.font, fontFamily, fontSize, fontColor).text(d.t).call(svgTextUtils.convertToTspans, gd);
6221062213
});
@@ -72026,7 +72029,7 @@ function getSortFunc(opts, d2c) {
7202672029

7202772030

7202872031
// package version injected by `npm run preprocess`
72029-
exports.version = '2.30.0';
72032+
exports.version = '2.30.1';
7203072033

7203172034
/***/ }),
7203272035

‎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

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v2.30.0
2+
* plotly.js (finance) v2.30.1
33
* Copyright 2012-2024, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -26505,7 +26505,10 @@ function templateFormatString(string, labels, d3locale) {
2650526505
var fmt;
2650626506
if (format[0] === ':') {
2650726507
fmt = d3locale ? d3locale.numberFormat : lib.numberFormat;
26508-
value = fmt(format.replace(TEMPLATE_STRING_FORMAT_SEPARATOR, ''))(value);
26508+
if (value !== '') {
26509+
// e.g. skip missing data on heatmap
26510+
value = fmt(format.replace(TEMPLATE_STRING_FORMAT_SEPARATOR, ''))(value);
26511+
}
2650926512
}
2651026513
if (format[0] === '|') {
2651126514
fmt = d3locale ? d3locale.timeFormat : utcFormat;
@@ -67883,7 +67886,7 @@ function getSortFunc(opts, d2c) {
6788367886

6788467887

6788567888
// package version injected by `npm run preprocess`
67886-
exports.version = '2.30.0';
67889+
exports.version = '2.30.1';
6788767890

6788867891
/***/ }),
6788967892

‎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

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v2.30.0
2+
* plotly.js (geo) v2.30.1
33
* Copyright 2012-2024, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -26841,7 +26841,10 @@ function templateFormatString(string, labels, d3locale) {
2684126841
var fmt;
2684226842
if (format[0] === ':') {
2684326843
fmt = d3locale ? d3locale.numberFormat : lib.numberFormat;
26844-
value = fmt(format.replace(TEMPLATE_STRING_FORMAT_SEPARATOR, ''))(value);
26844+
if (value !== '') {
26845+
// e.g. skip missing data on heatmap
26846+
value = fmt(format.replace(TEMPLATE_STRING_FORMAT_SEPARATOR, ''))(value);
26847+
}
2684526848
}
2684626849
if (format[0] === '|') {
2684726850
fmt = d3locale ? d3locale.timeFormat : utcFormat;
@@ -61325,7 +61328,7 @@ function getSortFunc(opts, d2c) {
6132561328

6132661329

6132761330
// package version injected by `npm run preprocess`
61328-
exports.version = '2.30.0';
61331+
exports.version = '2.30.1';
6132961332

6133061333
/***/ }),
6133161334

‎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.

0 commit comments

Comments
 (0)