plotly.js 3.0.0-rc.1 → 3.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/CITATION.cff +1 -1
- package/CONTRIBUTING.md +1 -1
- package/README.md +3 -3
- package/dist/README.md +20 -20
- package/dist/plotly-basic.js +10 -5
- package/dist/plotly-basic.min.js +4 -4
- package/dist/plotly-cartesian.js +10 -5
- package/dist/plotly-cartesian.min.js +4 -4
- package/dist/plotly-finance.js +10 -5
- package/dist/plotly-finance.min.js +4 -4
- package/dist/plotly-geo-assets.js +2 -2
- package/dist/plotly-geo.js +10 -5
- package/dist/plotly-geo.min.js +4 -4
- package/dist/plotly-gl2d.js +10 -5
- package/dist/plotly-gl2d.min.js +4 -4
- package/dist/plotly-gl3d.js +10 -5
- package/dist/plotly-gl3d.min.js +4 -4
- package/dist/plotly-mapbox.js +10 -5
- package/dist/plotly-mapbox.min.js +4 -4
- package/dist/plotly-strict.js +49 -10
- package/dist/plotly-strict.min.js +5 -5
- package/dist/plotly-with-meta.js +49 -10
- package/dist/plotly.js +49 -10
- package/dist/plotly.min.js +46 -46
- package/package.json +1 -1
- package/src/components/fx/helpers.js +7 -2
- package/src/plot_api/plot_api.js +19 -1
- package/src/plot_api/subroutines.js +8 -0
- package/src/traces/sankey/render.js +156 -109
- package/src/version.js +1 -1
package/dist/plotly-cartesian.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js (cartesian) v3.0.0-rc.
|
|
2
|
+
* plotly.js (cartesian) v3.0.0-rc.2
|
|
3
3
|
* Copyright 2012-2024, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
@@ -38,7 +38,7 @@ var Plotly = (() => {
|
|
|
38
38
|
var require_version = __commonJS({
|
|
39
39
|
"src/version.js"(exports) {
|
|
40
40
|
"use strict";
|
|
41
|
-
exports.version = "3.0.0-rc.
|
|
41
|
+
exports.version = "3.0.0-rc.2";
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
|
|
@@ -22700,8 +22700,10 @@ var Plotly = (() => {
|
|
|
22700
22700
|
pointData.distance = 0;
|
|
22701
22701
|
} else pointData.index = false;
|
|
22702
22702
|
} else {
|
|
22703
|
-
|
|
22704
|
-
|
|
22703
|
+
var newDistance = Infinity;
|
|
22704
|
+
var len = cd.length;
|
|
22705
|
+
for (var i = 0; i < len; i++) {
|
|
22706
|
+
newDistance = distfn(cd[i]);
|
|
22705
22707
|
if (newDistance <= pointData.distance) {
|
|
22706
22708
|
pointData.index = i;
|
|
22707
22709
|
pointData.distance = newDistance;
|
|
@@ -46390,7 +46392,10 @@ var Plotly = (() => {
|
|
|
46390
46392
|
fullLayout._calcInverseTransform = calcInverseTransform;
|
|
46391
46393
|
fullLayout._calcInverseTransform(gd);
|
|
46392
46394
|
fullLayout._container = gd3.selectAll(".plot-container").data([0]);
|
|
46393
|
-
fullLayout._container.enter().insert("div", ":first-child").classed("plot-container", true).classed("plotly", true)
|
|
46395
|
+
fullLayout._container.enter().insert("div", ":first-child").classed("plot-container", true).classed("plotly", true).style({
|
|
46396
|
+
width: "100%",
|
|
46397
|
+
height: "100%"
|
|
46398
|
+
});
|
|
46394
46399
|
fullLayout._paperdiv = fullLayout._container.selectAll(".svg-container").data([0]);
|
|
46395
46400
|
fullLayout._paperdiv.enter().append("div").classed("user-select-none", true).classed("svg-container", true).style("position", "relative");
|
|
46396
46401
|
fullLayout._glcontainer = fullLayout._paperdiv.selectAll(".gl-container").data([{}]);
|