Skip to content

Commit 19322e9

Browse files
committed
2.27.1
1 parent 37468e2 commit 19322e9

24 files changed

+247
-109
lines changed

dist/README.md

+25-25
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.4 MB | 1 MB | 8.4 MB |
4747

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

5454
#### npm packages
@@ -91,12 +91,12 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
9191

9292
| Raw size | Minified size | Minified + gzip size |
9393
|------|-----------------|------------------------|
94-
| 2.6 MB | 975 kB | 326.1 kB |
94+
| 2.6 MB | 975.2 kB | 326.2 kB |
9595

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

102102
#### npm packages
@@ -114,12 +114,12 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
114114

115115
| Raw size | Minified size | Minified + gzip size |
116116
|------|-----------------|------------------------|
117-
| 3.3 MB | 1.2 MB | 412.4 kB |
117+
| 3.3 MB | 1.2 MB | 412.5 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-2.27.0.js
120+
> https://cdn.plot.ly/plotly-cartesian-2.27.1.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-2.27.0.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-2.27.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 | 370.1 kB |
140+
| 3.1 MB | 1.1 MB | 370.2 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-2.27.0.js
143+
> https://cdn.plot.ly/plotly-geo-2.27.1.js
144144
145-
> https://cdn.plot.ly/plotly-geo-2.27.0.min.js
145+
> https://cdn.plot.ly/plotly-geo-2.27.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 | 490.7 kB |
163+
| 3.6 MB | 1.5 MB | 490.8 kB |
164164

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

171171
#### npm packages
@@ -183,12 +183,12 @@ The `gl2d` partial bundle contains trace modules `heatmapgl`, `parcoords`, `poin
183183

184184
| Raw size | Minified size | Minified + gzip size |
185185
|------|-----------------|------------------------|
186-
| 4.4 MB | 1.8 MB | 596.5 kB |
186+
| 4.4 MB | 1.8 MB | 596.6 kB |
187187

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

194194
#### npm packages
@@ -206,12 +206,12 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
206206

207207
| Raw size | Minified size | Minified + gzip size |
208208
|------|-----------------|------------------------|
209-
| 4.4 MB | 1.7 MB | 527.3 kB |
209+
| 4.4 MB | 1.7 MB | 527.4 kB |
210210

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

217217
#### npm packages
@@ -229,12 +229,12 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
229229

230230
| Raw size | Minified size | Minified + gzip size |
231231
|------|-----------------|------------------------|
232-
| 2.8 MB | 1 MB | 354.8 kB |
232+
| 2.8 MB | 1 MB | 354.9 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-2.27.0.js
235+
> https://cdn.plot.ly/plotly-finance-2.27.1.js
236236
237-
> https://cdn.plot.ly/plotly-finance-2.27.0.min.js
237+
> https://cdn.plot.ly/plotly-finance-2.27.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.6 MB | 3.7 MB | 1.1 MB |
256256

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

263263
#### npm packages

dist/plotly-basic.js

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v2.27.0
2+
* plotly.js (basic) v2.27.1
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -35180,6 +35180,17 @@ exports.drawMainTitle = function (gd) {
3518035180
'text-anchor': textAnchor,
3518135181
dy: getMainTitleDyAdj(title.yanchor)
3518235182
}).call(svgTextUtils.positionText, x, y);
35183+
var extraLines = (title.text.match(svgTextUtils.BR_TAG_ALL) || []).length;
35184+
if (extraLines) {
35185+
var delta = alignmentConstants.LINE_SPACING * extraLines + alignmentConstants.MID_SHIFT;
35186+
if (title.y === 0) {
35187+
delta = -delta;
35188+
}
35189+
titleObj.selectAll('.line').each(function () {
35190+
var newDy = +this.getAttribute('dy').slice(0, -2) - delta + 'em';
35191+
this.setAttribute('dy', newDy);
35192+
});
35193+
}
3518335194
}
3518435195
}
3518535196
};
@@ -60645,7 +60656,7 @@ function getSortFunc(opts, d2c) {
6064560656

6064660657

6064760658
// package version injected by `npm run preprocess`
60648-
exports.version = '2.27.0';
60659+
exports.version = '2.27.1';
6064960660

6065060661
/***/ }),
6065160662

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

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v2.27.0
2+
* plotly.js (cartesian) v2.27.1
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -35338,6 +35338,17 @@ exports.drawMainTitle = function (gd) {
3533835338
'text-anchor': textAnchor,
3533935339
dy: getMainTitleDyAdj(title.yanchor)
3534035340
}).call(svgTextUtils.positionText, x, y);
35341+
var extraLines = (title.text.match(svgTextUtils.BR_TAG_ALL) || []).length;
35342+
if (extraLines) {
35343+
var delta = alignmentConstants.LINE_SPACING * extraLines + alignmentConstants.MID_SHIFT;
35344+
if (title.y === 0) {
35345+
delta = -delta;
35346+
}
35347+
titleObj.selectAll('.line').each(function () {
35348+
var newDy = +this.getAttribute('dy').slice(0, -2) - delta + 'em';
35349+
this.setAttribute('dy', newDy);
35350+
});
35351+
}
3534135352
}
3534235353
}
3534335354
};
@@ -71089,7 +71100,7 @@ function getSortFunc(opts, d2c) {
7108971100

7109071101

7109171102
// package version injected by `npm run preprocess`
71092-
exports.version = '2.27.0';
71103+
exports.version = '2.27.1';
7109371104

7109471105
/***/ }),
7109571106

@@ -91218,6 +91229,7 @@ process.umask = function() { return 0; };
9121891229
/***/ 71665:
9121991230
/***/ (function(module, exports, __webpack_require__) {
9122091231

91232+
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
9122191233
/* eslint-disable node/no-deprecated-api */
9122291234
var buffer = __webpack_require__(12856)
9122391235
var Buffer = buffer.Buffer

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-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v2.27.0
2+
* plotly.js (finance) v2.27.1
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -35269,6 +35269,17 @@ exports.drawMainTitle = function (gd) {
3526935269
'text-anchor': textAnchor,
3527035270
dy: getMainTitleDyAdj(title.yanchor)
3527135271
}).call(svgTextUtils.positionText, x, y);
35272+
var extraLines = (title.text.match(svgTextUtils.BR_TAG_ALL) || []).length;
35273+
if (extraLines) {
35274+
var delta = alignmentConstants.LINE_SPACING * extraLines + alignmentConstants.MID_SHIFT;
35275+
if (title.y === 0) {
35276+
delta = -delta;
35277+
}
35278+
titleObj.selectAll('.line').each(function () {
35279+
var newDy = +this.getAttribute('dy').slice(0, -2) - delta + 'em';
35280+
this.setAttribute('dy', newDy);
35281+
});
35282+
}
3527235283
}
3527335284
}
3527435285
};
@@ -66971,7 +66982,7 @@ function getSortFunc(opts, d2c) {
6697166982

6697266983

6697366984
// package version injected by `npm run preprocess`
66974-
exports.version = '2.27.0';
66985+
exports.version = '2.27.1';
6697566986

6697666987
/***/ }),
6697766988

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

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v2.27.0
2+
* plotly.js (geo) v2.27.1
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -35628,6 +35628,17 @@ exports.drawMainTitle = function (gd) {
3562835628
'text-anchor': textAnchor,
3562935629
dy: getMainTitleDyAdj(title.yanchor)
3563035630
}).call(svgTextUtils.positionText, x, y);
35631+
var extraLines = (title.text.match(svgTextUtils.BR_TAG_ALL) || []).length;
35632+
if (extraLines) {
35633+
var delta = alignmentConstants.LINE_SPACING * extraLines + alignmentConstants.MID_SHIFT;
35634+
if (title.y === 0) {
35635+
delta = -delta;
35636+
}
35637+
titleObj.selectAll('.line').each(function () {
35638+
var newDy = +this.getAttribute('dy').slice(0, -2) - delta + 'em';
35639+
this.setAttribute('dy', newDy);
35640+
});
35641+
}
3563135642
}
3563235643
}
3563335644
};
@@ -60658,7 +60669,7 @@ function getSortFunc(opts, d2c) {
6065860669

6065960670

6066060671
// package version injected by `npm run preprocess`
60661-
exports.version = '2.27.0';
60672+
exports.version = '2.27.1';
6066260673

6066360674
/***/ }),
6066460675

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

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl2d) v2.27.0
2+
* plotly.js (gl2d) v2.27.1
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -35464,6 +35464,17 @@ exports.drawMainTitle = function (gd) {
3546435464
'text-anchor': textAnchor,
3546535465
dy: getMainTitleDyAdj(title.yanchor)
3546635466
}).call(svgTextUtils.positionText, x, y);
35467+
var extraLines = (title.text.match(svgTextUtils.BR_TAG_ALL) || []).length;
35468+
if (extraLines) {
35469+
var delta = alignmentConstants.LINE_SPACING * extraLines + alignmentConstants.MID_SHIFT;
35470+
if (title.y === 0) {
35471+
delta = -delta;
35472+
}
35473+
titleObj.selectAll('.line').each(function () {
35474+
var newDy = +this.getAttribute('dy').slice(0, -2) - delta + 'em';
35475+
this.setAttribute('dy', newDy);
35476+
});
35477+
}
3546735478
}
3546835479
}
3546935480
};
@@ -66057,7 +66068,7 @@ function getSortFunc(opts, d2c) {
6605766068

6605866069

6605966070
// package version injected by `npm run preprocess`
66060-
exports.version = '2.27.0';
66071+
exports.version = '2.27.1';
6606166072

6606266073
/***/ }),
6606366074

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

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl3d) v2.27.0
2+
* plotly.js (gl3d) v2.27.1
33
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -35415,6 +35415,17 @@ exports.drawMainTitle = function (gd) {
3541535415
'text-anchor': textAnchor,
3541635416
dy: getMainTitleDyAdj(title.yanchor)
3541735417
}).call(svgTextUtils.positionText, x, y);
35418+
var extraLines = (title.text.match(svgTextUtils.BR_TAG_ALL) || []).length;
35419+
if (extraLines) {
35420+
var delta = alignmentConstants.LINE_SPACING * extraLines + alignmentConstants.MID_SHIFT;
35421+
if (title.y === 0) {
35422+
delta = -delta;
35423+
}
35424+
titleObj.selectAll('.line').each(function () {
35425+
var newDy = +this.getAttribute('dy').slice(0, -2) - delta + 'em';
35426+
this.setAttribute('dy', newDy);
35427+
});
35428+
}
3541835429
}
3541935430
}
3542035431
};
@@ -64101,7 +64112,7 @@ function getSortFunc(opts, d2c) {
6410164112

6410264113

6410364114
// package version injected by `npm run preprocess`
64104-
exports.version = '2.27.0';
64115+
exports.version = '2.27.1';
6410564116

6410664117
/***/ }),
6410764118

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.

0 commit comments

Comments
 (0)