Skip to content

Commit

Permalink
2.29.1
Browse files Browse the repository at this point in the history
  • Loading branch information
archmoj committed Feb 12, 2024
1 parent 4072ae5 commit 3c92271
Show file tree
Hide file tree
Showing 24 changed files with 279 additions and 119 deletions.
50 changes: 25 additions & 25 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
| 8.2 MB | 3.5 MB | 1 MB | 8.5 MB |

#### CDN links
> https://cdn.plot.ly/plotly-2.29.0.js
> https://cdn.plot.ly/plotly-2.29.1.js
> https://cdn.plot.ly/plotly-2.29.0.min.js
> https://cdn.plot.ly/plotly-2.29.1.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.6 MB | 984.6 kB | 329.6 kB |
| 2.6 MB | 984.8 kB | 329.7 kB |

#### CDN links
> https://cdn.plot.ly/plotly-basic-2.29.0.js
> https://cdn.plot.ly/plotly-basic-2.29.1.js
> https://cdn.plot.ly/plotly-basic-2.29.0.min.js
> https://cdn.plot.ly/plotly-basic-2.29.1.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.3 MB | 1.2 MB | 417 kB |
| 3.3 MB | 1.2 MB | 417.1 kB |

#### CDN links
> https://cdn.plot.ly/plotly-cartesian-2.29.0.js
> https://cdn.plot.ly/plotly-cartesian-2.29.1.js
> https://cdn.plot.ly/plotly-cartesian-2.29.0.min.js
> https://cdn.plot.ly/plotly-cartesian-2.29.1.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.1 MB | 1.1 MB | 372.3 kB |
| 3.1 MB | 1.1 MB | 372.4 kB |

#### CDN links
> https://cdn.plot.ly/plotly-geo-2.29.0.js
> https://cdn.plot.ly/plotly-geo-2.29.1.js
> https://cdn.plot.ly/plotly-geo-2.29.0.min.js
> https://cdn.plot.ly/plotly-geo-2.29.1.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.6 MB | 1.5 MB | 493.1 kB |
| 3.6 MB | 1.5 MB | 493.2 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl3d-2.29.0.js
> https://cdn.plot.ly/plotly-gl3d-2.29.1.js
> https://cdn.plot.ly/plotly-gl3d-2.29.0.min.js
> https://cdn.plot.ly/plotly-gl3d-2.29.1.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 4.4 MB | 1.9 MB | 599.6 kB |
| 4.4 MB | 1.9 MB | 599.7 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl2d-2.29.0.js
> https://cdn.plot.ly/plotly-gl2d-2.29.1.js
> https://cdn.plot.ly/plotly-gl2d-2.29.0.min.js
> https://cdn.plot.ly/plotly-gl2d-2.29.1.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 4.4 MB | 1.7 MB | 531.2 kB |
| 4.4 MB | 1.7 MB | 531.3 kB |

#### CDN links
> https://cdn.plot.ly/plotly-mapbox-2.29.0.js
> https://cdn.plot.ly/plotly-mapbox-2.29.1.js
> https://cdn.plot.ly/plotly-mapbox-2.29.0.min.js
> https://cdn.plot.ly/plotly-mapbox-2.29.1.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.8 MB | 1 MB | 358.7 kB |
| 2.8 MB | 1 MB | 358.8 kB |

#### CDN links
> https://cdn.plot.ly/plotly-finance-2.29.0.js
> https://cdn.plot.ly/plotly-finance-2.29.1.js
> https://cdn.plot.ly/plotly-finance-2.29.0.min.js
> https://cdn.plot.ly/plotly-finance-2.29.1.min.js

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

#### CDN links
> https://cdn.plot.ly/plotly-strict-2.29.0.js
> https://cdn.plot.ly/plotly-strict-2.29.1.js
> https://cdn.plot.ly/plotly-strict-2.29.0.min.js
> https://cdn.plot.ly/plotly-strict-2.29.1.min.js

#### npm packages
Expand Down
30 changes: 23 additions & 7 deletions dist/plotly-basic.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* plotly.js (basic) v2.29.0
* plotly.js (basic) v2.29.1
* Copyright 2012-2024, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
Expand Down Expand Up @@ -40203,7 +40203,7 @@ function getBoundaryVals(ax, vals) {
// boundaryVals are never used for labels;
// no need to worry about the other tickTextObj keys
var _push = function (d, bndIndex) {
var xb = d.xbnd[bndIndex];
var xb = d.xbnd ? d.xbnd[bndIndex] : d.x;
if (xb !== null) {
out.push(Lib.extendFlat({}, d, {
x: xb
Expand Down Expand Up @@ -40969,7 +40969,7 @@ axes.drawLabels = function (gd, ax, opts) {
// TODO should secondary labels also fall into this fix-overlap regime?

for (i = 0; i < lbbArray.length; i++) {
var xbnd = vals[i].xbnd;
var xbnd = vals && vals[i].xbnd ? vals[i].xbnd : [null, null];
var lbb = lbbArray[i];
if (xbnd[0] !== null && lbb.left - ax.l2p(xbnd[0]) < gap || xbnd[1] !== null && ax.l2p(xbnd[1]) - lbb.right < gap) {
autoangle = 90;
Expand Down Expand Up @@ -41086,8 +41086,24 @@ axes.drawLabels = function (gd, ax, opts) {
var otherIndex = sgn === 1 ? 0 : 1;
var newRange = [];
newRange[otherIndex] = anchorAx.range[otherIndex];
var p0 = anchorAx.d2p(anchorAx.range[index]);
var p1 = anchorAx.d2p(anchorAx.range[otherIndex]);
var anchorAxRange = anchorAx.range;
var p0 = anchorAx.d2p(anchorAxRange[index]);
var p1 = anchorAx.d2p(anchorAxRange[otherIndex]);
var _tempNewRange = fullLayout._insideTickLabelsUpdaterange[anchorAx._name + '.range'];
if (_tempNewRange) {
// case of having multiple anchored axes having insideticklabel
var q0 = anchorAx.d2p(_tempNewRange[index]);
var q1 = anchorAx.d2p(_tempNewRange[otherIndex]);
var dir = sgn * (ax._id.charAt(0) === 'y' ? 1 : -1);
if (dir * p0 < dir * q0) {
p0 = q0;
newRange[index] = anchorAxRange[index] = _tempNewRange[index];
}
if (dir * p1 > dir * q1) {
p1 = q1;
newRange[otherIndex] = anchorAxRange[otherIndex] = _tempNewRange[otherIndex];
}
}
var dist = Math.abs(p1 - p0);
if (dist - move > 0) {
dist -= move;
Expand All @@ -41096,7 +41112,7 @@ axes.drawLabels = function (gd, ax, opts) {
move = 0;
}
if (ax._id.charAt(0) !== 'y') move = -move;
newRange[index] = anchorAx.p2d(anchorAx.d2p(anchorAx.range[index]) + sgn * move);
newRange[index] = anchorAx.p2d(anchorAx.d2p(anchorAxRange[index]) + sgn * move);

// handle partial ranges in insiderange
if (anchorAx.autorange === 'min' || anchorAx.autorange === 'max reversed') {
Expand Down Expand Up @@ -61331,7 +61347,7 @@ function getSortFunc(opts, d2c) {


// package version injected by `npm run preprocess`
exports.version = '2.29.0';
exports.version = '2.29.1';

/***/ }),

Expand Down
4 changes: 2 additions & 2 deletions dist/plotly-basic.min.js

Large diffs are not rendered by default.

30 changes: 23 additions & 7 deletions dist/plotly-cartesian.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* plotly.js (cartesian) v2.29.0
* plotly.js (cartesian) v2.29.1
* Copyright 2012-2024, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
Expand Down Expand Up @@ -40361,7 +40361,7 @@ function getBoundaryVals(ax, vals) {
// boundaryVals are never used for labels;
// no need to worry about the other tickTextObj keys
var _push = function (d, bndIndex) {
var xb = d.xbnd[bndIndex];
var xb = d.xbnd ? d.xbnd[bndIndex] : d.x;
if (xb !== null) {
out.push(Lib.extendFlat({}, d, {
x: xb
Expand Down Expand Up @@ -41127,7 +41127,7 @@ axes.drawLabels = function (gd, ax, opts) {
// TODO should secondary labels also fall into this fix-overlap regime?

for (i = 0; i < lbbArray.length; i++) {
var xbnd = vals[i].xbnd;
var xbnd = vals && vals[i].xbnd ? vals[i].xbnd : [null, null];
var lbb = lbbArray[i];
if (xbnd[0] !== null && lbb.left - ax.l2p(xbnd[0]) < gap || xbnd[1] !== null && ax.l2p(xbnd[1]) - lbb.right < gap) {
autoangle = 90;
Expand Down Expand Up @@ -41244,8 +41244,24 @@ axes.drawLabels = function (gd, ax, opts) {
var otherIndex = sgn === 1 ? 0 : 1;
var newRange = [];
newRange[otherIndex] = anchorAx.range[otherIndex];
var p0 = anchorAx.d2p(anchorAx.range[index]);
var p1 = anchorAx.d2p(anchorAx.range[otherIndex]);
var anchorAxRange = anchorAx.range;
var p0 = anchorAx.d2p(anchorAxRange[index]);
var p1 = anchorAx.d2p(anchorAxRange[otherIndex]);
var _tempNewRange = fullLayout._insideTickLabelsUpdaterange[anchorAx._name + '.range'];
if (_tempNewRange) {
// case of having multiple anchored axes having insideticklabel
var q0 = anchorAx.d2p(_tempNewRange[index]);
var q1 = anchorAx.d2p(_tempNewRange[otherIndex]);
var dir = sgn * (ax._id.charAt(0) === 'y' ? 1 : -1);
if (dir * p0 < dir * q0) {
p0 = q0;
newRange[index] = anchorAxRange[index] = _tempNewRange[index];
}
if (dir * p1 > dir * q1) {
p1 = q1;
newRange[otherIndex] = anchorAxRange[otherIndex] = _tempNewRange[otherIndex];
}
}
var dist = Math.abs(p1 - p0);
if (dist - move > 0) {
dist -= move;
Expand All @@ -41254,7 +41270,7 @@ axes.drawLabels = function (gd, ax, opts) {
move = 0;
}
if (ax._id.charAt(0) !== 'y') move = -move;
newRange[index] = anchorAx.p2d(anchorAx.d2p(anchorAx.range[index]) + sgn * move);
newRange[index] = anchorAx.p2d(anchorAx.d2p(anchorAxRange[index]) + sgn * move);

// handle partial ranges in insiderange
if (anchorAx.autorange === 'min' || anchorAx.autorange === 'max reversed') {
Expand Down Expand Up @@ -71811,7 +71827,7 @@ function getSortFunc(opts, d2c) {


// package version injected by `npm run preprocess`
exports.version = '2.29.0';
exports.version = '2.29.1';

/***/ }),

Expand Down
4 changes: 2 additions & 2 deletions dist/plotly-cartesian.min.js

Large diffs are not rendered by default.

30 changes: 23 additions & 7 deletions dist/plotly-finance.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* plotly.js (finance) v2.29.0
* plotly.js (finance) v2.29.1
* Copyright 2012-2024, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
Expand Down Expand Up @@ -40292,7 +40292,7 @@ function getBoundaryVals(ax, vals) {
// boundaryVals are never used for labels;
// no need to worry about the other tickTextObj keys
var _push = function (d, bndIndex) {
var xb = d.xbnd[bndIndex];
var xb = d.xbnd ? d.xbnd[bndIndex] : d.x;
if (xb !== null) {
out.push(Lib.extendFlat({}, d, {
x: xb
Expand Down Expand Up @@ -41058,7 +41058,7 @@ axes.drawLabels = function (gd, ax, opts) {
// TODO should secondary labels also fall into this fix-overlap regime?

for (i = 0; i < lbbArray.length; i++) {
var xbnd = vals[i].xbnd;
var xbnd = vals && vals[i].xbnd ? vals[i].xbnd : [null, null];
var lbb = lbbArray[i];
if (xbnd[0] !== null && lbb.left - ax.l2p(xbnd[0]) < gap || xbnd[1] !== null && ax.l2p(xbnd[1]) - lbb.right < gap) {
autoangle = 90;
Expand Down Expand Up @@ -41175,8 +41175,24 @@ axes.drawLabels = function (gd, ax, opts) {
var otherIndex = sgn === 1 ? 0 : 1;
var newRange = [];
newRange[otherIndex] = anchorAx.range[otherIndex];
var p0 = anchorAx.d2p(anchorAx.range[index]);
var p1 = anchorAx.d2p(anchorAx.range[otherIndex]);
var anchorAxRange = anchorAx.range;
var p0 = anchorAx.d2p(anchorAxRange[index]);
var p1 = anchorAx.d2p(anchorAxRange[otherIndex]);
var _tempNewRange = fullLayout._insideTickLabelsUpdaterange[anchorAx._name + '.range'];
if (_tempNewRange) {
// case of having multiple anchored axes having insideticklabel
var q0 = anchorAx.d2p(_tempNewRange[index]);
var q1 = anchorAx.d2p(_tempNewRange[otherIndex]);
var dir = sgn * (ax._id.charAt(0) === 'y' ? 1 : -1);
if (dir * p0 < dir * q0) {
p0 = q0;
newRange[index] = anchorAxRange[index] = _tempNewRange[index];
}
if (dir * p1 > dir * q1) {
p1 = q1;
newRange[otherIndex] = anchorAxRange[otherIndex] = _tempNewRange[otherIndex];
}
}
var dist = Math.abs(p1 - p0);
if (dist - move > 0) {
dist -= move;
Expand All @@ -41185,7 +41201,7 @@ axes.drawLabels = function (gd, ax, opts) {
move = 0;
}
if (ax._id.charAt(0) !== 'y') move = -move;
newRange[index] = anchorAx.p2d(anchorAx.d2p(anchorAx.range[index]) + sgn * move);
newRange[index] = anchorAx.p2d(anchorAx.d2p(anchorAxRange[index]) + sgn * move);

// handle partial ranges in insiderange
if (anchorAx.autorange === 'min' || anchorAx.autorange === 'max reversed') {
Expand Down Expand Up @@ -67667,7 +67683,7 @@ function getSortFunc(opts, d2c) {


// package version injected by `npm run preprocess`
exports.version = '2.29.0';
exports.version = '2.29.1';

/***/ }),

Expand Down
4 changes: 2 additions & 2 deletions dist/plotly-finance.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/plotly-geo-assets.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3c92271

Please sign in to comment.