plotly.js 2.8.0 → 2.8.1
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 +7 -0
- package/README.md +3 -3
- package/dist/README.md +18 -18
- package/dist/plotly-basic.js +2 -2
- package/dist/plotly-basic.min.js +2 -2
- package/dist/plotly-cartesian.js +6 -4
- package/dist/plotly-cartesian.min.js +2 -2
- package/dist/plotly-finance.js +2 -2
- package/dist/plotly-finance.min.js +2 -2
- package/dist/plotly-geo-assets.js +2 -2
- package/dist/plotly-geo.js +2 -2
- package/dist/plotly-geo.min.js +2 -2
- package/dist/plotly-gl2d.js +2 -2
- package/dist/plotly-gl2d.min.js +2 -2
- package/dist/plotly-gl3d.js +2 -2
- package/dist/plotly-gl3d.min.js +2 -2
- package/dist/plotly-mapbox.js +2 -2
- package/dist/plotly-mapbox.min.js +2 -2
- package/dist/plotly-strict.js +6 -4
- package/dist/plotly-strict.min.js +2 -2
- package/dist/plotly-with-meta.js +6 -4
- package/dist/plotly.js +6 -4
- package/dist/plotly.min.js +2 -2
- package/package.json +1 -1
- package/src/traces/heatmap/plot.js +4 -2
- package/src/version.js +1 -1
package/dist/plotly-strict.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js (strict) v2.8.
|
|
2
|
+
* plotly.js (strict) v2.8.1
|
|
3
3
|
* Copyright 2012-2021, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
@@ -177230,6 +177230,7 @@ module.exports = function(gd, plotinfo, cdheatmaps, heatmapLayer) {
|
|
|
177230
177230
|
var font = trace.textfont;
|
|
177231
177231
|
var fontFamily = font.family;
|
|
177232
177232
|
var fontSize = font.size;
|
|
177233
|
+
var globalFontSize = gd._fullLayout.font.size;
|
|
177233
177234
|
|
|
177234
177235
|
if(!fontSize || fontSize === 'auto') {
|
|
177235
177236
|
var minW = Infinity;
|
|
@@ -177256,7 +177257,7 @@ module.exports = function(gd, plotinfo, cdheatmaps, heatmapLayer) {
|
|
|
177256
177257
|
!isFinite(minW) ||
|
|
177257
177258
|
!isFinite(minH)
|
|
177258
177259
|
) {
|
|
177259
|
-
fontSize =
|
|
177260
|
+
fontSize = globalFontSize;
|
|
177260
177261
|
} else {
|
|
177261
177262
|
minW -= xGap;
|
|
177262
177263
|
minH -= yGap;
|
|
@@ -177269,7 +177270,8 @@ module.exports = function(gd, plotinfo, cdheatmaps, heatmapLayer) {
|
|
|
177269
177270
|
|
|
177270
177271
|
fontSize = Math.min(
|
|
177271
177272
|
Math.floor(minW),
|
|
177272
|
-
Math.floor(minH)
|
|
177273
|
+
Math.floor(minH),
|
|
177274
|
+
globalFontSize
|
|
177273
177275
|
);
|
|
177274
177276
|
}
|
|
177275
177277
|
}
|
|
@@ -208357,7 +208359,7 @@ function getSortFunc(opts, d2c) {
|
|
|
208357
208359
|
'use strict';
|
|
208358
208360
|
|
|
208359
208361
|
// package version injected by `npm run preprocess`
|
|
208360
|
-
exports.version = '2.8.
|
|
208362
|
+
exports.version = '2.8.1';
|
|
208361
208363
|
|
|
208362
208364
|
},{}],934:[function(_dereq_,module,exports){
|
|
208363
208365
|
(function (global){(function (){
|