plotly.js 1.58.0 → 1.58.4
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 +42 -1
- package/dist/README.md +25 -25
- package/dist/plot-schema.json +15 -15
- package/dist/plotly-basic.js +608 -444
- package/dist/plotly-basic.min.js +4 -4
- package/dist/plotly-cartesian.js +725 -561
- package/dist/plotly-cartesian.min.js +4 -4
- package/dist/plotly-finance.js +689 -525
- package/dist/plotly-finance.min.js +4 -4
- package/dist/plotly-geo-assets.js +2 -2
- package/dist/plotly-geo.js +612 -448
- package/dist/plotly-geo.min.js +4 -4
- package/dist/plotly-gl2d.js +790 -626
- package/dist/plotly-gl2d.min.js +10 -10
- package/dist/plotly-gl3d.js +514 -389
- package/dist/plotly-gl3d.min.js +3 -3
- package/dist/plotly-mapbox.js +622 -458
- package/dist/plotly-mapbox.min.js +4 -4
- package/dist/plotly-with-meta.js +988 -856
- package/dist/plotly.js +980 -851
- package/dist/plotly.min.js +3 -3
- package/dist/translation-keys.txt +1 -1
- package/package.json +1 -1
- package/src/components/colorscale/index.js +1 -1
- package/src/components/errorbars/attributes.js +1 -1
- package/src/components/fx/hover.js +1 -1
- package/src/components/sliders/draw.js +1 -1
- package/src/lib/index.js +2 -1
- package/src/lib/preserve_drawing_buffer.js +68 -0
- package/src/plot_api/plot_api.js +19 -15
- package/src/plots/cartesian/autorange.js +33 -64
- package/src/plots/cartesian/axes.js +44 -16
- package/src/plots/cartesian/axis_ids.js +16 -0
- package/src/plots/cartesian/constraints.js +2 -2
- package/src/plots/cartesian/layout_attributes.js +4 -1
- package/src/plots/gl3d/scene.js +16 -18
- package/src/plots/plots.js +61 -22
- package/src/plots/polar/polar.js +2 -0
- package/src/traces/carpet/attributes.js +2 -2
- package/src/traces/carpet/create_i_derivative_evaluator.js +1 -1
- package/src/traces/carpet/plot.js +1 -1
- package/src/traces/carpet/set_convert.js +2 -2
- package/src/traces/carpet/smooth_fill_2d_array.js +1 -1
- package/src/traces/parcats/attributes.js +1 -1
- package/src/traces/scatter/plot.js +1 -1
- package/src/traces/scattercarpet/plot.js +1 -1
- package/src/traces/sunburst/calc.js +3 -1
- package/src/version.js +1 -1
package/dist/plotly-geo.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js (geo) v1.58.
|
|
2
|
+
* plotly.js (geo) v1.58.4
|
|
3
3
|
* Copyright 2012-2020, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
@@ -72,7 +72,7 @@ for(var selector in rules) {
|
|
|
72
72
|
Lib.addStyleRule(fullSelector, rules[selector]);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
},{"../src/lib":
|
|
75
|
+
},{"../src/lib":211}],2:[function(_dereq_,module,exports){
|
|
76
76
|
/**
|
|
77
77
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78
78
|
* All rights reserved.
|
|
@@ -85,7 +85,7 @@ for(var selector in rules) {
|
|
|
85
85
|
|
|
86
86
|
module.exports = _dereq_('../src/traces/choropleth');
|
|
87
87
|
|
|
88
|
-
},{"../src/traces/choropleth":
|
|
88
|
+
},{"../src/traces/choropleth":322}],3:[function(_dereq_,module,exports){
|
|
89
89
|
/**
|
|
90
90
|
* Copyright 2012-2020, Plotly, Inc.
|
|
91
91
|
* All rights reserved.
|
|
@@ -98,7 +98,7 @@ module.exports = _dereq_('../src/traces/choropleth');
|
|
|
98
98
|
|
|
99
99
|
module.exports = _dereq_('../src/core');
|
|
100
100
|
|
|
101
|
-
},{"../src/core":
|
|
101
|
+
},{"../src/core":190}],4:[function(_dereq_,module,exports){
|
|
102
102
|
/**
|
|
103
103
|
* Copyright 2012-2020, Plotly, Inc.
|
|
104
104
|
* All rights reserved.
|
|
@@ -131,7 +131,7 @@ module.exports = Plotly;
|
|
|
131
131
|
|
|
132
132
|
module.exports = _dereq_('../src/traces/scattergeo');
|
|
133
133
|
|
|
134
|
-
},{"../src/traces/scattergeo":
|
|
134
|
+
},{"../src/traces/scattergeo":364}],6:[function(_dereq_,module,exports){
|
|
135
135
|
"use strict";
|
|
136
136
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
137
137
|
var meta_1 = _dereq_("@turf/meta");
|
|
@@ -14744,7 +14744,7 @@ return Promise$1;
|
|
|
14744
14744
|
|
|
14745
14745
|
|
|
14746
14746
|
}).call(this)}).call(this,_dereq_('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
14747
|
-
},{"_process":
|
|
14747
|
+
},{"_process":63}],17:[function(_dereq_,module,exports){
|
|
14748
14748
|
/**
|
|
14749
14749
|
* inspired by is-number <https://github.com/jonschlinkert/is-number>
|
|
14750
14750
|
* but significantly simplified and sped up by ignoring number and string constructors
|
|
@@ -14770,7 +14770,7 @@ module.exports = function(n) {
|
|
|
14770
14770
|
return n - n < 1;
|
|
14771
14771
|
};
|
|
14772
14772
|
|
|
14773
|
-
},{"is-string-blank":
|
|
14773
|
+
},{"is-string-blank":52}],18:[function(_dereq_,module,exports){
|
|
14774
14774
|
module.exports = adjoint;
|
|
14775
14775
|
|
|
14776
14776
|
/**
|
|
@@ -16040,6 +16040,43 @@ module.exports = isBrowser && detect()
|
|
|
16040
16040
|
},{"is-browser":50}],50:[function(_dereq_,module,exports){
|
|
16041
16041
|
module.exports = true;
|
|
16042
16042
|
},{}],51:[function(_dereq_,module,exports){
|
|
16043
|
+
'use strict'
|
|
16044
|
+
|
|
16045
|
+
module.exports = isMobile
|
|
16046
|
+
module.exports.isMobile = isMobile
|
|
16047
|
+
module.exports.default = isMobile
|
|
16048
|
+
|
|
16049
|
+
var mobileRE = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i
|
|
16050
|
+
|
|
16051
|
+
var tabletRE = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i
|
|
16052
|
+
|
|
16053
|
+
function isMobile (opts) {
|
|
16054
|
+
if (!opts) opts = {}
|
|
16055
|
+
var ua = opts.ua
|
|
16056
|
+
if (!ua && typeof navigator !== 'undefined') ua = navigator.userAgent
|
|
16057
|
+
if (ua && ua.headers && typeof ua.headers['user-agent'] === 'string') {
|
|
16058
|
+
ua = ua.headers['user-agent']
|
|
16059
|
+
}
|
|
16060
|
+
if (typeof ua !== 'string') return false
|
|
16061
|
+
|
|
16062
|
+
var result = opts.tablet ? tabletRE.test(ua) : mobileRE.test(ua)
|
|
16063
|
+
|
|
16064
|
+
if (
|
|
16065
|
+
!result &&
|
|
16066
|
+
opts.tablet &&
|
|
16067
|
+
opts.featureDetect &&
|
|
16068
|
+
navigator &&
|
|
16069
|
+
navigator.maxTouchPoints > 1 &&
|
|
16070
|
+
ua.indexOf('Macintosh') !== -1 &&
|
|
16071
|
+
ua.indexOf('Safari') !== -1
|
|
16072
|
+
) {
|
|
16073
|
+
result = true
|
|
16074
|
+
}
|
|
16075
|
+
|
|
16076
|
+
return result
|
|
16077
|
+
}
|
|
16078
|
+
|
|
16079
|
+
},{}],52:[function(_dereq_,module,exports){
|
|
16043
16080
|
'use strict';
|
|
16044
16081
|
|
|
16045
16082
|
/**
|
|
@@ -16076,7 +16113,7 @@ module.exports = function(str){
|
|
|
16076
16113
|
return true;
|
|
16077
16114
|
}
|
|
16078
16115
|
|
|
16079
|
-
},{}],
|
|
16116
|
+
},{}],53:[function(_dereq_,module,exports){
|
|
16080
16117
|
var rootPosition = { left: 0, top: 0 }
|
|
16081
16118
|
|
|
16082
16119
|
module.exports = mouseEventOffset
|
|
@@ -16103,7 +16140,7 @@ function getBoundingClientOffset (element) {
|
|
|
16103
16140
|
}
|
|
16104
16141
|
}
|
|
16105
16142
|
|
|
16106
|
-
},{}],
|
|
16143
|
+
},{}],54:[function(_dereq_,module,exports){
|
|
16107
16144
|
|
|
16108
16145
|
module.exports = parse
|
|
16109
16146
|
|
|
@@ -16162,7 +16199,7 @@ function parseValues(args) {
|
|
|
16162
16199
|
return numbers ? numbers.map(Number) : []
|
|
16163
16200
|
}
|
|
16164
16201
|
|
|
16165
|
-
},{}],
|
|
16202
|
+
},{}],55:[function(_dereq_,module,exports){
|
|
16166
16203
|
/*
|
|
16167
16204
|
* @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
|
|
16168
16205
|
* @license MIT
|
|
@@ -16290,7 +16327,7 @@ if (typeof window === 'object')
|
|
|
16290
16327
|
|
|
16291
16328
|
module.exports = PolyBool;
|
|
16292
16329
|
|
|
16293
|
-
},{"./lib/build-log":
|
|
16330
|
+
},{"./lib/build-log":56,"./lib/epsilon":57,"./lib/geojson":58,"./lib/intersecter":59,"./lib/segment-chainer":61,"./lib/segment-selector":62}],56:[function(_dereq_,module,exports){
|
|
16294
16331
|
// (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
|
|
16295
16332
|
// MIT License
|
|
16296
16333
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -16405,7 +16442,7 @@ function BuildLog(){
|
|
|
16405
16442
|
|
|
16406
16443
|
module.exports = BuildLog;
|
|
16407
16444
|
|
|
16408
|
-
},{}],
|
|
16445
|
+
},{}],57:[function(_dereq_,module,exports){
|
|
16409
16446
|
// (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
|
|
16410
16447
|
// MIT License
|
|
16411
16448
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -16577,7 +16614,7 @@ function Epsilon(eps){
|
|
|
16577
16614
|
|
|
16578
16615
|
module.exports = Epsilon;
|
|
16579
16616
|
|
|
16580
|
-
},{}],
|
|
16617
|
+
},{}],58:[function(_dereq_,module,exports){
|
|
16581
16618
|
// (c) Copyright 2017, Sean Connelly (@voidqk), http://syntheti.cc
|
|
16582
16619
|
// MIT License
|
|
16583
16620
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -16767,7 +16804,7 @@ var GeoJSON = {
|
|
|
16767
16804
|
|
|
16768
16805
|
module.exports = GeoJSON;
|
|
16769
16806
|
|
|
16770
|
-
},{}],
|
|
16807
|
+
},{}],59:[function(_dereq_,module,exports){
|
|
16771
16808
|
// (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
|
|
16772
16809
|
// MIT License
|
|
16773
16810
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -17274,7 +17311,7 @@ function Intersecter(selfIntersection, eps, buildLog){
|
|
|
17274
17311
|
|
|
17275
17312
|
module.exports = Intersecter;
|
|
17276
17313
|
|
|
17277
|
-
},{"./linked-list":
|
|
17314
|
+
},{"./linked-list":60}],60:[function(_dereq_,module,exports){
|
|
17278
17315
|
// (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
|
|
17279
17316
|
// MIT License
|
|
17280
17317
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -17357,7 +17394,7 @@ var LinkedList = {
|
|
|
17357
17394
|
|
|
17358
17395
|
module.exports = LinkedList;
|
|
17359
17396
|
|
|
17360
|
-
},{}],
|
|
17397
|
+
},{}],61:[function(_dereq_,module,exports){
|
|
17361
17398
|
// (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
|
|
17362
17399
|
// MIT License
|
|
17363
17400
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -17611,7 +17648,7 @@ function SegmentChainer(segments, eps, buildLog){
|
|
|
17611
17648
|
|
|
17612
17649
|
module.exports = SegmentChainer;
|
|
17613
17650
|
|
|
17614
|
-
},{}],
|
|
17651
|
+
},{}],62:[function(_dereq_,module,exports){
|
|
17615
17652
|
// (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
|
|
17616
17653
|
// MIT License
|
|
17617
17654
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -17779,7 +17816,7 @@ var SegmentSelector = {
|
|
|
17779
17816
|
|
|
17780
17817
|
module.exports = SegmentSelector;
|
|
17781
17818
|
|
|
17782
|
-
},{}],
|
|
17819
|
+
},{}],63:[function(_dereq_,module,exports){
|
|
17783
17820
|
// shim for using process in browser
|
|
17784
17821
|
var process = module.exports = {};
|
|
17785
17822
|
|
|
@@ -17965,7 +18002,7 @@ process.chdir = function (dir) {
|
|
|
17965
18002
|
};
|
|
17966
18003
|
process.umask = function() { return 0; };
|
|
17967
18004
|
|
|
17968
|
-
},{}],
|
|
18005
|
+
},{}],64:[function(_dereq_,module,exports){
|
|
17969
18006
|
// TinyColor v1.4.2
|
|
17970
18007
|
// https://github.com/bgrins/TinyColor
|
|
17971
18008
|
// Brian Grinstead, MIT License
|
|
@@ -19162,7 +19199,7 @@ else {
|
|
|
19162
19199
|
|
|
19163
19200
|
})(Math);
|
|
19164
19201
|
|
|
19165
|
-
},{}],
|
|
19202
|
+
},{}],65:[function(_dereq_,module,exports){
|
|
19166
19203
|
// https://github.com/topojson/topojson-client v3.1.0 Copyright 2019 Mike Bostock
|
|
19167
19204
|
(function (global, factory) {
|
|
19168
19205
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -19672,7 +19709,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
19672
19709
|
|
|
19673
19710
|
}));
|
|
19674
19711
|
|
|
19675
|
-
},{}],
|
|
19712
|
+
},{}],66:[function(_dereq_,module,exports){
|
|
19676
19713
|
/**
|
|
19677
19714
|
* Copyright 2012-2020, Plotly, Inc.
|
|
19678
19715
|
* All rights reserved.
|
|
@@ -19743,7 +19780,7 @@ module.exports = [
|
|
|
19743
19780
|
}
|
|
19744
19781
|
];
|
|
19745
19782
|
|
|
19746
|
-
},{}],
|
|
19783
|
+
},{}],67:[function(_dereq_,module,exports){
|
|
19747
19784
|
/**
|
|
19748
19785
|
* Copyright 2012-2020, Plotly, Inc.
|
|
19749
19786
|
* All rights reserved.
|
|
@@ -20125,7 +20162,7 @@ module.exports = templatedArray('annotation', {
|
|
|
20125
20162
|
}
|
|
20126
20163
|
});
|
|
20127
20164
|
|
|
20128
|
-
},{"../../constants/axis_placeable_objects":
|
|
20165
|
+
},{"../../constants/axis_placeable_objects":185,"../../plot_api/plot_template":247,"../../plots/cartesian/constants":264,"../../plots/font_attributes":286,"./arrow_paths":66}],68:[function(_dereq_,module,exports){
|
|
20129
20166
|
/**
|
|
20130
20167
|
* Copyright 2012-2020, Plotly, Inc.
|
|
20131
20168
|
* All rights reserved.
|
|
@@ -20216,7 +20253,7 @@ function calcAxisExpansion(ann, ax) {
|
|
|
20216
20253
|
ann._extremes[axId] = extremes;
|
|
20217
20254
|
}
|
|
20218
20255
|
|
|
20219
|
-
},{"../../lib":
|
|
20256
|
+
},{"../../lib":211,"../../plots/cartesian/axes":258,"./draw":73}],69:[function(_dereq_,module,exports){
|
|
20220
20257
|
/**
|
|
20221
20258
|
* Copyright 2012-2020, Plotly, Inc.
|
|
20222
20259
|
* All rights reserved.
|
|
@@ -20354,7 +20391,7 @@ function clickData2r(d, ax) {
|
|
|
20354
20391
|
return ax.type === 'log' ? ax.l2r(d) : ax.d2r(d);
|
|
20355
20392
|
}
|
|
20356
20393
|
|
|
20357
|
-
},{"../../lib":
|
|
20394
|
+
},{"../../lib":211,"../../plot_api/plot_template":247,"../../registry":308}],70:[function(_dereq_,module,exports){
|
|
20358
20395
|
/**
|
|
20359
20396
|
* Copyright 2012-2020, Plotly, Inc.
|
|
20360
20397
|
* All rights reserved.
|
|
@@ -20433,7 +20470,7 @@ module.exports = function handleAnnotationCommonDefaults(annIn, annOut, fullLayo
|
|
|
20433
20470
|
coerce('captureevents', !!hoverText);
|
|
20434
20471
|
};
|
|
20435
20472
|
|
|
20436
|
-
},{"../../lib":
|
|
20473
|
+
},{"../../lib":211,"../color":82}],71:[function(_dereq_,module,exports){
|
|
20437
20474
|
/**
|
|
20438
20475
|
* Copyright 2012-2020, Plotly, Inc.
|
|
20439
20476
|
* All rights reserved.
|
|
@@ -20496,7 +20533,7 @@ module.exports = function convertCoords(gd, ax, newType, doExtra) {
|
|
|
20496
20533
|
}
|
|
20497
20534
|
};
|
|
20498
20535
|
|
|
20499
|
-
},{"../../lib/to_log_range":
|
|
20536
|
+
},{"../../lib/to_log_range":235,"fast-isnumeric":17}],72:[function(_dereq_,module,exports){
|
|
20500
20537
|
/**
|
|
20501
20538
|
* Copyright 2012-2020, Plotly, Inc.
|
|
20502
20539
|
* All rights reserved.
|
|
@@ -20604,7 +20641,7 @@ function handleAnnotationDefaults(annIn, annOut, fullLayout) {
|
|
|
20604
20641
|
}
|
|
20605
20642
|
}
|
|
20606
20643
|
|
|
20607
|
-
},{"../../lib":
|
|
20644
|
+
},{"../../lib":211,"../../plots/array_container_defaults":253,"../../plots/cartesian/axes":258,"./attributes":67,"./common_defaults":70}],73:[function(_dereq_,module,exports){
|
|
20608
20645
|
/**
|
|
20609
20646
|
* Copyright 2012-2020, Plotly, Inc.
|
|
20610
20647
|
* All rights reserved.
|
|
@@ -21365,7 +21402,7 @@ function drawRaw(gd, options, index, subplotId, xa, ya) {
|
|
|
21365
21402
|
} else annText.call(textLayout);
|
|
21366
21403
|
}
|
|
21367
21404
|
|
|
21368
|
-
},{"../../lib":
|
|
21405
|
+
},{"../../lib":211,"../../lib/setcursor":231,"../../lib/svg_text_utils":233,"../../plot_api/plot_template":247,"../../plots/cartesian/axes":258,"../../plots/plots":299,"../../registry":308,"../color":82,"../dragelement":101,"../drawing":104,"../fx":122,"./draw_arrow_head":74,"d3":15}],74:[function(_dereq_,module,exports){
|
|
21369
21406
|
/**
|
|
21370
21407
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21371
21408
|
* All rights reserved.
|
|
@@ -21521,7 +21558,7 @@ module.exports = function drawArrowHead(el3, ends, options) {
|
|
|
21521
21558
|
if(doEnd) drawhead(headStyle, end, endRot, scale);
|
|
21522
21559
|
};
|
|
21523
21560
|
|
|
21524
|
-
},{"../../lib":
|
|
21561
|
+
},{"../../lib":211,"../color":82,"./arrow_paths":66,"d3":15}],75:[function(_dereq_,module,exports){
|
|
21525
21562
|
/**
|
|
21526
21563
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21527
21564
|
* All rights reserved.
|
|
@@ -21555,7 +21592,7 @@ module.exports = {
|
|
|
21555
21592
|
convertCoords: _dereq_('./convert_coords')
|
|
21556
21593
|
};
|
|
21557
21594
|
|
|
21558
|
-
},{"../../plots/cartesian/include_components":
|
|
21595
|
+
},{"../../plots/cartesian/include_components":270,"./attributes":67,"./calc_autorange":68,"./click":69,"./convert_coords":71,"./defaults":72,"./draw":73}],76:[function(_dereq_,module,exports){
|
|
21559
21596
|
/**
|
|
21560
21597
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21561
21598
|
* All rights reserved.
|
|
@@ -21643,7 +21680,7 @@ module.exports = overrideAll(templatedArray('annotation', {
|
|
|
21643
21680
|
// zref: 'z'
|
|
21644
21681
|
}), 'calc', 'from-root');
|
|
21645
21682
|
|
|
21646
|
-
},{"../../plot_api/edit_types":
|
|
21683
|
+
},{"../../plot_api/edit_types":240,"../../plot_api/plot_template":247,"../annotations/attributes":67}],77:[function(_dereq_,module,exports){
|
|
21647
21684
|
/**
|
|
21648
21685
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21649
21686
|
* All rights reserved.
|
|
@@ -21708,7 +21745,7 @@ function mockAnnAxes(ann, scene) {
|
|
|
21708
21745
|
};
|
|
21709
21746
|
}
|
|
21710
21747
|
|
|
21711
|
-
},{"../../lib":
|
|
21748
|
+
},{"../../lib":211,"../../plots/cartesian/axes":258}],78:[function(_dereq_,module,exports){
|
|
21712
21749
|
/**
|
|
21713
21750
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21714
21751
|
* All rights reserved.
|
|
@@ -21784,7 +21821,7 @@ function handleAnnotationDefaults(annIn, annOut, sceneLayout, opts) {
|
|
|
21784
21821
|
}
|
|
21785
21822
|
}
|
|
21786
21823
|
|
|
21787
|
-
},{"../../lib":
|
|
21824
|
+
},{"../../lib":211,"../../plots/array_container_defaults":253,"../../plots/cartesian/axes":258,"../annotations/common_defaults":70,"./attributes":76}],79:[function(_dereq_,module,exports){
|
|
21788
21825
|
/**
|
|
21789
21826
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21790
21827
|
* All rights reserved.
|
|
@@ -21836,7 +21873,7 @@ module.exports = function draw(scene) {
|
|
|
21836
21873
|
}
|
|
21837
21874
|
};
|
|
21838
21875
|
|
|
21839
|
-
},{"../../plots/gl3d/project":
|
|
21876
|
+
},{"../../plots/gl3d/project":296,"../annotations/draw":73}],80:[function(_dereq_,module,exports){
|
|
21840
21877
|
/**
|
|
21841
21878
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21842
21879
|
* All rights reserved.
|
|
@@ -21884,7 +21921,7 @@ function includeGL3D(layoutIn, layoutOut) {
|
|
|
21884
21921
|
}
|
|
21885
21922
|
}
|
|
21886
21923
|
|
|
21887
|
-
},{"../../lib":
|
|
21924
|
+
},{"../../lib":211,"../../registry":308,"./attributes":76,"./convert":77,"./defaults":78,"./draw":79}],81:[function(_dereq_,module,exports){
|
|
21888
21925
|
/**
|
|
21889
21926
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21890
21927
|
* All rights reserved.
|
|
@@ -21924,7 +21961,7 @@ exports.borderLine = '#BEC8D9';
|
|
|
21924
21961
|
// gives back exactly lightLine if the other colors are defaults.
|
|
21925
21962
|
exports.lightFraction = 100 * (0xe - 0x4) / (0xf - 0x4);
|
|
21926
21963
|
|
|
21927
|
-
},{}],
|
|
21964
|
+
},{}],82:[function(_dereq_,module,exports){
|
|
21928
21965
|
/**
|
|
21929
21966
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21930
21967
|
* All rights reserved.
|
|
@@ -22098,7 +22135,7 @@ function cleanOne(val) {
|
|
|
22098
22135
|
return 'rgb(' + rgbStr + ')';
|
|
22099
22136
|
}
|
|
22100
22137
|
|
|
22101
|
-
},{"./attributes":
|
|
22138
|
+
},{"./attributes":81,"fast-isnumeric":17,"tinycolor2":64}],83:[function(_dereq_,module,exports){
|
|
22102
22139
|
/**
|
|
22103
22140
|
* Copyright 2012-2020, Plotly, Inc.
|
|
22104
22141
|
* All rights reserved.
|
|
@@ -22289,7 +22326,7 @@ module.exports = overrideAll({
|
|
|
22289
22326
|
}
|
|
22290
22327
|
}, 'colorbars', 'from-root');
|
|
22291
22328
|
|
|
22292
|
-
},{"../../lib/extend":
|
|
22329
|
+
},{"../../lib/extend":203,"../../plot_api/edit_types":240,"../../plots/cartesian/layout_attributes":272,"../../plots/font_attributes":286}],84:[function(_dereq_,module,exports){
|
|
22293
22330
|
/**
|
|
22294
22331
|
* Copyright 2012-2020, Plotly, Inc.
|
|
22295
22332
|
* All rights reserved.
|
|
@@ -22317,7 +22354,7 @@ module.exports = {
|
|
|
22317
22354
|
}
|
|
22318
22355
|
};
|
|
22319
22356
|
|
|
22320
|
-
},{}],
|
|
22357
|
+
},{}],85:[function(_dereq_,module,exports){
|
|
22321
22358
|
/**
|
|
22322
22359
|
* Copyright 2012-2020, Plotly, Inc.
|
|
22323
22360
|
* All rights reserved.
|
|
@@ -22387,7 +22424,7 @@ module.exports = function colorbarDefaults(containerIn, containerOut, layout) {
|
|
|
22387
22424
|
coerce('title.side');
|
|
22388
22425
|
};
|
|
22389
22426
|
|
|
22390
|
-
},{"../../lib":
|
|
22427
|
+
},{"../../lib":211,"../../plot_api/plot_template":247,"../../plots/cartesian/tick_label_defaults":279,"../../plots/cartesian/tick_mark_defaults":280,"../../plots/cartesian/tick_value_defaults":281,"./attributes":83}],86:[function(_dereq_,module,exports){
|
|
22391
22428
|
/**
|
|
22392
22429
|
* Copyright 2012-2020, Plotly, Inc.
|
|
22393
22430
|
* All rights reserved.
|
|
@@ -23121,7 +23158,7 @@ module.exports = {
|
|
|
23121
23158
|
draw: draw
|
|
23122
23159
|
};
|
|
23123
23160
|
|
|
23124
|
-
},{"../../constants/alignment":
|
|
23161
|
+
},{"../../constants/alignment":184,"../../lib":211,"../../lib/extend":203,"../../lib/setcursor":231,"../../lib/svg_text_utils":233,"../../plots/cartesian/axes":258,"../../plots/cartesian/axis_defaults":260,"../../plots/cartesian/layout_attributes":272,"../../plots/cartesian/position_defaults":275,"../../plots/plots":299,"../../registry":308,"../color":82,"../colorscale/helpers":93,"../dragelement":101,"../drawing":104,"../titles":177,"./constants":84,"d3":15,"tinycolor2":64}],87:[function(_dereq_,module,exports){
|
|
23125
23162
|
/**
|
|
23126
23163
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23127
23164
|
* All rights reserved.
|
|
@@ -23140,7 +23177,7 @@ module.exports = function hasColorbar(container) {
|
|
|
23140
23177
|
return Lib.isPlainObject(container.colorbar);
|
|
23141
23178
|
};
|
|
23142
23179
|
|
|
23143
|
-
},{"../../lib":
|
|
23180
|
+
},{"../../lib":211}],88:[function(_dereq_,module,exports){
|
|
23144
23181
|
/**
|
|
23145
23182
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23146
23183
|
* All rights reserved.
|
|
@@ -23162,7 +23199,7 @@ module.exports = {
|
|
|
23162
23199
|
hasColorbar: _dereq_('./has_colorbar')
|
|
23163
23200
|
};
|
|
23164
23201
|
|
|
23165
|
-
},{"./attributes":
|
|
23202
|
+
},{"./attributes":83,"./defaults":85,"./draw":86,"./has_colorbar":87}],89:[function(_dereq_,module,exports){
|
|
23166
23203
|
/**
|
|
23167
23204
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23168
23205
|
* All rights reserved.
|
|
@@ -23370,7 +23407,7 @@ module.exports = function colorScaleAttrs(context, opts) {
|
|
|
23370
23407
|
return attrs;
|
|
23371
23408
|
};
|
|
23372
23409
|
|
|
23373
|
-
},{"../../lib/regex":
|
|
23410
|
+
},{"../../lib/regex":227,"../colorbar/attributes":83,"./scales.js":97}],90:[function(_dereq_,module,exports){
|
|
23374
23411
|
/**
|
|
23375
23412
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23376
23413
|
* All rights reserved.
|
|
@@ -23449,7 +23486,7 @@ module.exports = function calc(gd, trace, opts) {
|
|
|
23449
23486
|
}
|
|
23450
23487
|
};
|
|
23451
23488
|
|
|
23452
|
-
},{"../../lib":
|
|
23489
|
+
},{"../../lib":211,"./helpers":93,"fast-isnumeric":17}],91:[function(_dereq_,module,exports){
|
|
23453
23490
|
/**
|
|
23454
23491
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23455
23492
|
* All rights reserved.
|
|
@@ -23526,7 +23563,7 @@ module.exports = function crossTraceDefaults(fullData, fullLayout) {
|
|
|
23526
23563
|
}
|
|
23527
23564
|
};
|
|
23528
23565
|
|
|
23529
|
-
},{"../../lib":
|
|
23566
|
+
},{"../../lib":211,"./helpers":93}],92:[function(_dereq_,module,exports){
|
|
23530
23567
|
/**
|
|
23531
23568
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23532
23569
|
* All rights reserved.
|
|
@@ -23651,7 +23688,7 @@ module.exports = function colorScaleDefaults(parentContIn, parentContOut, layout
|
|
|
23651
23688
|
}
|
|
23652
23689
|
};
|
|
23653
23690
|
|
|
23654
|
-
},{"../../lib":
|
|
23691
|
+
},{"../../lib":211,"../../registry":308,"../colorbar/defaults":85,"../colorbar/has_colorbar":87,"./scales":97,"fast-isnumeric":17}],93:[function(_dereq_,module,exports){
|
|
23655
23692
|
/**
|
|
23656
23693
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23657
23694
|
* All rights reserved.
|
|
@@ -23891,7 +23928,7 @@ module.exports = {
|
|
|
23891
23928
|
makeColorScaleFuncFromTrace: makeColorScaleFuncFromTrace
|
|
23892
23929
|
};
|
|
23893
23930
|
|
|
23894
|
-
},{"../../lib":
|
|
23931
|
+
},{"../../lib":211,"../color":82,"./scales":97,"d3":15,"fast-isnumeric":17,"tinycolor2":64}],94:[function(_dereq_,module,exports){
|
|
23895
23932
|
/**
|
|
23896
23933
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23897
23934
|
* All rights reserved.
|
|
@@ -23919,7 +23956,7 @@ module.exports = {
|
|
|
23919
23956
|
calc: _dereq_('./calc'),
|
|
23920
23957
|
|
|
23921
23958
|
// ./scales.js is required in lib/coerce.js ;
|
|
23922
|
-
// it needs to be a
|
|
23959
|
+
// it needs to be a separate module to avoid circular a dependency
|
|
23923
23960
|
scales: scales.scales,
|
|
23924
23961
|
defaultScale: scales.defaultScale,
|
|
23925
23962
|
getScale: scales.get,
|
|
@@ -23933,7 +23970,7 @@ module.exports = {
|
|
|
23933
23970
|
makeColorScaleFuncFromTrace: helpers.makeColorScaleFuncFromTrace
|
|
23934
23971
|
};
|
|
23935
23972
|
|
|
23936
|
-
},{"./attributes":
|
|
23973
|
+
},{"./attributes":89,"./calc":90,"./cross_trace_defaults":91,"./defaults":92,"./helpers":93,"./layout_attributes":95,"./layout_defaults":96,"./scales":97}],95:[function(_dereq_,module,exports){
|
|
23937
23974
|
/**
|
|
23938
23975
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23939
23976
|
* All rights reserved.
|
|
@@ -23994,7 +24031,7 @@ module.exports = {
|
|
|
23994
24031
|
}))
|
|
23995
24032
|
};
|
|
23996
24033
|
|
|
23997
|
-
},{"../../lib/extend":
|
|
24034
|
+
},{"../../lib/extend":203,"./attributes":89,"./scales":97}],96:[function(_dereq_,module,exports){
|
|
23998
24035
|
/**
|
|
23999
24036
|
* Copyright 2012-2020, Plotly, Inc.
|
|
24000
24037
|
* All rights reserved.
|
|
@@ -24045,7 +24082,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
|
|
|
24045
24082
|
}
|
|
24046
24083
|
};
|
|
24047
24084
|
|
|
24048
|
-
},{"../../lib":
|
|
24085
|
+
},{"../../lib":211,"../../plot_api/plot_template":247,"./defaults":92,"./layout_attributes":95}],97:[function(_dereq_,module,exports){
|
|
24049
24086
|
/**
|
|
24050
24087
|
* Copyright 2012-2020, Plotly, Inc.
|
|
24051
24088
|
* All rights reserved.
|
|
@@ -24249,7 +24286,7 @@ module.exports = {
|
|
|
24249
24286
|
isValid: isValidScale
|
|
24250
24287
|
};
|
|
24251
24288
|
|
|
24252
|
-
},{"tinycolor2":
|
|
24289
|
+
},{"tinycolor2":64}],98:[function(_dereq_,module,exports){
|
|
24253
24290
|
/**
|
|
24254
24291
|
* Copyright 2012-2020, Plotly, Inc.
|
|
24255
24292
|
* All rights reserved.
|
|
@@ -24282,7 +24319,7 @@ module.exports = function align(v, dv, v0, v1, anchor) {
|
|
|
24282
24319
|
return vc;
|
|
24283
24320
|
};
|
|
24284
24321
|
|
|
24285
|
-
},{}],
|
|
24322
|
+
},{}],99:[function(_dereq_,module,exports){
|
|
24286
24323
|
/**
|
|
24287
24324
|
* Copyright 2012-2020, Plotly, Inc.
|
|
24288
24325
|
* All rights reserved.
|
|
@@ -24320,7 +24357,7 @@ module.exports = function getCursor(x, y, xanchor, yanchor) {
|
|
|
24320
24357
|
return cursorset[y][x];
|
|
24321
24358
|
};
|
|
24322
24359
|
|
|
24323
|
-
},{"../../lib":
|
|
24360
|
+
},{"../../lib":211}],100:[function(_dereq_,module,exports){
|
|
24324
24361
|
/**
|
|
24325
24362
|
* Copyright 2012-2020, Plotly, Inc.
|
|
24326
24363
|
* All rights reserved.
|
|
@@ -24379,7 +24416,7 @@ exports.selectingOrDrawing = function(dragmode) {
|
|
|
24379
24416
|
);
|
|
24380
24417
|
};
|
|
24381
24418
|
|
|
24382
|
-
},{}],
|
|
24419
|
+
},{}],101:[function(_dereq_,module,exports){
|
|
24383
24420
|
/**
|
|
24384
24421
|
* Copyright 2012-2020, Plotly, Inc.
|
|
24385
24422
|
* All rights reserved.
|
|
@@ -24671,7 +24708,7 @@ function pointerOffset(e) {
|
|
|
24671
24708
|
);
|
|
24672
24709
|
}
|
|
24673
24710
|
|
|
24674
|
-
},{"../../lib":
|
|
24711
|
+
},{"../../lib":211,"../../plots/cartesian/constants":264,"./align":98,"./cursor":99,"./unhover":102,"has-hover":48,"has-passive-events":49,"mouse-event-offset":53}],102:[function(_dereq_,module,exports){
|
|
24675
24712
|
/**
|
|
24676
24713
|
* Copyright 2012-2020, Plotly, Inc.
|
|
24677
24714
|
* All rights reserved.
|
|
@@ -24726,7 +24763,7 @@ unhover.raw = function raw(gd, evt) {
|
|
|
24726
24763
|
}
|
|
24727
24764
|
};
|
|
24728
24765
|
|
|
24729
|
-
},{"../../lib/dom":
|
|
24766
|
+
},{"../../lib/dom":201,"../../lib/events":202,"../../lib/throttle":234,"../fx/constants":116}],103:[function(_dereq_,module,exports){
|
|
24730
24767
|
/**
|
|
24731
24768
|
* Copyright 2012-2020, Plotly, Inc.
|
|
24732
24769
|
* All rights reserved.
|
|
@@ -24751,7 +24788,7 @@ exports.dash = {
|
|
|
24751
24788
|
|
|
24752
24789
|
};
|
|
24753
24790
|
|
|
24754
|
-
},{}],
|
|
24791
|
+
},{}],104:[function(_dereq_,module,exports){
|
|
24755
24792
|
/**
|
|
24756
24793
|
* Copyright 2012-2020, Plotly, Inc.
|
|
24757
24794
|
* All rights reserved.
|
|
@@ -25948,7 +25985,7 @@ drawing.setTextPointsScale = function(selection, xScale, yScale) {
|
|
|
25948
25985
|
});
|
|
25949
25986
|
};
|
|
25950
25987
|
|
|
25951
|
-
},{"../../components/fx/helpers":
|
|
25988
|
+
},{"../../components/fx/helpers":118,"../../constants/alignment":184,"../../constants/interactions":187,"../../constants/xmlns_namespaces":189,"../../lib":211,"../../lib/svg_text_utils":233,"../../registry":308,"../../traces/scatter/make_bubble_size_func":347,"../../traces/scatter/subtypes":355,"../color":82,"../colorscale":94,"./symbol_defs":105,"d3":15,"fast-isnumeric":17,"tinycolor2":64}],105:[function(_dereq_,module,exports){
|
|
25952
25989
|
/**
|
|
25953
25990
|
* Copyright 2012-2020, Plotly, Inc.
|
|
25954
25991
|
* All rights reserved.
|
|
@@ -26512,7 +26549,7 @@ module.exports = {
|
|
|
26512
26549
|
}
|
|
26513
26550
|
};
|
|
26514
26551
|
|
|
26515
|
-
},{"d3":15}],
|
|
26552
|
+
},{"d3":15}],106:[function(_dereq_,module,exports){
|
|
26516
26553
|
/**
|
|
26517
26554
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26518
26555
|
* All rights reserved.
|
|
@@ -26627,7 +26664,7 @@ module.exports = {
|
|
|
26627
26664
|
}
|
|
26628
26665
|
};
|
|
26629
26666
|
|
|
26630
|
-
},{}],
|
|
26667
|
+
},{}],107:[function(_dereq_,module,exports){
|
|
26631
26668
|
/**
|
|
26632
26669
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26633
26670
|
* All rights reserved.
|
|
@@ -26713,7 +26750,7 @@ function calcOneAxis(calcTrace, trace, axis, coord) {
|
|
|
26713
26750
|
baseExtremes.max = baseExtremes.max.concat(extremes.max);
|
|
26714
26751
|
}
|
|
26715
26752
|
|
|
26716
|
-
},{"../../lib":
|
|
26753
|
+
},{"../../lib":211,"../../plots/cartesian/axes":258,"../../registry":308,"./compute_error":108,"fast-isnumeric":17}],108:[function(_dereq_,module,exports){
|
|
26717
26754
|
/**
|
|
26718
26755
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26719
26756
|
* All rights reserved.
|
|
@@ -26814,7 +26851,7 @@ function makeComputeErrorValue(type, value) {
|
|
|
26814
26851
|
}
|
|
26815
26852
|
}
|
|
26816
26853
|
|
|
26817
|
-
},{}],
|
|
26854
|
+
},{}],109:[function(_dereq_,module,exports){
|
|
26818
26855
|
/**
|
|
26819
26856
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26820
26857
|
* All rights reserved.
|
|
@@ -26889,7 +26926,7 @@ module.exports = function(traceIn, traceOut, defaultColor, opts) {
|
|
|
26889
26926
|
}
|
|
26890
26927
|
};
|
|
26891
26928
|
|
|
26892
|
-
},{"../../lib":
|
|
26929
|
+
},{"../../lib":211,"../../plot_api/plot_template":247,"../../registry":308,"./attributes":106,"fast-isnumeric":17}],110:[function(_dereq_,module,exports){
|
|
26893
26930
|
/**
|
|
26894
26931
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26895
26932
|
* All rights reserved.
|
|
@@ -26958,7 +26995,7 @@ function hoverInfo(calcPoint, trace, hoverPoint) {
|
|
|
26958
26995
|
}
|
|
26959
26996
|
}
|
|
26960
26997
|
|
|
26961
|
-
},{"../../lib":
|
|
26998
|
+
},{"../../lib":211,"../../plot_api/edit_types":240,"./attributes":106,"./calc":107,"./compute_error":108,"./defaults":109,"./plot":111,"./style":112}],111:[function(_dereq_,module,exports){
|
|
26962
26999
|
/**
|
|
26963
27000
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26964
27001
|
* All rights reserved.
|
|
@@ -27130,7 +27167,7 @@ function errorCoords(d, xa, ya) {
|
|
|
27130
27167
|
return out;
|
|
27131
27168
|
}
|
|
27132
27169
|
|
|
27133
|
-
},{"../../traces/scatter/subtypes":
|
|
27170
|
+
},{"../../traces/scatter/subtypes":355,"../drawing":104,"d3":15,"fast-isnumeric":17}],112:[function(_dereq_,module,exports){
|
|
27134
27171
|
/**
|
|
27135
27172
|
* Copyright 2012-2020, Plotly, Inc.
|
|
27136
27173
|
* All rights reserved.
|
|
@@ -27167,7 +27204,7 @@ module.exports = function style(traces) {
|
|
|
27167
27204
|
});
|
|
27168
27205
|
};
|
|
27169
27206
|
|
|
27170
|
-
},{"../color":
|
|
27207
|
+
},{"../color":82,"d3":15}],113:[function(_dereq_,module,exports){
|
|
27171
27208
|
/**
|
|
27172
27209
|
* Copyright 2012-2020, Plotly, Inc.
|
|
27173
27210
|
* All rights reserved.
|
|
@@ -27203,7 +27240,7 @@ module.exports = {
|
|
|
27203
27240
|
}
|
|
27204
27241
|
};
|
|
27205
27242
|
|
|
27206
|
-
},{"../../lib/extend":
|
|
27243
|
+
},{"../../lib/extend":203,"../../plots/font_attributes":286,"./layout_attributes":123}],114:[function(_dereq_,module,exports){
|
|
27207
27244
|
/**
|
|
27208
27245
|
* Copyright 2012-2020, Plotly, Inc.
|
|
27209
27246
|
* All rights reserved.
|
|
@@ -27262,7 +27299,7 @@ function paste(traceAttr, cd, cdAttr, fn) {
|
|
|
27262
27299
|
}
|
|
27263
27300
|
}
|
|
27264
27301
|
|
|
27265
|
-
},{"../../lib":
|
|
27302
|
+
},{"../../lib":211,"../../registry":308}],115:[function(_dereq_,module,exports){
|
|
27266
27303
|
/**
|
|
27267
27304
|
* Copyright 2012-2020, Plotly, Inc.
|
|
27268
27305
|
* All rights reserved.
|
|
@@ -27299,7 +27336,7 @@ module.exports = function click(gd, evt, subplot) {
|
|
|
27299
27336
|
}
|
|
27300
27337
|
};
|
|
27301
27338
|
|
|
27302
|
-
},{"../../registry":
|
|
27339
|
+
},{"../../registry":308,"./hover":119}],116:[function(_dereq_,module,exports){
|
|
27303
27340
|
/**
|
|
27304
27341
|
* Copyright 2012-2020, Plotly, Inc.
|
|
27305
27342
|
* All rights reserved.
|
|
@@ -27331,7 +27368,7 @@ module.exports = {
|
|
|
27331
27368
|
HOVERID: '-hover'
|
|
27332
27369
|
};
|
|
27333
27370
|
|
|
27334
|
-
},{}],
|
|
27371
|
+
},{}],117:[function(_dereq_,module,exports){
|
|
27335
27372
|
/**
|
|
27336
27373
|
* Copyright 2012-2020, Plotly, Inc.
|
|
27337
27374
|
* All rights reserved.
|
|
@@ -27357,7 +27394,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
27357
27394
|
handleHoverLabelDefaults(traceIn, traceOut, coerce, opts);
|
|
27358
27395
|
};
|
|
27359
27396
|
|
|
27360
|
-
},{"../../lib":
|
|
27397
|
+
},{"../../lib":211,"./attributes":113,"./hoverlabel_defaults":120}],118:[function(_dereq_,module,exports){
|
|
27361
27398
|
/**
|
|
27362
27399
|
* Copyright 2012-2020, Plotly, Inc.
|
|
27363
27400
|
* All rights reserved.
|
|
@@ -27619,7 +27656,7 @@ exports.isXYhover = function(hovermode) {
|
|
|
27619
27656
|
return !!xyHoverMode[hovermode];
|
|
27620
27657
|
};
|
|
27621
27658
|
|
|
27622
|
-
},{"../../lib":
|
|
27659
|
+
},{"../../lib":211}],119:[function(_dereq_,module,exports){
|
|
27623
27660
|
/**
|
|
27624
27661
|
* Copyright 2012-2020, Plotly, Inc.
|
|
27625
27662
|
* All rights reserved.
|
|
@@ -28928,7 +28965,7 @@ function getHoverLabelText(d, showCommonLabel, hovermode, fullLayout, t0, g) {
|
|
|
28928
28965
|
|
|
28929
28966
|
// Make groups of touching points, and within each group
|
|
28930
28967
|
// move each point so that no labels overlap, but the average
|
|
28931
|
-
// label position is the same as it was before moving.
|
|
28968
|
+
// label position is the same as it was before moving. Incidentally,
|
|
28932
28969
|
// this is equivalent to saying all the labels are on equal linear
|
|
28933
28970
|
// springs about their initial position. Initially, each point is
|
|
28934
28971
|
// its own group, but as we find overlaps we will clump the points.
|
|
@@ -29491,7 +29528,7 @@ function plainText(s, len) {
|
|
|
29491
29528
|
});
|
|
29492
29529
|
}
|
|
29493
29530
|
|
|
29494
|
-
},{"../../lib":
|
|
29531
|
+
},{"../../lib":211,"../../lib/events":202,"../../lib/override_cursor":222,"../../lib/svg_text_utils":233,"../../plots/cartesian/axes":258,"../../registry":308,"../color":82,"../dragelement":101,"../drawing":104,"../legend/defaults":134,"../legend/draw":135,"./constants":116,"./helpers":118,"d3":15,"fast-isnumeric":17,"tinycolor2":64}],120:[function(_dereq_,module,exports){
|
|
29495
29532
|
/**
|
|
29496
29533
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29497
29534
|
* All rights reserved.
|
|
@@ -29537,7 +29574,7 @@ module.exports = function handleHoverLabelDefaults(contIn, contOut, coerce, opts
|
|
|
29537
29574
|
coerce('hoverlabel.align', opts.align);
|
|
29538
29575
|
};
|
|
29539
29576
|
|
|
29540
|
-
},{"../../lib":
|
|
29577
|
+
},{"../../lib":211,"../color":82,"./helpers":118}],121:[function(_dereq_,module,exports){
|
|
29541
29578
|
/**
|
|
29542
29579
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29543
29580
|
* All rights reserved.
|
|
@@ -29593,7 +29630,7 @@ function isHoriz(fullData, fullLayout) {
|
|
|
29593
29630
|
return true;
|
|
29594
29631
|
}
|
|
29595
29632
|
|
|
29596
|
-
},{"../../lib":
|
|
29633
|
+
},{"../../lib":211,"./layout_attributes":123}],122:[function(_dereq_,module,exports){
|
|
29597
29634
|
/**
|
|
29598
29635
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29599
29636
|
* All rights reserved.
|
|
@@ -29672,7 +29709,7 @@ function castHoverinfo(trace, fullLayout, ptNumber) {
|
|
|
29672
29709
|
return Lib.castOption(trace, ptNumber, 'hoverinfo', _coerce);
|
|
29673
29710
|
}
|
|
29674
29711
|
|
|
29675
|
-
},{"../../lib":
|
|
29712
|
+
},{"../../lib":211,"../dragelement":101,"./attributes":113,"./calc":114,"./click":115,"./constants":116,"./defaults":117,"./helpers":118,"./hover":119,"./layout_attributes":123,"./layout_defaults":124,"./layout_global_defaults":125,"d3":15}],123:[function(_dereq_,module,exports){
|
|
29676
29713
|
/**
|
|
29677
29714
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29678
29715
|
* All rights reserved.
|
|
@@ -29788,7 +29825,7 @@ module.exports = {
|
|
|
29788
29825
|
}
|
|
29789
29826
|
};
|
|
29790
29827
|
|
|
29791
|
-
},{"../../plots/font_attributes":
|
|
29828
|
+
},{"../../plots/font_attributes":286,"./constants":116}],124:[function(_dereq_,module,exports){
|
|
29792
29829
|
/**
|
|
29793
29830
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29794
29831
|
* All rights reserved.
|
|
@@ -29836,7 +29873,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {
|
|
|
29836
29873
|
handleHoverLabelDefaults(layoutIn, layoutOut, coerce);
|
|
29837
29874
|
};
|
|
29838
29875
|
|
|
29839
|
-
},{"../../lib":
|
|
29876
|
+
},{"../../lib":211,"./helpers":118,"./hoverlabel_defaults":120,"./hovermode_defaults":121,"./layout_attributes":123}],125:[function(_dereq_,module,exports){
|
|
29840
29877
|
/**
|
|
29841
29878
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29842
29879
|
* All rights reserved.
|
|
@@ -29859,7 +29896,7 @@ module.exports = function supplyLayoutGlobalDefaults(layoutIn, layoutOut) {
|
|
|
29859
29896
|
handleHoverLabelDefaults(layoutIn, layoutOut, coerce);
|
|
29860
29897
|
};
|
|
29861
29898
|
|
|
29862
|
-
},{"../../lib":
|
|
29899
|
+
},{"../../lib":211,"./hoverlabel_defaults":120,"./layout_attributes":123}],126:[function(_dereq_,module,exports){
|
|
29863
29900
|
/**
|
|
29864
29901
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29865
29902
|
* All rights reserved.
|
|
@@ -30233,7 +30270,7 @@ module.exports = {
|
|
|
30233
30270
|
contentDefaults: contentDefaults
|
|
30234
30271
|
};
|
|
30235
30272
|
|
|
30236
|
-
},{"../../lib":
|
|
30273
|
+
},{"../../lib":211,"../../lib/regex":227,"../../plot_api/plot_template":247,"../../plots/cartesian/constants":264,"../../plots/domain":285}],127:[function(_dereq_,module,exports){
|
|
30237
30274
|
/**
|
|
30238
30275
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30239
30276
|
* All rights reserved.
|
|
@@ -30369,7 +30406,7 @@ module.exports = templatedArray('image', {
|
|
|
30369
30406
|
editType: 'arraydraw'
|
|
30370
30407
|
});
|
|
30371
30408
|
|
|
30372
|
-
},{"../../constants/axis_placeable_objects":
|
|
30409
|
+
},{"../../constants/axis_placeable_objects":185,"../../plot_api/plot_template":247,"../../plots/cartesian/constants":264}],128:[function(_dereq_,module,exports){
|
|
30373
30410
|
/**
|
|
30374
30411
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30375
30412
|
* All rights reserved.
|
|
@@ -30450,7 +30487,7 @@ module.exports = function convertCoords(gd, ax, newType, doExtra) {
|
|
|
30450
30487
|
}
|
|
30451
30488
|
};
|
|
30452
30489
|
|
|
30453
|
-
},{"../../lib/to_log_range":
|
|
30490
|
+
},{"../../lib/to_log_range":235,"fast-isnumeric":17}],129:[function(_dereq_,module,exports){
|
|
30454
30491
|
/**
|
|
30455
30492
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30456
30493
|
* All rights reserved.
|
|
@@ -30515,7 +30552,7 @@ function imageDefaults(imageIn, imageOut, fullLayout) {
|
|
|
30515
30552
|
return imageOut;
|
|
30516
30553
|
}
|
|
30517
30554
|
|
|
30518
|
-
},{"../../lib":
|
|
30555
|
+
},{"../../lib":211,"../../plots/array_container_defaults":253,"../../plots/cartesian/axes":258,"./attributes":127}],130:[function(_dereq_,module,exports){
|
|
30519
30556
|
/**
|
|
30520
30557
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30521
30558
|
* All rights reserved.
|
|
@@ -30773,7 +30810,7 @@ module.exports = function draw(gd) {
|
|
|
30773
30810
|
}
|
|
30774
30811
|
};
|
|
30775
30812
|
|
|
30776
|
-
},{"../../constants/xmlns_namespaces":
|
|
30813
|
+
},{"../../constants/xmlns_namespaces":189,"../../plots/cartesian/axes":258,"../../plots/cartesian/axis_ids":261,"../drawing":104,"d3":15}],131:[function(_dereq_,module,exports){
|
|
30777
30814
|
/**
|
|
30778
30815
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30779
30816
|
* All rights reserved.
|
|
@@ -30797,7 +30834,7 @@ module.exports = {
|
|
|
30797
30834
|
convertCoords: _dereq_('./convert_coords')
|
|
30798
30835
|
};
|
|
30799
30836
|
|
|
30800
|
-
},{"../../plots/cartesian/include_components":
|
|
30837
|
+
},{"../../plots/cartesian/include_components":270,"./attributes":127,"./convert_coords":128,"./defaults":129,"./draw":130}],132:[function(_dereq_,module,exports){
|
|
30801
30838
|
/**
|
|
30802
30839
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30803
30840
|
* All rights reserved.
|
|
@@ -30966,7 +31003,7 @@ module.exports = {
|
|
|
30966
31003
|
editType: 'legend'
|
|
30967
31004
|
};
|
|
30968
31005
|
|
|
30969
|
-
},{"../../plots/font_attributes":
|
|
31006
|
+
},{"../../plots/font_attributes":286,"../color/attributes":81}],133:[function(_dereq_,module,exports){
|
|
30970
31007
|
/**
|
|
30971
31008
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30972
31009
|
* All rights reserved.
|
|
@@ -30990,7 +31027,7 @@ module.exports = {
|
|
|
30990
31027
|
itemGap: 5
|
|
30991
31028
|
};
|
|
30992
31029
|
|
|
30993
|
-
},{}],
|
|
31030
|
+
},{}],134:[function(_dereq_,module,exports){
|
|
30994
31031
|
/**
|
|
30995
31032
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30996
31033
|
* All rights reserved.
|
|
@@ -31125,7 +31162,7 @@ module.exports = function legendDefaults(layoutIn, layoutOut, fullData) {
|
|
|
31125
31162
|
}
|
|
31126
31163
|
};
|
|
31127
31164
|
|
|
31128
|
-
},{"../../lib":
|
|
31165
|
+
},{"../../lib":211,"../../plot_api/plot_template":247,"../../plots/layout_attributes":297,"../../registry":308,"./attributes":132,"./helpers":138}],135:[function(_dereq_,module,exports){
|
|
31129
31166
|
/**
|
|
31130
31167
|
* Copyright 2012-2020, Plotly, Inc.
|
|
31131
31168
|
* All rights reserved.
|
|
@@ -31922,7 +31959,7 @@ function getYanchor(opts) {
|
|
|
31922
31959
|
'top';
|
|
31923
31960
|
}
|
|
31924
31961
|
|
|
31925
|
-
},{"../../constants/alignment":
|
|
31962
|
+
},{"../../constants/alignment":184,"../../lib":211,"../../lib/events":202,"../../lib/svg_text_utils":233,"../../plots/plots":299,"../../registry":308,"../color":82,"../dragelement":101,"../drawing":104,"./constants":133,"./get_legend_data":136,"./handle_click":137,"./helpers":138,"./style":140,"d3":15}],136:[function(_dereq_,module,exports){
|
|
31926
31963
|
/**
|
|
31927
31964
|
* Copyright 2012-2020, Plotly, Inc.
|
|
31928
31965
|
* All rights reserved.
|
|
@@ -32031,7 +32068,7 @@ module.exports = function getLegendData(calcdata, opts) {
|
|
|
32031
32068
|
return legendData;
|
|
32032
32069
|
};
|
|
32033
32070
|
|
|
32034
|
-
},{"../../registry":
|
|
32071
|
+
},{"../../registry":308,"./helpers":138}],137:[function(_dereq_,module,exports){
|
|
32035
32072
|
/**
|
|
32036
32073
|
* Copyright 2012-2020, Plotly, Inc.
|
|
32037
32074
|
* All rights reserved.
|
|
@@ -32270,7 +32307,7 @@ module.exports = function handleClick(g, gd, numClicks) {
|
|
|
32270
32307
|
}
|
|
32271
32308
|
};
|
|
32272
32309
|
|
|
32273
|
-
},{"../../lib":
|
|
32310
|
+
},{"../../lib":211,"../../registry":308}],138:[function(_dereq_,module,exports){
|
|
32274
32311
|
/**
|
|
32275
32312
|
* Copyright 2012-2020, Plotly, Inc.
|
|
32276
32313
|
* All rights reserved.
|
|
@@ -32294,7 +32331,7 @@ exports.isReversed = function isReversed(legendLayout) {
|
|
|
32294
32331
|
return (legendLayout.traceorder || '').indexOf('reversed') !== -1;
|
|
32295
32332
|
};
|
|
32296
32333
|
|
|
32297
|
-
},{}],
|
|
32334
|
+
},{}],139:[function(_dereq_,module,exports){
|
|
32298
32335
|
/**
|
|
32299
32336
|
* Copyright 2012-2020, Plotly, Inc.
|
|
32300
32337
|
* All rights reserved.
|
|
@@ -32318,7 +32355,7 @@ module.exports = {
|
|
|
32318
32355
|
style: _dereq_('./style')
|
|
32319
32356
|
};
|
|
32320
32357
|
|
|
32321
|
-
},{"./attributes":
|
|
32358
|
+
},{"./attributes":132,"./defaults":134,"./draw":135,"./style":140}],140:[function(_dereq_,module,exports){
|
|
32322
32359
|
/**
|
|
32323
32360
|
* Copyright 2012-2020, Plotly, Inc.
|
|
32324
32361
|
* All rights reserved.
|
|
@@ -32951,7 +32988,7 @@ function getGradientDirection(reversescale, isRadial) {
|
|
|
32951
32988
|
return str + (reversescale ? '' : 'reversed');
|
|
32952
32989
|
}
|
|
32953
32990
|
|
|
32954
|
-
},{"../../lib":
|
|
32991
|
+
},{"../../lib":211,"../../registry":308,"../../traces/pie/helpers":327,"../../traces/pie/style_one":328,"../../traces/scatter/subtypes":355,"../color":82,"../colorscale/helpers":93,"../drawing":104,"./constants":133,"d3":15}],141:[function(_dereq_,module,exports){
|
|
32955
32992
|
/**
|
|
32956
32993
|
* Copyright 2012-2020, Plotly, Inc.
|
|
32957
32994
|
* All rights reserved.
|
|
@@ -33687,7 +33724,7 @@ function resetView(gd, subplotType) {
|
|
|
33687
33724
|
Registry.call('_guiRelayout', gd, aObj);
|
|
33688
33725
|
}
|
|
33689
33726
|
|
|
33690
|
-
},{"../../fonts/ploticon":
|
|
33727
|
+
},{"../../fonts/ploticon":192,"../../lib":211,"../../plots/cartesian/axis_ids":261,"../../plots/plots":299,"../../registry":308,"../shapes/draw":163}],142:[function(_dereq_,module,exports){
|
|
33691
33728
|
/**
|
|
33692
33729
|
* Copyright 2012-2020, Plotly, Inc.
|
|
33693
33730
|
* All rights reserved.
|
|
@@ -33701,7 +33738,7 @@ function resetView(gd, subplotType) {
|
|
|
33701
33738
|
|
|
33702
33739
|
exports.manage = _dereq_('./manage');
|
|
33703
33740
|
|
|
33704
|
-
},{"./manage":
|
|
33741
|
+
},{"./manage":143}],143:[function(_dereq_,module,exports){
|
|
33705
33742
|
/**
|
|
33706
33743
|
* Copyright 2012-2020, Plotly, Inc.
|
|
33707
33744
|
* All rights reserved.
|
|
@@ -33997,7 +34034,7 @@ function fillCustomButton(customButtons) {
|
|
|
33997
34034
|
return customButtons;
|
|
33998
34035
|
}
|
|
33999
34036
|
|
|
34000
|
-
},{"../../plots/cartesian/axis_ids":
|
|
34037
|
+
},{"../../plots/cartesian/axis_ids":261,"../../registry":308,"../../traces/scatter/subtypes":355,"../fx/helpers":118,"./buttons":141,"./modebar":144}],144:[function(_dereq_,module,exports){
|
|
34001
34038
|
/**
|
|
34002
34039
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34003
34040
|
* All rights reserved.
|
|
@@ -34343,7 +34380,7 @@ function createModeBar(gd, buttons) {
|
|
|
34343
34380
|
|
|
34344
34381
|
module.exports = createModeBar;
|
|
34345
34382
|
|
|
34346
|
-
},{"../../fonts/ploticon":
|
|
34383
|
+
},{"../../fonts/ploticon":192,"../../lib":211,"d3":15,"fast-isnumeric":17}],145:[function(_dereq_,module,exports){
|
|
34347
34384
|
/**
|
|
34348
34385
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34349
34386
|
* All rights reserved.
|
|
@@ -34479,7 +34516,7 @@ module.exports = {
|
|
|
34479
34516
|
editType: 'plot'
|
|
34480
34517
|
};
|
|
34481
34518
|
|
|
34482
|
-
},{"../../plot_api/plot_template":
|
|
34519
|
+
},{"../../plot_api/plot_template":247,"../../plots/font_attributes":286,"../color/attributes":81}],146:[function(_dereq_,module,exports){
|
|
34483
34520
|
/**
|
|
34484
34521
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34485
34522
|
* All rights reserved.
|
|
@@ -34508,7 +34545,7 @@ module.exports = {
|
|
|
34508
34545
|
darkAmount: 10
|
|
34509
34546
|
};
|
|
34510
34547
|
|
|
34511
|
-
},{}],
|
|
34548
|
+
},{}],147:[function(_dereq_,module,exports){
|
|
34512
34549
|
/**
|
|
34513
34550
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34514
34551
|
* All rights reserved.
|
|
@@ -34600,7 +34637,7 @@ function getPosDflt(containerOut, layout, counterAxes) {
|
|
|
34600
34637
|
return [containerOut.domain[0], posY + constants.yPad];
|
|
34601
34638
|
}
|
|
34602
34639
|
|
|
34603
|
-
},{"../../lib":
|
|
34640
|
+
},{"../../lib":211,"../../plot_api/plot_template":247,"../../plots/array_container_defaults":253,"../color":82,"./attributes":145,"./constants":146}],148:[function(_dereq_,module,exports){
|
|
34604
34641
|
/**
|
|
34605
34642
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34606
34643
|
* All rights reserved.
|
|
@@ -34855,7 +34892,7 @@ function reposition(gd, buttons, opts, axName, selector) {
|
|
|
34855
34892
|
selector.attr('transform', strTranslate(lx, ly));
|
|
34856
34893
|
}
|
|
34857
34894
|
|
|
34858
|
-
},{"../../constants/alignment":
|
|
34895
|
+
},{"../../constants/alignment":184,"../../lib":211,"../../lib/svg_text_utils":233,"../../plots/cartesian/axis_ids":261,"../../plots/plots":299,"../../registry":308,"../color":82,"../drawing":104,"./constants":146,"./get_update_object":149,"d3":15}],149:[function(_dereq_,module,exports){
|
|
34859
34896
|
/**
|
|
34860
34897
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34861
34898
|
* All rights reserved.
|
|
@@ -34909,7 +34946,7 @@ function getXRange(axisLayout, buttonLayout) {
|
|
|
34909
34946
|
return [range0, range1];
|
|
34910
34947
|
}
|
|
34911
34948
|
|
|
34912
|
-
},{"d3":15}],
|
|
34949
|
+
},{"d3":15}],150:[function(_dereq_,module,exports){
|
|
34913
34950
|
/**
|
|
34914
34951
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34915
34952
|
* All rights reserved.
|
|
@@ -34936,7 +34973,7 @@ module.exports = {
|
|
|
34936
34973
|
draw: _dereq_('./draw')
|
|
34937
34974
|
};
|
|
34938
34975
|
|
|
34939
|
-
},{"./attributes":
|
|
34976
|
+
},{"./attributes":145,"./defaults":147,"./draw":148}],151:[function(_dereq_,module,exports){
|
|
34940
34977
|
/**
|
|
34941
34978
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34942
34979
|
* All rights reserved.
|
|
@@ -35010,7 +35047,7 @@ module.exports = {
|
|
|
35010
35047
|
editType: 'calc'
|
|
35011
35048
|
};
|
|
35012
35049
|
|
|
35013
|
-
},{"../color/attributes":
|
|
35050
|
+
},{"../color/attributes":81}],152:[function(_dereq_,module,exports){
|
|
35014
35051
|
/**
|
|
35015
35052
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35016
35053
|
* All rights reserved.
|
|
@@ -35044,7 +35081,7 @@ module.exports = function calcAutorange(gd) {
|
|
|
35044
35081
|
}
|
|
35045
35082
|
};
|
|
35046
35083
|
|
|
35047
|
-
},{"../../plots/cartesian/autorange":
|
|
35084
|
+
},{"../../plots/cartesian/autorange":257,"../../plots/cartesian/axis_ids":261,"./constants":153}],153:[function(_dereq_,module,exports){
|
|
35048
35085
|
/**
|
|
35049
35086
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35050
35087
|
* All rights reserved.
|
|
@@ -35100,7 +35137,7 @@ module.exports = {
|
|
|
35100
35137
|
extraPad: 15
|
|
35101
35138
|
};
|
|
35102
35139
|
|
|
35103
|
-
},{}],
|
|
35140
|
+
},{}],154:[function(_dereq_,module,exports){
|
|
35104
35141
|
/**
|
|
35105
35142
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35106
35143
|
* All rights reserved.
|
|
@@ -35186,7 +35223,7 @@ module.exports = function handleDefaults(layoutIn, layoutOut, axName) {
|
|
|
35186
35223
|
containerOut._input = containerIn;
|
|
35187
35224
|
};
|
|
35188
35225
|
|
|
35189
|
-
},{"../../lib":
|
|
35226
|
+
},{"../../lib":211,"../../plot_api/plot_template":247,"../../plots/cartesian/axis_ids":261,"./attributes":151,"./oppaxis_attributes":158}],155:[function(_dereq_,module,exports){
|
|
35190
35227
|
/**
|
|
35191
35228
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35192
35229
|
* All rights reserved.
|
|
@@ -35830,7 +35867,7 @@ function drawGrabbers(rangeSlider, gd, axisOpts, opts) {
|
|
|
35830
35867
|
grabAreaMax.attr('height', opts._height);
|
|
35831
35868
|
}
|
|
35832
35869
|
|
|
35833
|
-
},{"../../lib":
|
|
35870
|
+
},{"../../lib":211,"../../lib/setcursor":231,"../../plots/cartesian":271,"../../plots/cartesian/axis_ids":261,"../../plots/plots":299,"../../registry":308,"../color":82,"../dragelement":101,"../drawing":104,"../titles":177,"./constants":153,"d3":15}],156:[function(_dereq_,module,exports){
|
|
35834
35871
|
/**
|
|
35835
35872
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35836
35873
|
* All rights reserved.
|
|
@@ -35905,7 +35942,7 @@ exports.autoMarginOpts = function(gd, ax) {
|
|
|
35905
35942
|
};
|
|
35906
35943
|
};
|
|
35907
35944
|
|
|
35908
|
-
},{"../../constants/alignment":
|
|
35945
|
+
},{"../../constants/alignment":184,"../../lib/svg_text_utils":233,"../../plots/cartesian/axis_ids":261,"./constants":153}],157:[function(_dereq_,module,exports){
|
|
35909
35946
|
/**
|
|
35910
35947
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35911
35948
|
* All rights reserved.
|
|
@@ -35944,7 +35981,7 @@ module.exports = {
|
|
|
35944
35981
|
autoMarginOpts: helpers.autoMarginOpts
|
|
35945
35982
|
};
|
|
35946
35983
|
|
|
35947
|
-
},{"../../lib":
|
|
35984
|
+
},{"../../lib":211,"./attributes":151,"./calc_autorange":152,"./defaults":154,"./draw":155,"./helpers":156,"./oppaxis_attributes":158}],158:[function(_dereq_,module,exports){
|
|
35948
35985
|
/**
|
|
35949
35986
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35950
35987
|
* All rights reserved.
|
|
@@ -35982,7 +36019,7 @@ module.exports = {
|
|
|
35982
36019
|
editType: 'calc'
|
|
35983
36020
|
};
|
|
35984
36021
|
|
|
35985
|
-
},{}],
|
|
36022
|
+
},{}],159:[function(_dereq_,module,exports){
|
|
35986
36023
|
/**
|
|
35987
36024
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35988
36025
|
* All rights reserved.
|
|
@@ -36135,7 +36172,7 @@ module.exports = templatedArray('shape', {
|
|
|
36135
36172
|
editType: 'arraydraw'
|
|
36136
36173
|
});
|
|
36137
36174
|
|
|
36138
|
-
},{"../../constants/axis_placeable_objects":
|
|
36175
|
+
},{"../../constants/axis_placeable_objects":185,"../../lib/extend":203,"../../plot_api/plot_template":247,"../../traces/scatter/attributes":330,"../annotations/attributes":67,"../drawing/attributes":103}],160:[function(_dereq_,module,exports){
|
|
36139
36176
|
/**
|
|
36140
36177
|
* Copyright 2012-2020, Plotly, Inc.
|
|
36141
36178
|
* All rights reserved.
|
|
@@ -36255,7 +36292,7 @@ function shapeBounds(ax, v0, v1, path, paramsToUse) {
|
|
|
36255
36292
|
if(max >= min) return [min, max];
|
|
36256
36293
|
}
|
|
36257
36294
|
|
|
36258
|
-
},{"../../lib":
|
|
36295
|
+
},{"../../lib":211,"../../plots/cartesian/axes":258,"./constants":161,"./helpers":170}],161:[function(_dereq_,module,exports){
|
|
36259
36296
|
/**
|
|
36260
36297
|
* Copyright 2012-2020, Plotly, Inc.
|
|
36261
36298
|
* All rights reserved.
|
|
@@ -36319,7 +36356,7 @@ module.exports = {
|
|
|
36319
36356
|
}
|
|
36320
36357
|
};
|
|
36321
36358
|
|
|
36322
|
-
},{}],
|
|
36359
|
+
},{}],162:[function(_dereq_,module,exports){
|
|
36323
36360
|
/**
|
|
36324
36361
|
* Copyright 2012-2020, Plotly, Inc.
|
|
36325
36362
|
* All rights reserved.
|
|
@@ -36450,7 +36487,7 @@ function handleShapeDefaults(shapeIn, shapeOut, fullLayout) {
|
|
|
36450
36487
|
}
|
|
36451
36488
|
}
|
|
36452
36489
|
|
|
36453
|
-
},{"../../lib":
|
|
36490
|
+
},{"../../lib":211,"../../plots/array_container_defaults":253,"../../plots/cartesian/axes":258,"./attributes":159,"./helpers":170}],163:[function(_dereq_,module,exports){
|
|
36454
36491
|
/**
|
|
36455
36492
|
* Copyright 2012-2020, Plotly, Inc.
|
|
36456
36493
|
* All rights reserved.
|
|
@@ -37224,7 +37261,7 @@ function eraseActiveShape(gd) {
|
|
|
37224
37261
|
}
|
|
37225
37262
|
}
|
|
37226
37263
|
|
|
37227
|
-
},{"../../lib":
|
|
37264
|
+
},{"../../lib":211,"../../lib/setcursor":231,"../../plot_api/plot_template":247,"../../plots/cartesian/axes":258,"../../plots/cartesian/handle_outline":268,"../../registry":308,"../color":82,"../dragelement":101,"../drawing":104,"./constants":161,"./draw_newshape/display_outlines":167,"./draw_newshape/helpers":168,"./helpers":170}],164:[function(_dereq_,module,exports){
|
|
37228
37265
|
/**
|
|
37229
37266
|
* Copyright 2012-2020, Plotly, Inc.
|
|
37230
37267
|
* All rights reserved.
|
|
@@ -37327,7 +37364,7 @@ module.exports = {
|
|
|
37327
37364
|
}
|
|
37328
37365
|
};
|
|
37329
37366
|
|
|
37330
|
-
},{"../../../lib/extend":
|
|
37367
|
+
},{"../../../lib/extend":203,"../../drawing/attributes":103}],165:[function(_dereq_,module,exports){
|
|
37331
37368
|
/**
|
|
37332
37369
|
* Copyright 2012-2020, Plotly, Inc.
|
|
37333
37370
|
* All rights reserved.
|
|
@@ -37351,7 +37388,7 @@ module.exports = {
|
|
|
37351
37388
|
SQRT2: Math.sqrt(2)
|
|
37352
37389
|
};
|
|
37353
37390
|
|
|
37354
|
-
},{}],
|
|
37391
|
+
},{}],166:[function(_dereq_,module,exports){
|
|
37355
37392
|
/**
|
|
37356
37393
|
* Copyright 2012-2020, Plotly, Inc.
|
|
37357
37394
|
* All rights reserved.
|
|
@@ -37383,7 +37420,7 @@ module.exports = function supplyDrawNewShapeDefaults(layoutIn, layoutOut, coerce
|
|
|
37383
37420
|
coerce('activeshape.opacity');
|
|
37384
37421
|
};
|
|
37385
37422
|
|
|
37386
|
-
},{"../../color":
|
|
37423
|
+
},{"../../color":82}],167:[function(_dereq_,module,exports){
|
|
37387
37424
|
/**
|
|
37388
37425
|
* Copyright 2012-2020, Plotly, Inc.
|
|
37389
37426
|
* All rights reserved.
|
|
@@ -37678,7 +37715,7 @@ function recordPositions(polygonsOut, polygonsIn) {
|
|
|
37678
37715
|
return polygonsOut;
|
|
37679
37716
|
}
|
|
37680
37717
|
|
|
37681
|
-
},{"../../../plots/cartesian/handle_outline":
|
|
37718
|
+
},{"../../../plots/cartesian/handle_outline":268,"../../../registry":308,"../../dragelement":101,"../../dragelement/helpers":100,"./constants":165,"./helpers":168,"./newshapes":169}],168:[function(_dereq_,module,exports){
|
|
37682
37719
|
/**
|
|
37683
37720
|
* Copyright 2012-2020, Plotly, Inc.
|
|
37684
37721
|
* All rights reserved.
|
|
@@ -38016,7 +38053,7 @@ exports.ellipseOver = function(pos) {
|
|
|
38016
38053
|
};
|
|
38017
38054
|
};
|
|
38018
38055
|
|
|
38019
|
-
},{"../../../plots/cartesian/helpers":
|
|
38056
|
+
},{"../../../plots/cartesian/helpers":269,"./constants":165,"parse-svg-path":54}],169:[function(_dereq_,module,exports){
|
|
38020
38057
|
/**
|
|
38021
38058
|
* Copyright 2012-2020, Plotly, Inc.
|
|
38022
38059
|
* All rights reserved.
|
|
@@ -38275,7 +38312,7 @@ function fixDatesForPaths(polygons, xaxis, yaxis) {
|
|
|
38275
38312
|
return polygons;
|
|
38276
38313
|
}
|
|
38277
38314
|
|
|
38278
|
-
},{"../../../plots/cartesian/handle_outline":
|
|
38315
|
+
},{"../../../plots/cartesian/handle_outline":268,"../../../plots/cartesian/helpers":269,"../../dragelement/helpers":100,"./constants":165,"./helpers":168}],170:[function(_dereq_,module,exports){
|
|
38279
38316
|
/**
|
|
38280
38317
|
* Copyright 2012-2020, Plotly, Inc.
|
|
38281
38318
|
* All rights reserved.
|
|
@@ -38433,7 +38470,7 @@ exports.makeOptionsAndPlotinfo = function(gd, index) {
|
|
|
38433
38470
|
};
|
|
38434
38471
|
};
|
|
38435
38472
|
|
|
38436
|
-
},{"../../lib":
|
|
38473
|
+
},{"../../lib":211,"./constants":161}],171:[function(_dereq_,module,exports){
|
|
38437
38474
|
/**
|
|
38438
38475
|
* Copyright 2012-2020, Plotly, Inc.
|
|
38439
38476
|
* All rights reserved.
|
|
@@ -38461,7 +38498,7 @@ module.exports = {
|
|
|
38461
38498
|
drawOne: drawModule.drawOne
|
|
38462
38499
|
};
|
|
38463
38500
|
|
|
38464
|
-
},{"../../plots/cartesian/include_components":
|
|
38501
|
+
},{"../../plots/cartesian/include_components":270,"./attributes":159,"./calc_autorange":160,"./defaults":162,"./draw":163,"./draw_newshape/defaults":166}],172:[function(_dereq_,module,exports){
|
|
38465
38502
|
/**
|
|
38466
38503
|
* Copyright 2012-2020, Plotly, Inc.
|
|
38467
38504
|
* All rights reserved.
|
|
@@ -38704,7 +38741,7 @@ module.exports = overrideAll(templatedArray('slider', {
|
|
|
38704
38741
|
}
|
|
38705
38742
|
}), 'arraydraw', 'from-root');
|
|
38706
38743
|
|
|
38707
|
-
},{"../../lib/extend":
|
|
38744
|
+
},{"../../lib/extend":203,"../../plot_api/edit_types":240,"../../plot_api/plot_template":247,"../../plots/animation_attributes":252,"../../plots/font_attributes":286,"../../plots/pad_attributes":298,"./constants":173}],173:[function(_dereq_,module,exports){
|
|
38708
38745
|
/**
|
|
38709
38746
|
* Copyright 2012-2020, Plotly, Inc.
|
|
38710
38747
|
* All rights reserved.
|
|
@@ -38798,7 +38835,7 @@ module.exports = {
|
|
|
38798
38835
|
currentValueInset: 0,
|
|
38799
38836
|
};
|
|
38800
38837
|
|
|
38801
|
-
},{}],
|
|
38838
|
+
},{}],174:[function(_dereq_,module,exports){
|
|
38802
38839
|
/**
|
|
38803
38840
|
* Copyright 2012-2020, Plotly, Inc.
|
|
38804
38841
|
* All rights reserved.
|
|
@@ -38913,7 +38950,7 @@ function stepDefaults(valueIn, valueOut) {
|
|
|
38913
38950
|
}
|
|
38914
38951
|
}
|
|
38915
38952
|
|
|
38916
|
-
},{"../../lib":
|
|
38953
|
+
},{"../../lib":211,"../../plots/array_container_defaults":253,"./attributes":172,"./constants":173}],175:[function(_dereq_,module,exports){
|
|
38917
38954
|
/**
|
|
38918
38955
|
* Copyright 2012-2020, Plotly, Inc.
|
|
38919
38956
|
* All rights reserved.
|
|
@@ -39487,7 +39524,7 @@ function setGripPosition(sliderGroup, sliderOpts, doTransition) {
|
|
|
39487
39524
|
.ease(sliderOpts.transition.easing);
|
|
39488
39525
|
}
|
|
39489
39526
|
|
|
39490
|
-
// Drawing.setTranslate doesn't work here
|
|
39527
|
+
// Drawing.setTranslate doesn't work here because of the transition duck-typing.
|
|
39491
39528
|
// It's also not necessary because there are no other transitions to preserve.
|
|
39492
39529
|
el.attr('transform', strTranslate(x - constants.gripWidth * 0.5, sliderOpts._dims.currentValueTotalHeight));
|
|
39493
39530
|
}
|
|
@@ -39544,7 +39581,7 @@ function drawRail(sliderGroup, sliderOpts) {
|
|
|
39544
39581
|
);
|
|
39545
39582
|
}
|
|
39546
39583
|
|
|
39547
|
-
},{"../../constants/alignment":
|
|
39584
|
+
},{"../../constants/alignment":184,"../../lib":211,"../../lib/svg_text_utils":233,"../../plot_api/plot_template":247,"../../plots/plots":299,"../color":82,"../drawing":104,"./constants":173,"d3":15}],176:[function(_dereq_,module,exports){
|
|
39548
39585
|
/**
|
|
39549
39586
|
* Copyright 2012-2020, Plotly, Inc.
|
|
39550
39587
|
* All rights reserved.
|
|
@@ -39567,7 +39604,7 @@ module.exports = {
|
|
|
39567
39604
|
draw: _dereq_('./draw')
|
|
39568
39605
|
};
|
|
39569
39606
|
|
|
39570
|
-
},{"./attributes":
|
|
39607
|
+
},{"./attributes":172,"./constants":173,"./defaults":174,"./draw":175}],177:[function(_dereq_,module,exports){
|
|
39571
39608
|
/**
|
|
39572
39609
|
* Copyright 2012-2020, Plotly, Inc.
|
|
39573
39610
|
* All rights reserved.
|
|
@@ -39835,7 +39872,7 @@ module.exports = {
|
|
|
39835
39872
|
draw: draw
|
|
39836
39873
|
};
|
|
39837
39874
|
|
|
39838
|
-
},{"../../constants/alignment":
|
|
39875
|
+
},{"../../constants/alignment":184,"../../constants/interactions":187,"../../lib":211,"../../lib/svg_text_utils":233,"../../plots/plots":299,"../../registry":308,"../color":82,"../drawing":104,"d3":15,"fast-isnumeric":17}],178:[function(_dereq_,module,exports){
|
|
39839
39876
|
/**
|
|
39840
39877
|
* Copyright 2012-2020, Plotly, Inc.
|
|
39841
39878
|
* All rights reserved.
|
|
@@ -40004,7 +40041,7 @@ module.exports = overrideAll(templatedArray('updatemenu', {
|
|
|
40004
40041
|
}
|
|
40005
40042
|
}), 'arraydraw', 'from-root');
|
|
40006
40043
|
|
|
40007
|
-
},{"../../lib/extend":
|
|
40044
|
+
},{"../../lib/extend":203,"../../plot_api/edit_types":240,"../../plot_api/plot_template":247,"../../plots/font_attributes":286,"../../plots/pad_attributes":298,"../color/attributes":81}],179:[function(_dereq_,module,exports){
|
|
40008
40045
|
/**
|
|
40009
40046
|
* Copyright 2012-2020, Plotly, Inc.
|
|
40010
40047
|
* All rights reserved.
|
|
@@ -40085,7 +40122,7 @@ module.exports = {
|
|
|
40085
40122
|
}
|
|
40086
40123
|
};
|
|
40087
40124
|
|
|
40088
|
-
},{}],
|
|
40125
|
+
},{}],180:[function(_dereq_,module,exports){
|
|
40089
40126
|
/**
|
|
40090
40127
|
* Copyright 2012-2020, Plotly, Inc.
|
|
40091
40128
|
* All rights reserved.
|
|
@@ -40168,7 +40205,7 @@ function buttonDefaults(buttonIn, buttonOut) {
|
|
|
40168
40205
|
}
|
|
40169
40206
|
}
|
|
40170
40207
|
|
|
40171
|
-
},{"../../lib":
|
|
40208
|
+
},{"../../lib":211,"../../plots/array_container_defaults":253,"./attributes":178,"./constants":179}],181:[function(_dereq_,module,exports){
|
|
40172
40209
|
/**
|
|
40173
40210
|
* Copyright 2012-2020, Plotly, Inc.
|
|
40174
40211
|
* All rights reserved.
|
|
@@ -40819,9 +40856,9 @@ function removeAllButtons(gButton, newMenuIndexAttr) {
|
|
|
40819
40856
|
.selectAll('g.' + constants.dropdownButtonClassName).remove();
|
|
40820
40857
|
}
|
|
40821
40858
|
|
|
40822
|
-
},{"../../constants/alignment":
|
|
40823
|
-
arguments[4][
|
|
40824
|
-
},{"./attributes":
|
|
40859
|
+
},{"../../constants/alignment":184,"../../lib":211,"../../lib/svg_text_utils":233,"../../plot_api/plot_template":247,"../../plots/plots":299,"../color":82,"../drawing":104,"./constants":179,"./scrollbox":183,"d3":15}],182:[function(_dereq_,module,exports){
|
|
40860
|
+
arguments[4][176][0].apply(exports,arguments)
|
|
40861
|
+
},{"./attributes":178,"./constants":179,"./defaults":180,"./draw":181,"dup":176}],183:[function(_dereq_,module,exports){
|
|
40825
40862
|
/**
|
|
40826
40863
|
* Copyright 2012-2020, Plotly, Inc.
|
|
40827
40864
|
* All rights reserved.
|
|
@@ -41286,7 +41323,7 @@ ScrollBox.prototype.setTranslate = function setTranslate(translateX, translateY)
|
|
|
41286
41323
|
}
|
|
41287
41324
|
};
|
|
41288
41325
|
|
|
41289
|
-
},{"../../lib":
|
|
41326
|
+
},{"../../lib":211,"../color":82,"../drawing":104,"d3":15}],184:[function(_dereq_,module,exports){
|
|
41290
41327
|
/**
|
|
41291
41328
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41292
41329
|
* All rights reserved.
|
|
@@ -41351,7 +41388,7 @@ module.exports = {
|
|
|
41351
41388
|
}
|
|
41352
41389
|
};
|
|
41353
41390
|
|
|
41354
|
-
},{}],
|
|
41391
|
+
},{}],185:[function(_dereq_,module,exports){
|
|
41355
41392
|
/**
|
|
41356
41393
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41357
41394
|
* All rights reserved.
|
|
@@ -41383,7 +41420,7 @@ module.exports = {
|
|
|
41383
41420
|
}
|
|
41384
41421
|
};
|
|
41385
41422
|
|
|
41386
|
-
},{}],
|
|
41423
|
+
},{}],186:[function(_dereq_,module,exports){
|
|
41387
41424
|
/**
|
|
41388
41425
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41389
41426
|
* All rights reserved.
|
|
@@ -41399,7 +41436,7 @@ module.exports = {
|
|
|
41399
41436
|
DATE_FORMAT_LINK: 'https://github.com/d3/d3-time-format#locale_format'
|
|
41400
41437
|
};
|
|
41401
41438
|
|
|
41402
|
-
},{}],
|
|
41439
|
+
},{}],187:[function(_dereq_,module,exports){
|
|
41403
41440
|
/**
|
|
41404
41441
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41405
41442
|
* All rights reserved.
|
|
@@ -41422,7 +41459,7 @@ module.exports = {
|
|
|
41422
41459
|
DESELECTDIM: 0.2
|
|
41423
41460
|
};
|
|
41424
41461
|
|
|
41425
|
-
},{}],
|
|
41462
|
+
},{}],188:[function(_dereq_,module,exports){
|
|
41426
41463
|
/**
|
|
41427
41464
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41428
41465
|
* All rights reserved.
|
|
@@ -41495,7 +41532,7 @@ module.exports = {
|
|
|
41495
41532
|
MINUS_SIGN: '\u2212'
|
|
41496
41533
|
};
|
|
41497
41534
|
|
|
41498
|
-
},{}],
|
|
41535
|
+
},{}],189:[function(_dereq_,module,exports){
|
|
41499
41536
|
/**
|
|
41500
41537
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41501
41538
|
* All rights reserved.
|
|
@@ -41519,7 +41556,7 @@ exports.svgAttrs = {
|
|
|
41519
41556
|
'xmlns:xlink': exports.xlink
|
|
41520
41557
|
};
|
|
41521
41558
|
|
|
41522
|
-
},{}],
|
|
41559
|
+
},{}],190:[function(_dereq_,module,exports){
|
|
41523
41560
|
/**
|
|
41524
41561
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41525
41562
|
* All rights reserved.
|
|
@@ -41605,7 +41642,7 @@ exports.Queue = _dereq_('./lib/queue');
|
|
|
41605
41642
|
// export d3 used in the bundle
|
|
41606
41643
|
exports.d3 = _dereq_('d3');
|
|
41607
41644
|
|
|
41608
|
-
},{"../build/plotcss":1,"./components/annotations":
|
|
41645
|
+
},{"../build/plotcss":1,"./components/annotations":75,"./components/annotations3d":80,"./components/colorbar":88,"./components/colorscale":94,"./components/errorbars":110,"./components/fx":122,"./components/grid":126,"./components/images":131,"./components/legend":139,"./components/rangeselector":150,"./components/rangeslider":157,"./components/shapes":171,"./components/sliders":176,"./components/updatemenus":182,"./fonts/mathjax_config":191,"./fonts/ploticon":192,"./lib/queue":226,"./locale-en":238,"./locale-en-us":237,"./plot_api":242,"./plot_api/plot_schema":246,"./plots/plots":299,"./registry":308,"./snapshot":313,"./traces/scatter":342,"./version":368,"d3":15,"es6-promise":16}],191:[function(_dereq_,module,exports){
|
|
41609
41646
|
/**
|
|
41610
41647
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41611
41648
|
* All rights reserved.
|
|
@@ -41636,7 +41673,7 @@ module.exports = function() {
|
|
|
41636
41673
|
}
|
|
41637
41674
|
};
|
|
41638
41675
|
|
|
41639
|
-
},{}],
|
|
41676
|
+
},{}],192:[function(_dereq_,module,exports){
|
|
41640
41677
|
/**
|
|
41641
41678
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41642
41679
|
* All rights reserved.
|
|
@@ -41816,7 +41853,7 @@ module.exports = {
|
|
|
41816
41853
|
}
|
|
41817
41854
|
};
|
|
41818
41855
|
|
|
41819
|
-
},{}],
|
|
41856
|
+
},{}],193:[function(_dereq_,module,exports){
|
|
41820
41857
|
/**
|
|
41821
41858
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41822
41859
|
* All rights reserved.
|
|
@@ -41880,7 +41917,7 @@ exports.isBottomAnchor = function isBottomAnchor(opts) {
|
|
|
41880
41917
|
);
|
|
41881
41918
|
};
|
|
41882
41919
|
|
|
41883
|
-
},{}],
|
|
41920
|
+
},{}],194:[function(_dereq_,module,exports){
|
|
41884
41921
|
/**
|
|
41885
41922
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41886
41923
|
* All rights reserved.
|
|
@@ -42121,7 +42158,7 @@ module.exports = {
|
|
|
42121
42158
|
pathAnnulus: pathAnnulus
|
|
42122
42159
|
};
|
|
42123
42160
|
|
|
42124
|
-
},{"./mod":
|
|
42161
|
+
},{"./mod":218}],195:[function(_dereq_,module,exports){
|
|
42125
42162
|
/**
|
|
42126
42163
|
* Copyright 2012-2020, Plotly, Inc.
|
|
42127
42164
|
* All rights reserved.
|
|
@@ -42278,7 +42315,7 @@ function _rowLength(z, fn, len0) {
|
|
|
42278
42315
|
return 0;
|
|
42279
42316
|
}
|
|
42280
42317
|
|
|
42281
|
-
},{}],
|
|
42318
|
+
},{}],196:[function(_dereq_,module,exports){
|
|
42282
42319
|
/**
|
|
42283
42320
|
* Copyright 2012-2020, Plotly, Inc.
|
|
42284
42321
|
* All rights reserved.
|
|
@@ -42311,7 +42348,7 @@ module.exports = function cleanNumber(v) {
|
|
|
42311
42348
|
return BADNUM;
|
|
42312
42349
|
};
|
|
42313
42350
|
|
|
42314
|
-
},{"../constants/numerical":
|
|
42351
|
+
},{"../constants/numerical":188,"fast-isnumeric":17}],197:[function(_dereq_,module,exports){
|
|
42315
42352
|
/**
|
|
42316
42353
|
* Copyright 2012-2020, Plotly, Inc.
|
|
42317
42354
|
* All rights reserved.
|
|
@@ -42339,7 +42376,7 @@ module.exports = function clearGlCanvases(gd) {
|
|
|
42339
42376
|
}
|
|
42340
42377
|
};
|
|
42341
42378
|
|
|
42342
|
-
},{}],
|
|
42379
|
+
},{}],198:[function(_dereq_,module,exports){
|
|
42343
42380
|
/**
|
|
42344
42381
|
* Copyright 2012-2020, Plotly, Inc.
|
|
42345
42382
|
* All rights reserved.
|
|
@@ -42362,7 +42399,7 @@ module.exports = function clearResponsive(gd) {
|
|
|
42362
42399
|
}
|
|
42363
42400
|
};
|
|
42364
42401
|
|
|
42365
|
-
},{}],
|
|
42402
|
+
},{}],199:[function(_dereq_,module,exports){
|
|
42366
42403
|
/**
|
|
42367
42404
|
* Copyright 2012-2020, Plotly, Inc.
|
|
42368
42405
|
* All rights reserved.
|
|
@@ -42826,7 +42863,7 @@ function validate(value, opts) {
|
|
|
42826
42863
|
}
|
|
42827
42864
|
exports.validate = validate;
|
|
42828
42865
|
|
|
42829
|
-
},{"../components/colorscale/scales":
|
|
42866
|
+
},{"../components/colorscale/scales":97,"../constants/interactions":187,"../plots/attributes":254,"./array":195,"./mod":218,"./nested_property":219,"./regex":227,"fast-isnumeric":17,"tinycolor2":64}],200:[function(_dereq_,module,exports){
|
|
42830
42867
|
/**
|
|
42831
42868
|
* Copyright 2012-2020, Plotly, Inc.
|
|
42832
42869
|
* All rights reserved.
|
|
@@ -43427,7 +43464,7 @@ exports.findExactDates = function(data, calendar) {
|
|
|
43427
43464
|
};
|
|
43428
43465
|
};
|
|
43429
43466
|
|
|
43430
|
-
},{"../constants/numerical":
|
|
43467
|
+
},{"../constants/numerical":188,"../registry":308,"./loggers":215,"./mod":218,"d3-time-format":13,"fast-isnumeric":17}],201:[function(_dereq_,module,exports){
|
|
43431
43468
|
/**
|
|
43432
43469
|
* Copyright 2012-2020, Plotly, Inc.
|
|
43433
43470
|
* All rights reserved.
|
|
@@ -43605,7 +43642,7 @@ module.exports = {
|
|
|
43605
43642
|
equalDomRects: equalDomRects
|
|
43606
43643
|
};
|
|
43607
43644
|
|
|
43608
|
-
},{"./loggers":
|
|
43645
|
+
},{"./loggers":215,"./matrix":217,"d3":15,"gl-mat4":33}],202:[function(_dereq_,module,exports){
|
|
43609
43646
|
/**
|
|
43610
43647
|
* Copyright 2012-2020, Plotly, Inc.
|
|
43611
43648
|
* All rights reserved.
|
|
@@ -43778,7 +43815,7 @@ var Events = {
|
|
|
43778
43815
|
|
|
43779
43816
|
module.exports = Events;
|
|
43780
43817
|
|
|
43781
|
-
},{"events":11}],
|
|
43818
|
+
},{"events":11}],203:[function(_dereq_,module,exports){
|
|
43782
43819
|
/**
|
|
43783
43820
|
* Copyright 2012-2020, Plotly, Inc.
|
|
43784
43821
|
* All rights reserved.
|
|
@@ -43892,7 +43929,7 @@ function _extend(inputs, isDeep, keepAllKeys, noArrayCopies) {
|
|
|
43892
43929
|
return target;
|
|
43893
43930
|
}
|
|
43894
43931
|
|
|
43895
|
-
},{"./is_plain_object.js":
|
|
43932
|
+
},{"./is_plain_object.js":212}],204:[function(_dereq_,module,exports){
|
|
43896
43933
|
/**
|
|
43897
43934
|
* Copyright 2012-2020, Plotly, Inc.
|
|
43898
43935
|
* All rights reserved.
|
|
@@ -43943,7 +43980,7 @@ module.exports = function filterUnique(array) {
|
|
|
43943
43980
|
return out;
|
|
43944
43981
|
};
|
|
43945
43982
|
|
|
43946
|
-
},{}],
|
|
43983
|
+
},{}],205:[function(_dereq_,module,exports){
|
|
43947
43984
|
/**
|
|
43948
43985
|
* Copyright 2012-2020, Plotly, Inc.
|
|
43949
43986
|
* All rights reserved.
|
|
@@ -43991,7 +44028,7 @@ function isCalcData(cont) {
|
|
|
43991
44028
|
);
|
|
43992
44029
|
}
|
|
43993
44030
|
|
|
43994
|
-
},{}],
|
|
44031
|
+
},{}],206:[function(_dereq_,module,exports){
|
|
43995
44032
|
/**
|
|
43996
44033
|
* Copyright 2012-2020, Plotly, Inc.
|
|
43997
44034
|
* All rights reserved.
|
|
@@ -44376,7 +44413,7 @@ module.exports = {
|
|
|
44376
44413
|
computeBbox: computeBbox
|
|
44377
44414
|
};
|
|
44378
44415
|
|
|
44379
|
-
},{"./identity":
|
|
44416
|
+
},{"./identity":209,"./is_plain_object":212,"./loggers":215,"./nested_property":219,"./polygon":223,"@turf/area":6,"@turf/bbox":7,"@turf/centroid":8,"country-regex":12,"d3":15}],207:[function(_dereq_,module,exports){
|
|
44380
44417
|
/**
|
|
44381
44418
|
* Copyright 2012-2020, Plotly, Inc.
|
|
44382
44419
|
* All rights reserved.
|
|
@@ -44493,7 +44530,7 @@ exports.makeBlank = function() {
|
|
|
44493
44530
|
};
|
|
44494
44531
|
};
|
|
44495
44532
|
|
|
44496
|
-
},{"../constants/numerical":
|
|
44533
|
+
},{"../constants/numerical":188}],208:[function(_dereq_,module,exports){
|
|
44497
44534
|
/**
|
|
44498
44535
|
* Copyright 2012-2020, Plotly, Inc.
|
|
44499
44536
|
* All rights reserved.
|
|
@@ -44737,7 +44774,7 @@ exports.findPointOnPath = function findPointOnPath(path, val, coord, opts) {
|
|
|
44737
44774
|
return pt;
|
|
44738
44775
|
};
|
|
44739
44776
|
|
|
44740
|
-
},{"./mod":
|
|
44777
|
+
},{"./mod":218}],209:[function(_dereq_,module,exports){
|
|
44741
44778
|
/**
|
|
44742
44779
|
* Copyright 2012-2020, Plotly, Inc.
|
|
44743
44780
|
* All rights reserved.
|
|
@@ -44753,7 +44790,7 @@ exports.findPointOnPath = function findPointOnPath(path, val, coord, opts) {
|
|
|
44753
44790
|
|
|
44754
44791
|
module.exports = function identity(d) { return d; };
|
|
44755
44792
|
|
|
44756
|
-
},{}],
|
|
44793
|
+
},{}],210:[function(_dereq_,module,exports){
|
|
44757
44794
|
/**
|
|
44758
44795
|
* Copyright 2012-2020, Plotly, Inc.
|
|
44759
44796
|
* All rights reserved.
|
|
@@ -44795,7 +44832,7 @@ module.exports = function incrementNumeric(x, delta) {
|
|
|
44795
44832
|
return newX;
|
|
44796
44833
|
};
|
|
44797
44834
|
|
|
44798
|
-
},{}],
|
|
44835
|
+
},{}],211:[function(_dereq_,module,exports){
|
|
44799
44836
|
/**
|
|
44800
44837
|
* Copyright 2012-2020, Plotly, Inc.
|
|
44801
44838
|
* All rights reserved.
|
|
@@ -44952,6 +44989,7 @@ lib.getElementAndAncestors = domModule.getElementAndAncestors;
|
|
|
44952
44989
|
lib.equalDomRects = domModule.equalDomRects;
|
|
44953
44990
|
|
|
44954
44991
|
lib.clearResponsive = _dereq_('./clear_responsive');
|
|
44992
|
+
lib.preserveDrawingBuffer = _dereq_('./preserve_drawing_buffer');
|
|
44955
44993
|
|
|
44956
44994
|
lib.makeTraceGroups = _dereq_('./make_trace_groups');
|
|
44957
44995
|
|
|
@@ -45662,7 +45700,7 @@ lib.objectFromPath = function(path, value) {
|
|
|
45662
45700
|
* lib.expandObjectPaths({'foo[1].bar': 10, 'foo[0].bar': 20});
|
|
45663
45701
|
* => { foo: [{bar: 10}, {bar: 20}] }
|
|
45664
45702
|
*
|
|
45665
|
-
* It does NOT, however, merge
|
|
45703
|
+
* It does NOT, however, merge multiple multiply-nested arrays::
|
|
45666
45704
|
*
|
|
45667
45705
|
* lib.expandObjectPaths({'marker[1].range[1]': 5, 'marker[1].range[0]': 4})
|
|
45668
45706
|
* => { marker: [null, {range: 4}] }
|
|
@@ -46077,7 +46115,7 @@ lib.join2 = function(arr, mainSeparator, lastSeparator) {
|
|
|
46077
46115
|
return arr.join(mainSeparator);
|
|
46078
46116
|
};
|
|
46079
46117
|
|
|
46080
|
-
},{"../constants/numerical":
|
|
46118
|
+
},{"../constants/numerical":188,"./anchor_utils":193,"./angles":194,"./array":195,"./clean_number":196,"./clear_responsive":198,"./coerce":199,"./dates":200,"./dom":201,"./extend":203,"./filter_unique":204,"./filter_visible":205,"./geometry2d":208,"./identity":209,"./increment":210,"./is_plain_object":212,"./keyed_container":213,"./localize":214,"./loggers":215,"./make_trace_groups":216,"./matrix":217,"./mod":218,"./nested_property":219,"./noop":220,"./notifier":221,"./preserve_drawing_buffer":224,"./push_unique":225,"./regex":227,"./relative_attr":228,"./relink_private":229,"./search":230,"./stats":232,"./throttle":234,"./to_log_range":235,"d3":15,"d3-time-format":13,"fast-isnumeric":17}],212:[function(_dereq_,module,exports){
|
|
46081
46119
|
/**
|
|
46082
46120
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46083
46121
|
* All rights reserved.
|
|
@@ -46105,7 +46143,7 @@ module.exports = function isPlainObject(obj) {
|
|
|
46105
46143
|
);
|
|
46106
46144
|
};
|
|
46107
46145
|
|
|
46108
|
-
},{}],
|
|
46146
|
+
},{}],213:[function(_dereq_,module,exports){
|
|
46109
46147
|
/**
|
|
46110
46148
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46111
46149
|
* All rights reserved.
|
|
@@ -46298,7 +46336,7 @@ module.exports = function keyedContainer(baseObj, path, keyName, valueName) {
|
|
|
46298
46336
|
return obj;
|
|
46299
46337
|
};
|
|
46300
46338
|
|
|
46301
|
-
},{"./nested_property":
|
|
46339
|
+
},{"./nested_property":219}],214:[function(_dereq_,module,exports){
|
|
46302
46340
|
/**
|
|
46303
46341
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46304
46342
|
* All rights reserved.
|
|
@@ -46354,7 +46392,7 @@ module.exports = function localize(gd, s) {
|
|
|
46354
46392
|
return s;
|
|
46355
46393
|
};
|
|
46356
46394
|
|
|
46357
|
-
},{"../registry":
|
|
46395
|
+
},{"../registry":308}],215:[function(_dereq_,module,exports){
|
|
46358
46396
|
/**
|
|
46359
46397
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46360
46398
|
* All rights reserved.
|
|
@@ -46464,7 +46502,7 @@ function apply(f, args) {
|
|
|
46464
46502
|
}
|
|
46465
46503
|
}
|
|
46466
46504
|
|
|
46467
|
-
},{"../plot_api/plot_config":
|
|
46505
|
+
},{"../plot_api/plot_config":245,"./notifier":221}],216:[function(_dereq_,module,exports){
|
|
46468
46506
|
/**
|
|
46469
46507
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46470
46508
|
* All rights reserved.
|
|
@@ -46507,7 +46545,7 @@ module.exports = function makeTraceGroups(traceLayer, cdModule, cls) {
|
|
|
46507
46545
|
return traces;
|
|
46508
46546
|
};
|
|
46509
46547
|
|
|
46510
|
-
},{"d3":15}],
|
|
46548
|
+
},{"d3":15}],217:[function(_dereq_,module,exports){
|
|
46511
46549
|
/**
|
|
46512
46550
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46513
46551
|
* All rights reserved.
|
|
@@ -46659,7 +46697,7 @@ exports.inverseTransformMatrix = function(m) {
|
|
|
46659
46697
|
];
|
|
46660
46698
|
};
|
|
46661
46699
|
|
|
46662
|
-
},{"gl-mat4":33}],
|
|
46700
|
+
},{"gl-mat4":33}],218:[function(_dereq_,module,exports){
|
|
46663
46701
|
/**
|
|
46664
46702
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46665
46703
|
* All rights reserved.
|
|
@@ -46694,7 +46732,7 @@ module.exports = {
|
|
|
46694
46732
|
modHalf: modHalf
|
|
46695
46733
|
};
|
|
46696
46734
|
|
|
46697
|
-
},{}],
|
|
46735
|
+
},{}],219:[function(_dereq_,module,exports){
|
|
46698
46736
|
/**
|
|
46699
46737
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46700
46738
|
* All rights reserved.
|
|
@@ -46940,7 +46978,7 @@ function badContainer(container, propStr, propParts) {
|
|
|
46940
46978
|
};
|
|
46941
46979
|
}
|
|
46942
46980
|
|
|
46943
|
-
},{"./array":
|
|
46981
|
+
},{"./array":195,"fast-isnumeric":17}],220:[function(_dereq_,module,exports){
|
|
46944
46982
|
/**
|
|
46945
46983
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46946
46984
|
* All rights reserved.
|
|
@@ -46956,7 +46994,7 @@ function badContainer(container, propStr, propParts) {
|
|
|
46956
46994
|
|
|
46957
46995
|
module.exports = function noop() {};
|
|
46958
46996
|
|
|
46959
|
-
},{}],
|
|
46997
|
+
},{}],221:[function(_dereq_,module,exports){
|
|
46960
46998
|
/**
|
|
46961
46999
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46962
47000
|
* All rights reserved.
|
|
@@ -47044,7 +47082,7 @@ module.exports = function(text, displayLength) {
|
|
|
47044
47082
|
});
|
|
47045
47083
|
};
|
|
47046
47084
|
|
|
47047
|
-
},{"d3":15,"fast-isnumeric":17}],
|
|
47085
|
+
},{"d3":15,"fast-isnumeric":17}],222:[function(_dereq_,module,exports){
|
|
47048
47086
|
/**
|
|
47049
47087
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47050
47088
|
* All rights reserved.
|
|
@@ -47092,7 +47130,7 @@ module.exports = function overrideCursor(el3, csr) {
|
|
|
47092
47130
|
}
|
|
47093
47131
|
};
|
|
47094
47132
|
|
|
47095
|
-
},{"./setcursor":
|
|
47133
|
+
},{"./setcursor":231}],223:[function(_dereq_,module,exports){
|
|
47096
47134
|
/**
|
|
47097
47135
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47098
47136
|
* All rights reserved.
|
|
@@ -47344,7 +47382,77 @@ polygon.filter = function filter(pts, tolerance) {
|
|
|
47344
47382
|
};
|
|
47345
47383
|
};
|
|
47346
47384
|
|
|
47347
|
-
},{"../constants/numerical":
|
|
47385
|
+
},{"../constants/numerical":188,"./matrix":217}],224:[function(_dereq_,module,exports){
|
|
47386
|
+
/**
|
|
47387
|
+
* Copyright 2012-2020, Plotly, Inc.
|
|
47388
|
+
* All rights reserved.
|
|
47389
|
+
*
|
|
47390
|
+
* This source code is licensed under the MIT license found in the
|
|
47391
|
+
* LICENSE file in the root directory of this source tree.
|
|
47392
|
+
*/
|
|
47393
|
+
|
|
47394
|
+
'use strict';
|
|
47395
|
+
|
|
47396
|
+
var isNumeric = _dereq_('fast-isnumeric');
|
|
47397
|
+
var isMobileOrTablet = _dereq_('is-mobile');
|
|
47398
|
+
|
|
47399
|
+
module.exports = function preserveDrawingBuffer(opts) {
|
|
47400
|
+
var ua;
|
|
47401
|
+
|
|
47402
|
+
if(opts && opts.hasOwnProperty('userAgent')) {
|
|
47403
|
+
ua = opts.userAgent;
|
|
47404
|
+
} else {
|
|
47405
|
+
ua = getUserAgent();
|
|
47406
|
+
}
|
|
47407
|
+
|
|
47408
|
+
if(typeof ua !== 'string') return true;
|
|
47409
|
+
|
|
47410
|
+
var enable = isMobileOrTablet({
|
|
47411
|
+
ua: { headers: {'user-agent': ua }},
|
|
47412
|
+
tablet: true,
|
|
47413
|
+
featureDetect: false
|
|
47414
|
+
});
|
|
47415
|
+
|
|
47416
|
+
if(!enable) {
|
|
47417
|
+
var allParts = ua.split(' ');
|
|
47418
|
+
for(var i = 1; i < allParts.length; i++) {
|
|
47419
|
+
var part = allParts[i];
|
|
47420
|
+
if(part.indexOf('Safari') !== -1) {
|
|
47421
|
+
// find Safari version
|
|
47422
|
+
for(var k = i - 1; k > -1; k--) {
|
|
47423
|
+
var prevPart = allParts[k];
|
|
47424
|
+
if(prevPart.substr(0, 8) === 'Version/') {
|
|
47425
|
+
var v = prevPart.substr(8).split('.')[0];
|
|
47426
|
+
if(isNumeric(v)) v = +v;
|
|
47427
|
+
if(v >= 13) return true;
|
|
47428
|
+
}
|
|
47429
|
+
}
|
|
47430
|
+
}
|
|
47431
|
+
}
|
|
47432
|
+
}
|
|
47433
|
+
|
|
47434
|
+
return enable;
|
|
47435
|
+
};
|
|
47436
|
+
|
|
47437
|
+
function getUserAgent() {
|
|
47438
|
+
// similar to https://github.com/juliangruber/is-mobile/blob/91ca39ccdd4cfc5edfb5391e2515b923a730fbea/index.js#L14-L17
|
|
47439
|
+
var ua;
|
|
47440
|
+
if(typeof navigator !== 'undefined') {
|
|
47441
|
+
ua = navigator.userAgent;
|
|
47442
|
+
}
|
|
47443
|
+
|
|
47444
|
+
if(
|
|
47445
|
+
ua &&
|
|
47446
|
+
ua.headers &&
|
|
47447
|
+
typeof ua.headers['user-agent'] === 'string'
|
|
47448
|
+
) {
|
|
47449
|
+
ua = ua.headers['user-agent'];
|
|
47450
|
+
}
|
|
47451
|
+
|
|
47452
|
+
return ua;
|
|
47453
|
+
}
|
|
47454
|
+
|
|
47455
|
+
},{"fast-isnumeric":17,"is-mobile":51}],225:[function(_dereq_,module,exports){
|
|
47348
47456
|
/**
|
|
47349
47457
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47350
47458
|
* All rights reserved.
|
|
@@ -47382,7 +47490,7 @@ module.exports = function pushUnique(array, item) {
|
|
|
47382
47490
|
return array;
|
|
47383
47491
|
};
|
|
47384
47492
|
|
|
47385
|
-
},{}],
|
|
47493
|
+
},{}],226:[function(_dereq_,module,exports){
|
|
47386
47494
|
/**
|
|
47387
47495
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47388
47496
|
* All rights reserved.
|
|
@@ -47590,7 +47698,7 @@ queue.plotDo = function(gd, func, args) {
|
|
|
47590
47698
|
|
|
47591
47699
|
module.exports = queue;
|
|
47592
47700
|
|
|
47593
|
-
},{"../lib":
|
|
47701
|
+
},{"../lib":211,"../plot_api/plot_config":245}],227:[function(_dereq_,module,exports){
|
|
47594
47702
|
/**
|
|
47595
47703
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47596
47704
|
* All rights reserved.
|
|
@@ -47620,7 +47728,7 @@ exports.counter = function(head, tail, openEnded, matchBeginning) {
|
|
|
47620
47728
|
return new RegExp(startWithPrefix + head + '([2-9]|[1-9][0-9]+)?' + fullTail);
|
|
47621
47729
|
};
|
|
47622
47730
|
|
|
47623
|
-
},{}],
|
|
47731
|
+
},{}],228:[function(_dereq_,module,exports){
|
|
47624
47732
|
/**
|
|
47625
47733
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47626
47734
|
* All rights reserved.
|
|
@@ -47673,7 +47781,7 @@ module.exports = function(baseAttr, relativeAttr) {
|
|
|
47673
47781
|
return baseAttr + relativeAttr;
|
|
47674
47782
|
};
|
|
47675
47783
|
|
|
47676
|
-
},{}],
|
|
47784
|
+
},{}],229:[function(_dereq_,module,exports){
|
|
47677
47785
|
/**
|
|
47678
47786
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47679
47787
|
* All rights reserved.
|
|
@@ -47730,7 +47838,7 @@ module.exports = function relinkPrivateKeys(toContainer, fromContainer) {
|
|
|
47730
47838
|
}
|
|
47731
47839
|
};
|
|
47732
47840
|
|
|
47733
|
-
},{"./array":
|
|
47841
|
+
},{"./array":195,"./is_plain_object":212}],230:[function(_dereq_,module,exports){
|
|
47734
47842
|
/**
|
|
47735
47843
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47736
47844
|
* All rights reserved.
|
|
@@ -47935,7 +48043,7 @@ exports.findIndexOfMin = function(arr, fn) {
|
|
|
47935
48043
|
return ind;
|
|
47936
48044
|
};
|
|
47937
48045
|
|
|
47938
|
-
},{"../constants/numerical":
|
|
48046
|
+
},{"../constants/numerical":188,"./identity":209,"./loggers":215,"fast-isnumeric":17}],231:[function(_dereq_,module,exports){
|
|
47939
48047
|
/**
|
|
47940
48048
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47941
48049
|
* All rights reserved.
|
|
@@ -47958,7 +48066,7 @@ module.exports = function setCursor(el3, csr) {
|
|
|
47958
48066
|
if(csr) el3.classed('cursor-' + csr, true);
|
|
47959
48067
|
};
|
|
47960
48068
|
|
|
47961
|
-
},{}],
|
|
48069
|
+
},{}],232:[function(_dereq_,module,exports){
|
|
47962
48070
|
/**
|
|
47963
48071
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47964
48072
|
* All rights reserved.
|
|
@@ -48068,7 +48176,7 @@ exports.interp = function(arr, n) {
|
|
|
48068
48176
|
return frac * arr[Math.ceil(n)] + (1 - frac) * arr[Math.floor(n)];
|
|
48069
48177
|
};
|
|
48070
48178
|
|
|
48071
|
-
},{"./array":
|
|
48179
|
+
},{"./array":195,"fast-isnumeric":17}],233:[function(_dereq_,module,exports){
|
|
48072
48180
|
/**
|
|
48073
48181
|
* Copyright 2012-2020, Plotly, Inc.
|
|
48074
48182
|
* All rights reserved.
|
|
@@ -48959,7 +49067,7 @@ exports.makeEditable = function(context, options) {
|
|
|
48959
49067
|
return d3.rebind(context, dispatch, 'on');
|
|
48960
49068
|
};
|
|
48961
49069
|
|
|
48962
|
-
},{"../constants/alignment":
|
|
49070
|
+
},{"../constants/alignment":184,"../constants/xmlns_namespaces":189,"../lib":211,"d3":15}],234:[function(_dereq_,module,exports){
|
|
48963
49071
|
/**
|
|
48964
49072
|
* Copyright 2012-2020, Plotly, Inc.
|
|
48965
49073
|
* All rights reserved.
|
|
@@ -49062,7 +49170,7 @@ function _clearTimeout(cache) {
|
|
|
49062
49170
|
}
|
|
49063
49171
|
}
|
|
49064
49172
|
|
|
49065
|
-
},{}],
|
|
49173
|
+
},{}],235:[function(_dereq_,module,exports){
|
|
49066
49174
|
/**
|
|
49067
49175
|
* Copyright 2012-2020, Plotly, Inc.
|
|
49068
49176
|
* All rights reserved.
|
|
@@ -49090,7 +49198,7 @@ module.exports = function toLogRange(val, range) {
|
|
|
49090
49198
|
return newVal;
|
|
49091
49199
|
};
|
|
49092
49200
|
|
|
49093
|
-
},{"fast-isnumeric":17}],
|
|
49201
|
+
},{"fast-isnumeric":17}],236:[function(_dereq_,module,exports){
|
|
49094
49202
|
/**
|
|
49095
49203
|
* Copyright 2012-2020, Plotly, Inc.
|
|
49096
49204
|
* All rights reserved.
|
|
@@ -49124,7 +49232,7 @@ topojsonUtils.getTopojsonFeatures = function(trace, topojson) {
|
|
|
49124
49232
|
return topojsonFeature(topojson, obj).features;
|
|
49125
49233
|
};
|
|
49126
49234
|
|
|
49127
|
-
},{"../plots/geo/constants":
|
|
49235
|
+
},{"../plots/geo/constants":288,"topojson-client":65}],237:[function(_dereq_,module,exports){
|
|
49128
49236
|
/**
|
|
49129
49237
|
* Copyright 2012-2020, Plotly, Inc.
|
|
49130
49238
|
* All rights reserved.
|
|
@@ -49146,7 +49254,7 @@ module.exports = {
|
|
|
49146
49254
|
}
|
|
49147
49255
|
};
|
|
49148
49256
|
|
|
49149
|
-
},{}],
|
|
49257
|
+
},{}],238:[function(_dereq_,module,exports){
|
|
49150
49258
|
/**
|
|
49151
49259
|
* Copyright 2012-2020, Plotly, Inc.
|
|
49152
49260
|
* All rights reserved.
|
|
@@ -49189,7 +49297,7 @@ module.exports = {
|
|
|
49189
49297
|
}
|
|
49190
49298
|
};
|
|
49191
49299
|
|
|
49192
|
-
},{}],
|
|
49300
|
+
},{}],239:[function(_dereq_,module,exports){
|
|
49193
49301
|
/**
|
|
49194
49302
|
* Copyright 2012-2020, Plotly, Inc.
|
|
49195
49303
|
* All rights reserved.
|
|
@@ -49247,7 +49355,7 @@ module.exports = function containerArrayMatch(astr) {
|
|
|
49247
49355
|
return {array: arrayStr, index: Number(match[1]), property: match[3] || ''};
|
|
49248
49356
|
};
|
|
49249
49357
|
|
|
49250
|
-
},{"../registry":
|
|
49358
|
+
},{"../registry":308}],240:[function(_dereq_,module,exports){
|
|
49251
49359
|
/**
|
|
49252
49360
|
* Copyright 2012-2020, Plotly, Inc.
|
|
49253
49361
|
* All rights reserved.
|
|
@@ -49372,7 +49480,7 @@ function overrideOne(attr, editTypeOverride, overrideContainers, key) {
|
|
|
49372
49480
|
}
|
|
49373
49481
|
}
|
|
49374
49482
|
|
|
49375
|
-
},{"../lib":
|
|
49483
|
+
},{"../lib":211}],241:[function(_dereq_,module,exports){
|
|
49376
49484
|
/**
|
|
49377
49485
|
* Copyright 2012-2020, Plotly, Inc.
|
|
49378
49486
|
* All rights reserved.
|
|
@@ -50074,7 +50182,7 @@ exports.clearAxisTypes = function(gd, traces, layoutUpdate) {
|
|
|
50074
50182
|
}
|
|
50075
50183
|
};
|
|
50076
50184
|
|
|
50077
|
-
},{"../components/color":
|
|
50185
|
+
},{"../components/color":82,"../lib":211,"../plots/cartesian/axis_ids":261,"../plots/plots":299,"../registry":308,"fast-isnumeric":17,"gl-mat4/fromQuat":23}],242:[function(_dereq_,module,exports){
|
|
50078
50186
|
/**
|
|
50079
50187
|
* Copyright 2012-2020, Plotly, Inc.
|
|
50080
50188
|
* All rights reserved.
|
|
@@ -50117,7 +50225,7 @@ var templateApi = _dereq_('./template_api');
|
|
|
50117
50225
|
exports.makeTemplate = templateApi.makeTemplate;
|
|
50118
50226
|
exports.validateTemplate = templateApi.validateTemplate;
|
|
50119
50227
|
|
|
50120
|
-
},{"../snapshot/download":
|
|
50228
|
+
},{"../snapshot/download":310,"./plot_api":244,"./template_api":249,"./to_image":250,"./validate":251}],243:[function(_dereq_,module,exports){
|
|
50121
50229
|
/**
|
|
50122
50230
|
* Copyright 2012-2020, Plotly, Inc.
|
|
50123
50231
|
* All rights reserved.
|
|
@@ -50330,7 +50438,7 @@ exports.applyContainerArrayChanges = function applyContainerArrayChanges(gd, np,
|
|
|
50330
50438
|
return true;
|
|
50331
50439
|
};
|
|
50332
50440
|
|
|
50333
|
-
},{"../lib/is_plain_object":
|
|
50441
|
+
},{"../lib/is_plain_object":212,"../lib/loggers":215,"../lib/noop":220,"../lib/search":230,"../registry":308,"./container_array_match":239}],244:[function(_dereq_,module,exports){
|
|
50334
50442
|
/**
|
|
50335
50443
|
* Copyright 2012-2020, Plotly, Inc.
|
|
50336
50444
|
* All rights reserved.
|
|
@@ -52281,7 +52389,9 @@ function axRangeSupplyDefaultsByPass(gd, flags, specs) {
|
|
|
52281
52389
|
var axIn = gd.layout[axName];
|
|
52282
52390
|
var axOut = fullLayout[axName];
|
|
52283
52391
|
axOut.autorange = axIn.autorange;
|
|
52284
|
-
|
|
52392
|
+
if(axIn.range) {
|
|
52393
|
+
axOut.range = axIn.range.slice();
|
|
52394
|
+
}
|
|
52285
52395
|
axOut.cleanRange();
|
|
52286
52396
|
|
|
52287
52397
|
if(axOut._matchGroup) {
|
|
@@ -53068,16 +53178,6 @@ function react(gd, data, layout, config) {
|
|
|
53068
53178
|
|
|
53069
53179
|
applyUIRevisions(gd.data, gd.layout, oldFullData, oldFullLayout);
|
|
53070
53180
|
|
|
53071
|
-
var allNames = Object.getOwnPropertyNames(oldFullLayout);
|
|
53072
|
-
for(var q = 0; q < allNames.length; q++) {
|
|
53073
|
-
var name = allNames[q];
|
|
53074
|
-
var start = name.substring(0, 5);
|
|
53075
|
-
if(start === 'xaxis' || start === 'yaxis') {
|
|
53076
|
-
var emptyCategories = oldFullLayout[name]._emptyCategories;
|
|
53077
|
-
if(emptyCategories) emptyCategories();
|
|
53078
|
-
}
|
|
53079
|
-
}
|
|
53080
|
-
|
|
53081
53181
|
// "true" skips updating calcdata and remapping arrays from calcTransforms,
|
|
53082
53182
|
// which supplyDefaults usually does at the end, but we may need to NOT do
|
|
53083
53183
|
// if the diff (which we haven't determined yet) says we'll recalc
|
|
@@ -53103,10 +53203,22 @@ function react(gd, data, layout, config) {
|
|
|
53103
53203
|
|
|
53104
53204
|
if(updateAutosize(gd)) relayoutFlags.layoutReplot = true;
|
|
53105
53205
|
|
|
53106
|
-
// clear calcdata if required
|
|
53107
|
-
if(restyleFlags.calc || relayoutFlags.calc)
|
|
53206
|
+
// clear calcdata and empty categories if required
|
|
53207
|
+
if(restyleFlags.calc || relayoutFlags.calc) {
|
|
53208
|
+
gd.calcdata = undefined;
|
|
53209
|
+
var allNames = Object.getOwnPropertyNames(newFullLayout);
|
|
53210
|
+
for(var q = 0; q < allNames.length; q++) {
|
|
53211
|
+
var name = allNames[q];
|
|
53212
|
+
var start = name.substring(0, 5);
|
|
53213
|
+
if(start === 'xaxis' || start === 'yaxis') {
|
|
53214
|
+
var emptyCategories = newFullLayout[name]._emptyCategories;
|
|
53215
|
+
if(emptyCategories) emptyCategories();
|
|
53216
|
+
}
|
|
53217
|
+
}
|
|
53108
53218
|
// otherwise do the calcdata updates and calcTransform array remaps that we skipped earlier
|
|
53109
|
-
else
|
|
53219
|
+
} else {
|
|
53220
|
+
Plots.supplyDefaultsUpdateCalc(gd.calcdata, newFullData);
|
|
53221
|
+
}
|
|
53110
53222
|
|
|
53111
53223
|
// Note: what restyle/relayout use impliedEdits and clearAxisTypes for
|
|
53112
53224
|
// must be handled by the user when using Plotly.react.
|
|
@@ -53560,7 +53672,7 @@ function animate(gd, frameOrGroupNameOrFrameList, animationOpts) {
|
|
|
53560
53672
|
}
|
|
53561
53673
|
|
|
53562
53674
|
// Execute a callback after the wrapper function has been called n times.
|
|
53563
|
-
// This is used to defer the resolution until a transition has
|
|
53675
|
+
// This is used to defer the resolution until a transition has resolved *and*
|
|
53564
53676
|
// the frame has completed. If it's not done this way, then we get a race
|
|
53565
53677
|
// condition in which the animation might resolve before a transition is complete
|
|
53566
53678
|
// or vice versa.
|
|
@@ -54256,7 +54368,7 @@ exports._guiUpdate = guiEdit(update);
|
|
|
54256
54368
|
|
|
54257
54369
|
exports._storeDirectGUIEdit = _storeDirectGUIEdit;
|
|
54258
54370
|
|
|
54259
|
-
},{"../components/color":
|
|
54371
|
+
},{"../components/color":82,"../components/drawing":104,"../constants/xmlns_namespaces":189,"../lib":211,"../lib/events":202,"../lib/queue":226,"../lib/svg_text_utils":233,"../plots/cartesian/axes":258,"../plots/cartesian/constants":264,"../plots/cartesian/graph_interact":267,"../plots/cartesian/select":277,"../plots/plots":299,"../plots/polar/legacy":302,"../registry":308,"./edit_types":240,"./helpers":241,"./manage_arrays":243,"./plot_config":245,"./plot_schema":246,"./subroutines":248,"d3":15,"fast-isnumeric":17,"has-hover":48}],245:[function(_dereq_,module,exports){
|
|
54260
54372
|
/**
|
|
54261
54373
|
* Copyright 2012-2020, Plotly, Inc.
|
|
54262
54374
|
* All rights reserved.
|
|
@@ -54571,7 +54683,7 @@ module.exports = {
|
|
|
54571
54683
|
dfltConfig: dfltConfig
|
|
54572
54684
|
};
|
|
54573
54685
|
|
|
54574
|
-
},{}],
|
|
54686
|
+
},{}],246:[function(_dereq_,module,exports){
|
|
54575
54687
|
/**
|
|
54576
54688
|
* Copyright 2012-2020, Plotly, Inc.
|
|
54577
54689
|
* All rights reserved.
|
|
@@ -55282,7 +55394,7 @@ function insertAttrs(baseAttrs, newAttrs, astr) {
|
|
|
55282
55394
|
np.set(extendDeepAll(np.get() || {}, newAttrs));
|
|
55283
55395
|
}
|
|
55284
55396
|
|
|
55285
|
-
},{"../lib":
|
|
55397
|
+
},{"../lib":211,"../plots/animation_attributes":252,"../plots/attributes":254,"../plots/frame_attributes":287,"../plots/layout_attributes":297,"../plots/polar/legacy/area_attributes":300,"../plots/polar/legacy/axis_attributes":301,"../registry":308,"./edit_types":240,"./plot_config":245}],247:[function(_dereq_,module,exports){
|
|
55286
55398
|
/**
|
|
55287
55399
|
* Copyright 2012-2020, Plotly, Inc.
|
|
55288
55400
|
* All rights reserved.
|
|
@@ -55594,7 +55706,7 @@ exports.arrayEditor = function(parentIn, containerStr, itemOut) {
|
|
|
55594
55706
|
};
|
|
55595
55707
|
};
|
|
55596
55708
|
|
|
55597
|
-
},{"../lib":
|
|
55709
|
+
},{"../lib":211,"../plots/attributes":254}],248:[function(_dereq_,module,exports){
|
|
55598
55710
|
/**
|
|
55599
55711
|
* Copyright 2012-2020, Plotly, Inc.
|
|
55600
55712
|
* All rights reserved.
|
|
@@ -56318,7 +56430,7 @@ exports.drawMarginPushers = function(gd) {
|
|
|
56318
56430
|
Registry.getComponentMethod('colorbar', 'draw')(gd);
|
|
56319
56431
|
};
|
|
56320
56432
|
|
|
56321
|
-
},{"../components/color":
|
|
56433
|
+
},{"../components/color":82,"../components/drawing":104,"../components/modebar":142,"../components/titles":177,"../constants/alignment":184,"../lib":211,"../lib/clear_gl_canvases":197,"../plots/cartesian/autorange":257,"../plots/cartesian/axes":258,"../plots/cartesian/constraints":265,"../plots/plots":299,"../registry":308,"d3":15}],249:[function(_dereq_,module,exports){
|
|
56322
56434
|
/**
|
|
56323
56435
|
* Copyright 2012-2020, Plotly, Inc.
|
|
56324
56436
|
* All rights reserved.
|
|
@@ -56780,7 +56892,7 @@ function format(opts) {
|
|
|
56780
56892
|
return opts;
|
|
56781
56893
|
}
|
|
56782
56894
|
|
|
56783
|
-
},{"../lib":
|
|
56895
|
+
},{"../lib":211,"../plots/attributes":254,"../plots/plots":299,"./plot_config":245,"./plot_schema":246,"./plot_template":247}],250:[function(_dereq_,module,exports){
|
|
56784
56896
|
/**
|
|
56785
56897
|
* Copyright 2012-2020, Plotly, Inc.
|
|
56786
56898
|
* All rights reserved.
|
|
@@ -57001,7 +57113,7 @@ function toImage(gd, opts) {
|
|
|
57001
57113
|
|
|
57002
57114
|
module.exports = toImage;
|
|
57003
57115
|
|
|
57004
|
-
},{"../lib":
|
|
57116
|
+
},{"../lib":211,"../plots/plots":299,"../snapshot/helpers":312,"../snapshot/svgtoimg":314,"../snapshot/tosvg":316,"../version":368,"./plot_api":244,"fast-isnumeric":17}],251:[function(_dereq_,module,exports){
|
|
57005
57117
|
/**
|
|
57006
57118
|
* Copyright 2012-2020, Plotly, Inc.
|
|
57007
57119
|
* All rights reserved.
|
|
@@ -57432,7 +57544,7 @@ function convertPathToAttributeString(path) {
|
|
|
57432
57544
|
return astr;
|
|
57433
57545
|
}
|
|
57434
57546
|
|
|
57435
|
-
},{"../lib":
|
|
57547
|
+
},{"../lib":211,"../plots/plots":299,"./plot_config":245,"./plot_schema":246}],252:[function(_dereq_,module,exports){
|
|
57436
57548
|
/**
|
|
57437
57549
|
* Copyright 2012-2020, Plotly, Inc.
|
|
57438
57550
|
* All rights reserved.
|
|
@@ -57544,7 +57656,7 @@ module.exports = {
|
|
|
57544
57656
|
}
|
|
57545
57657
|
};
|
|
57546
57658
|
|
|
57547
|
-
},{}],
|
|
57659
|
+
},{}],253:[function(_dereq_,module,exports){
|
|
57548
57660
|
/**
|
|
57549
57661
|
* Copyright 2012-2020, Plotly, Inc.
|
|
57550
57662
|
* All rights reserved.
|
|
@@ -57639,7 +57751,7 @@ module.exports = function handleArrayContainerDefaults(parentObjIn, parentObjOut
|
|
|
57639
57751
|
return contOut;
|
|
57640
57752
|
};
|
|
57641
57753
|
|
|
57642
|
-
},{"../lib":
|
|
57754
|
+
},{"../lib":211,"../plot_api/plot_template":247}],254:[function(_dereq_,module,exports){
|
|
57643
57755
|
/**
|
|
57644
57756
|
* Copyright 2012-2020, Plotly, Inc.
|
|
57645
57757
|
* All rights reserved.
|
|
@@ -57780,7 +57892,7 @@ module.exports = {
|
|
|
57780
57892
|
}
|
|
57781
57893
|
};
|
|
57782
57894
|
|
|
57783
|
-
},{"../components/fx/attributes":
|
|
57895
|
+
},{"../components/fx/attributes":113}],255:[function(_dereq_,module,exports){
|
|
57784
57896
|
/**
|
|
57785
57897
|
* Copyright 2012-2020, Plotly, Inc.
|
|
57786
57898
|
* All rights reserved.
|
|
@@ -57872,7 +57984,7 @@ module.exports = function alignPeriod(trace, ax, axLetter, vals) {
|
|
|
57872
57984
|
return newVals;
|
|
57873
57985
|
};
|
|
57874
57986
|
|
|
57875
|
-
},{"../../constants/numerical":
|
|
57987
|
+
},{"../../constants/numerical":188,"../../lib":211,"fast-isnumeric":17}],256:[function(_dereq_,module,exports){
|
|
57876
57988
|
/**
|
|
57877
57989
|
* Copyright 2012-2020, Plotly, Inc.
|
|
57878
57990
|
* All rights reserved.
|
|
@@ -57901,7 +58013,7 @@ module.exports = {
|
|
|
57901
58013
|
}
|
|
57902
58014
|
};
|
|
57903
58015
|
|
|
57904
|
-
},{}],
|
|
58016
|
+
},{}],257:[function(_dereq_,module,exports){
|
|
57905
58017
|
/**
|
|
57906
58018
|
* Copyright 2012-2020, Plotly, Inc.
|
|
57907
58019
|
* All rights reserved.
|
|
@@ -57918,7 +58030,9 @@ var Lib = _dereq_('../../lib');
|
|
|
57918
58030
|
var FP_SAFE = _dereq_('../../constants/numerical').FP_SAFE;
|
|
57919
58031
|
var Registry = _dereq_('../../registry');
|
|
57920
58032
|
|
|
57921
|
-
var
|
|
58033
|
+
var axIds = _dereq_('./axis_ids');
|
|
58034
|
+
var getFromId = axIds.getFromId;
|
|
58035
|
+
var isLinked = axIds.isLinked;
|
|
57922
58036
|
|
|
57923
58037
|
module.exports = {
|
|
57924
58038
|
getAutoRange: getAutoRange,
|
|
@@ -57960,8 +58074,9 @@ function getAutoRange(gd, ax) {
|
|
|
57960
58074
|
var i, j;
|
|
57961
58075
|
var newRange = [];
|
|
57962
58076
|
|
|
57963
|
-
var
|
|
57964
|
-
var
|
|
58077
|
+
var fullLayout = gd._fullLayout;
|
|
58078
|
+
var getPadMin = makePadFn(fullLayout, ax, 0);
|
|
58079
|
+
var getPadMax = makePadFn(fullLayout, ax, 1);
|
|
57965
58080
|
var extremes = concatExtremes(gd, ax);
|
|
57966
58081
|
var minArray = extremes.min;
|
|
57967
58082
|
var maxArray = extremes.max;
|
|
@@ -58021,8 +58136,8 @@ function getAutoRange(gd, ax) {
|
|
|
58021
58136
|
} else if(dv / axLen > mbest) {
|
|
58022
58137
|
// in case of padding longer than the axis
|
|
58023
58138
|
// at least include the unpadded data values.
|
|
58024
|
-
minbest = {val: minpt.val,
|
|
58025
|
-
maxbest = {val: maxpt.val,
|
|
58139
|
+
minbest = {val: minpt.val, nopad: 1};
|
|
58140
|
+
maxbest = {val: maxpt.val, nopad: 1};
|
|
58026
58141
|
mbest = dv / axLen;
|
|
58027
58142
|
}
|
|
58028
58143
|
}
|
|
@@ -58059,17 +58174,17 @@ function getAutoRange(gd, ax) {
|
|
|
58059
58174
|
} else {
|
|
58060
58175
|
if(toZero) {
|
|
58061
58176
|
if(minbest.val >= 0) {
|
|
58062
|
-
minbest = {val: 0,
|
|
58177
|
+
minbest = {val: 0, nopad: 1};
|
|
58063
58178
|
}
|
|
58064
58179
|
if(maxbest.val <= 0) {
|
|
58065
|
-
maxbest = {val: 0,
|
|
58180
|
+
maxbest = {val: 0, nopad: 1};
|
|
58066
58181
|
}
|
|
58067
58182
|
} else if(nonNegative) {
|
|
58068
58183
|
if(minbest.val - mbest * getPadMin(minbest) < 0) {
|
|
58069
|
-
minbest = {val: 0,
|
|
58184
|
+
minbest = {val: 0, nopad: 1};
|
|
58070
58185
|
}
|
|
58071
58186
|
if(maxbest.val <= 0) {
|
|
58072
|
-
maxbest = {val: 1,
|
|
58187
|
+
maxbest = {val: 1, nopad: 1};
|
|
58073
58188
|
}
|
|
58074
58189
|
}
|
|
58075
58190
|
|
|
@@ -58106,13 +58221,15 @@ function calcBreaksLength(ax, v0, v1) {
|
|
|
58106
58221
|
* calculate the pixel padding for ax._min and ax._max entries with
|
|
58107
58222
|
* optional extrapad as 5% of the total axis length
|
|
58108
58223
|
*/
|
|
58109
|
-
function makePadFn(ax, max) {
|
|
58224
|
+
function makePadFn(fullLayout, ax, max) {
|
|
58110
58225
|
// 5% padding for points that specify extrapad: true
|
|
58111
58226
|
var extrappad = 0.05 * ax._length;
|
|
58112
58227
|
|
|
58228
|
+
var anchorAxis = ax._anchorAxis || {};
|
|
58229
|
+
|
|
58113
58230
|
if(
|
|
58114
58231
|
(ax.ticklabelposition || '').indexOf('inside') !== -1 ||
|
|
58115
|
-
(
|
|
58232
|
+
(anchorAxis.ticklabelposition || '').indexOf('inside') !== -1
|
|
58116
58233
|
) {
|
|
58117
58234
|
var axReverse = ax.autorange === 'reversed';
|
|
58118
58235
|
if(!axReverse) {
|
|
@@ -58122,8 +58239,11 @@ function makePadFn(ax, max) {
|
|
|
58122
58239
|
if(axReverse) max = !max;
|
|
58123
58240
|
}
|
|
58124
58241
|
|
|
58125
|
-
|
|
58126
|
-
|
|
58242
|
+
var zero = 0;
|
|
58243
|
+
if(!isLinked(fullLayout, ax._id)) {
|
|
58244
|
+
zero = padInsideLabelsOnAnchorAxis(ax, max);
|
|
58245
|
+
}
|
|
58246
|
+
extrappad = Math.max(zero, extrappad);
|
|
58127
58247
|
|
|
58128
58248
|
// domain-constrained axes: base extrappad on the unconstrained
|
|
58129
58249
|
// domain so it's consistent as the domain changes
|
|
@@ -58132,50 +58252,17 @@ function makePadFn(ax, max) {
|
|
|
58132
58252
|
(ax.domain[1] - ax.domain[0]);
|
|
58133
58253
|
}
|
|
58134
58254
|
|
|
58135
|
-
return function getPad(pt) {
|
|
58255
|
+
return function getPad(pt) {
|
|
58256
|
+
if(pt.nopad) return 0;
|
|
58257
|
+
return pt.pad + (pt.extrapad ? extrappad : zero);
|
|
58258
|
+
};
|
|
58136
58259
|
}
|
|
58137
58260
|
|
|
58138
58261
|
var TEXTPAD = 3;
|
|
58139
58262
|
|
|
58140
|
-
function
|
|
58141
|
-
var
|
|
58142
|
-
var
|
|
58143
|
-
return ticklabelposition.indexOf(str) !== -1;
|
|
58144
|
-
};
|
|
58145
|
-
|
|
58146
|
-
if(!has('inside')) return extrappad;
|
|
58147
|
-
var isTop = has('top');
|
|
58148
|
-
var isLeft = has('left');
|
|
58149
|
-
var isRight = has('right');
|
|
58150
|
-
var isBottom = has('bottom');
|
|
58151
|
-
var isAligned = isBottom || isLeft || isTop || isRight;
|
|
58152
|
-
|
|
58153
|
-
if(
|
|
58154
|
-
(max && (isLeft || isBottom)) ||
|
|
58155
|
-
(!max && (isRight || isTop))
|
|
58156
|
-
) {
|
|
58157
|
-
return extrappad;
|
|
58158
|
-
}
|
|
58159
|
-
|
|
58160
|
-
// increase padding to make more room for inside tick labels of the axis
|
|
58161
|
-
var fontSize = ax.tickfont ? ax.tickfont.size : 12;
|
|
58162
|
-
var isX = ax._id.charAt(0) === 'x';
|
|
58163
|
-
var morePad = (isX ? 1.2 : 0.6) * fontSize;
|
|
58164
|
-
|
|
58165
|
-
if(isAligned) {
|
|
58166
|
-
morePad *= 2;
|
|
58167
|
-
morePad += (ax.tickwidth || 0) / 2;
|
|
58168
|
-
}
|
|
58169
|
-
|
|
58170
|
-
morePad += TEXTPAD;
|
|
58171
|
-
|
|
58172
|
-
extrappad = Math.max(extrappad, morePad);
|
|
58173
|
-
|
|
58174
|
-
return extrappad;
|
|
58175
|
-
}
|
|
58176
|
-
|
|
58177
|
-
function adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max) {
|
|
58178
|
-
var anchorAxis = (ax._anchorAxis || {});
|
|
58263
|
+
function padInsideLabelsOnAnchorAxis(ax, max) {
|
|
58264
|
+
var pad = 0;
|
|
58265
|
+
var anchorAxis = ax._anchorAxis || {};
|
|
58179
58266
|
if((anchorAxis.ticklabelposition || '').indexOf('inside') !== -1) {
|
|
58180
58267
|
// increase padding to make more room for inside tick labels of the counter axis
|
|
58181
58268
|
if((
|
|
@@ -58191,7 +58278,6 @@ function adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max) {
|
|
|
58191
58278
|
)) {
|
|
58192
58279
|
var isX = ax._id.charAt(0) === 'x';
|
|
58193
58280
|
|
|
58194
|
-
var morePad = 0;
|
|
58195
58281
|
if(anchorAxis._vals) {
|
|
58196
58282
|
var rad = Lib.deg2rad(anchorAxis._tickAngles[anchorAxis._id + 'tick'] || 0);
|
|
58197
58283
|
var cosA = Math.abs(Math.cos(rad));
|
|
@@ -58200,29 +58286,24 @@ function adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max) {
|
|
|
58200
58286
|
// use bounding boxes
|
|
58201
58287
|
anchorAxis._vals.forEach(function(t) {
|
|
58202
58288
|
if(t.bb) {
|
|
58203
|
-
var w = t.bb.width;
|
|
58204
|
-
var h = t.bb.height;
|
|
58289
|
+
var w = 2 * TEXTPAD + t.bb.width;
|
|
58290
|
+
var h = 2 * TEXTPAD + t.bb.height;
|
|
58205
58291
|
|
|
58206
|
-
|
|
58292
|
+
pad = Math.max(pad, isX ?
|
|
58207
58293
|
Math.max(w * cosA, h * sinA) :
|
|
58208
58294
|
Math.max(h * cosA, w * sinA)
|
|
58209
58295
|
);
|
|
58210
|
-
|
|
58211
|
-
// add extra pad around label
|
|
58212
|
-
morePad += 3;
|
|
58213
58296
|
}
|
|
58214
58297
|
});
|
|
58215
58298
|
}
|
|
58216
58299
|
|
|
58217
58300
|
if(anchorAxis.ticks === 'inside' && anchorAxis.ticklabelposition === 'inside') {
|
|
58218
|
-
|
|
58301
|
+
pad += anchorAxis.ticklen || 0;
|
|
58219
58302
|
}
|
|
58220
|
-
|
|
58221
|
-
extrappad = Math.max(extrappad, morePad);
|
|
58222
58303
|
}
|
|
58223
58304
|
}
|
|
58224
58305
|
|
|
58225
|
-
return
|
|
58306
|
+
return pad;
|
|
58226
58307
|
}
|
|
58227
58308
|
|
|
58228
58309
|
function concatExtremes(gd, ax, noMatch) {
|
|
@@ -58541,7 +58622,7 @@ function goodNumber(v) {
|
|
|
58541
58622
|
function lessOrEqual(v0, v1) { return v0 <= v1; }
|
|
58542
58623
|
function greaterOrEqual(v0, v1) { return v0 >= v1; }
|
|
58543
58624
|
|
|
58544
|
-
},{"../../constants/numerical":
|
|
58625
|
+
},{"../../constants/numerical":188,"../../lib":211,"../../registry":308,"./axis_ids":261,"fast-isnumeric":17}],258:[function(_dereq_,module,exports){
|
|
58545
58626
|
/**
|
|
58546
58627
|
* Copyright 2012-2020, Plotly, Inc.
|
|
58547
58628
|
* All rights reserved.
|
|
@@ -58600,6 +58681,10 @@ axes.setConvert = _dereq_('./set_convert');
|
|
|
58600
58681
|
var autoType = _dereq_('./axis_autotype');
|
|
58601
58682
|
|
|
58602
58683
|
var axisIds = _dereq_('./axis_ids');
|
|
58684
|
+
var idSort = axisIds.idSort;
|
|
58685
|
+
var isLinked = axisIds.isLinked;
|
|
58686
|
+
|
|
58687
|
+
// tight coupling to chart studio
|
|
58603
58688
|
axes.id2name = axisIds.id2name;
|
|
58604
58689
|
axes.name2id = axisIds.name2id;
|
|
58605
58690
|
axes.cleanId = axisIds.cleanId;
|
|
@@ -59989,9 +60074,23 @@ function formatDate(ax, out, hover, extraPrecision) {
|
|
|
59989
60074
|
// except for year headPart: turn this into "Jan 1, 2000" etc.
|
|
59990
60075
|
if(tr === 'd') dateStr += ', ' + headStr;
|
|
59991
60076
|
else dateStr = headStr + (dateStr ? ', ' + dateStr : '');
|
|
59992
|
-
} else
|
|
59993
|
-
|
|
59994
|
-
|
|
60077
|
+
} else {
|
|
60078
|
+
if(
|
|
60079
|
+
!ax._inCalcTicks ||
|
|
60080
|
+
ax._prevDateHead !== headStr
|
|
60081
|
+
) {
|
|
60082
|
+
ax._prevDateHead = headStr;
|
|
60083
|
+
dateStr += '<br>' + headStr;
|
|
60084
|
+
} else {
|
|
60085
|
+
var isInside = (ax.ticklabelposition || '').indexOf('inside') !== -1;
|
|
60086
|
+
var side = ax._realSide || ax.side; // polar mocks the side of the radial axis
|
|
60087
|
+
if(
|
|
60088
|
+
(!isInside && side === 'top') ||
|
|
60089
|
+
(isInside && side === 'bottom')
|
|
60090
|
+
) {
|
|
60091
|
+
dateStr += '<br> ';
|
|
60092
|
+
}
|
|
60093
|
+
}
|
|
59995
60094
|
}
|
|
59996
60095
|
}
|
|
59997
60096
|
|
|
@@ -61437,7 +61536,7 @@ axes.drawZeroLine = function(gd, ax, opts) {
|
|
|
61437
61536
|
// If several zerolines enter at the same time we will sort once per,
|
|
61438
61537
|
// but generally this should be a minimal overhead.
|
|
61439
61538
|
opts.layer.selectAll('path').sort(function(da, db) {
|
|
61440
|
-
return
|
|
61539
|
+
return idSort(da.id, db.id);
|
|
61441
61540
|
});
|
|
61442
61541
|
});
|
|
61443
61542
|
|
|
@@ -61735,7 +61834,8 @@ axes.drawLabels = function(gd, ax, opts) {
|
|
|
61735
61834
|
var anchorAx = ax._anchorAxis;
|
|
61736
61835
|
if(
|
|
61737
61836
|
anchorAx && anchorAx.autorange &&
|
|
61738
|
-
(ax.ticklabelposition || '').indexOf('inside') !== -1
|
|
61837
|
+
(ax.ticklabelposition || '').indexOf('inside') !== -1 &&
|
|
61838
|
+
!isLinked(fullLayout, ax._id)
|
|
61739
61839
|
) {
|
|
61740
61840
|
if(!fullLayout._insideTickLabelsAutorange) {
|
|
61741
61841
|
fullLayout._insideTickLabelsAutorange = {};
|
|
@@ -61878,27 +61978,36 @@ function drawTitle(gd, ax) {
|
|
|
61878
61978
|
var axId = ax._id;
|
|
61879
61979
|
var axLetter = axId.charAt(0);
|
|
61880
61980
|
var fontSize = ax.title.font.size;
|
|
61881
|
-
|
|
61882
61981
|
var titleStandoff;
|
|
61883
61982
|
|
|
61884
61983
|
if(ax.title.hasOwnProperty('standoff')) {
|
|
61885
61984
|
titleStandoff = ax._depth + ax.title.standoff + approxTitleDepth(ax);
|
|
61886
61985
|
} else {
|
|
61986
|
+
var isInside = (ax.ticklabelposition || '').indexOf('inside') !== -1;
|
|
61987
|
+
|
|
61887
61988
|
if(ax.type === 'multicategory') {
|
|
61888
61989
|
titleStandoff = ax._depth;
|
|
61889
61990
|
} else {
|
|
61890
|
-
var offsetBase = 1.5;
|
|
61891
|
-
|
|
61991
|
+
var offsetBase = 1.5 * fontSize;
|
|
61992
|
+
if(isInside) {
|
|
61993
|
+
offsetBase = 0.5 * fontSize;
|
|
61994
|
+
if(ax.ticks === 'outside') {
|
|
61995
|
+
offsetBase += ax.ticklen;
|
|
61996
|
+
}
|
|
61997
|
+
}
|
|
61998
|
+
titleStandoff = 10 + offsetBase + (ax.linewidth ? ax.linewidth - 1 : 0);
|
|
61892
61999
|
}
|
|
61893
62000
|
|
|
61894
|
-
if(
|
|
61895
|
-
|
|
61896
|
-
|
|
61897
|
-
|
|
61898
|
-
|
|
61899
|
-
|
|
61900
|
-
|
|
61901
|
-
|
|
62001
|
+
if(!isInside) {
|
|
62002
|
+
if(axLetter === 'x') {
|
|
62003
|
+
titleStandoff += ax.side === 'top' ?
|
|
62004
|
+
fontSize * (ax.showticklabels ? 1 : 0) :
|
|
62005
|
+
fontSize * (ax.showticklabels ? 1.5 : 0.5);
|
|
62006
|
+
} else {
|
|
62007
|
+
titleStandoff += ax.side === 'right' ?
|
|
62008
|
+
fontSize * (ax.showticklabels ? 1 : 0.5) :
|
|
62009
|
+
fontSize * (ax.showticklabels ? 0.5 : 0);
|
|
62010
|
+
}
|
|
61902
62011
|
}
|
|
61903
62012
|
}
|
|
61904
62013
|
|
|
@@ -62233,7 +62342,7 @@ function moveOutsideBreak(v, ax) {
|
|
|
62233
62342
|
return v;
|
|
62234
62343
|
}
|
|
62235
62344
|
|
|
62236
|
-
},{"../../components/color":
|
|
62345
|
+
},{"../../components/color":82,"../../components/drawing":104,"../../components/titles":177,"../../constants/alignment":184,"../../constants/numerical":188,"../../lib":211,"../../lib/svg_text_utils":233,"../../plots/plots":299,"../../registry":308,"./autorange":257,"./axis_autotype":259,"./axis_ids":261,"./clean_ticks":263,"./layout_attributes":272,"./set_convert":278,"d3":15,"fast-isnumeric":17}],259:[function(_dereq_,module,exports){
|
|
62237
62346
|
/**
|
|
62238
62347
|
* Copyright 2012-2020, Plotly, Inc.
|
|
62239
62348
|
* All rights reserved.
|
|
@@ -62364,7 +62473,7 @@ function multiCategory(a) {
|
|
|
62364
62473
|
return isArrayOrTypedArray(a[0]) && isArrayOrTypedArray(a[1]);
|
|
62365
62474
|
}
|
|
62366
62475
|
|
|
62367
|
-
},{"../../constants/numerical":
|
|
62476
|
+
},{"../../constants/numerical":188,"../../lib":211,"fast-isnumeric":17}],260:[function(_dereq_,module,exports){
|
|
62368
62477
|
/**
|
|
62369
62478
|
* Copyright 2012-2020, Plotly, Inc.
|
|
62370
62479
|
* All rights reserved.
|
|
@@ -62672,7 +62781,7 @@ function indexOfDay(v) {
|
|
|
62672
62781
|
];
|
|
62673
62782
|
}
|
|
62674
62783
|
|
|
62675
|
-
},{"../../lib":
|
|
62784
|
+
},{"../../lib":211,"../../registry":308,"../array_container_defaults":253,"./category_order_defaults":262,"./constants":264,"./layout_attributes":272,"./line_grid_defaults":274,"./set_convert":278,"./tick_label_defaults":279,"./tick_mark_defaults":280,"./tick_value_defaults":281,"fast-isnumeric":17}],261:[function(_dereq_,module,exports){
|
|
62676
62785
|
/**
|
|
62677
62786
|
* Copyright 2012-2020, Plotly, Inc.
|
|
62678
62787
|
* All rights reserved.
|
|
@@ -62812,7 +62921,23 @@ exports.ref2id = function(ar) {
|
|
|
62812
62921
|
return (/^[xyz]/.test(ar)) ? ar.split(' ')[0] : false;
|
|
62813
62922
|
};
|
|
62814
62923
|
|
|
62815
|
-
|
|
62924
|
+
function isFound(axId, list) {
|
|
62925
|
+
if(list && list.length) {
|
|
62926
|
+
for(var i = 0; i < list.length; i++) {
|
|
62927
|
+
if(list[i][axId]) return true;
|
|
62928
|
+
}
|
|
62929
|
+
}
|
|
62930
|
+
return false;
|
|
62931
|
+
}
|
|
62932
|
+
|
|
62933
|
+
exports.isLinked = function(fullLayout, axId) {
|
|
62934
|
+
return (
|
|
62935
|
+
isFound(axId, fullLayout._axisMatchGroups) ||
|
|
62936
|
+
isFound(axId, fullLayout._axisConstraintGroups)
|
|
62937
|
+
);
|
|
62938
|
+
};
|
|
62939
|
+
|
|
62940
|
+
},{"../../registry":308,"./constants":264}],262:[function(_dereq_,module,exports){
|
|
62816
62941
|
/**
|
|
62817
62942
|
* Copyright 2012-2020, Plotly, Inc.
|
|
62818
62943
|
* All rights reserved.
|
|
@@ -62906,7 +63031,7 @@ module.exports = function handleCategoryOrderDefaults(containerIn, containerOut,
|
|
|
62906
63031
|
}
|
|
62907
63032
|
};
|
|
62908
63033
|
|
|
62909
|
-
},{}],
|
|
63034
|
+
},{}],263:[function(_dereq_,module,exports){
|
|
62910
63035
|
/**
|
|
62911
63036
|
* Copyright 2012-2020, Plotly, Inc.
|
|
62912
63037
|
* All rights reserved.
|
|
@@ -62998,7 +63123,7 @@ exports.tick0 = function(tick0, axType, calendar, dtick) {
|
|
|
62998
63123
|
return isNumeric(tick0) ? Number(tick0) : 0;
|
|
62999
63124
|
};
|
|
63000
63125
|
|
|
63001
|
-
},{"../../constants/numerical":
|
|
63126
|
+
},{"../../constants/numerical":188,"../../lib":211,"fast-isnumeric":17}],264:[function(_dereq_,module,exports){
|
|
63002
63127
|
/**
|
|
63003
63128
|
* Copyright 2012-2020, Plotly, Inc.
|
|
63004
63129
|
* All rights reserved.
|
|
@@ -63090,7 +63215,7 @@ module.exports = {
|
|
|
63090
63215
|
}
|
|
63091
63216
|
};
|
|
63092
63217
|
|
|
63093
|
-
},{"../../lib/regex":
|
|
63218
|
+
},{"../../lib/regex":227}],265:[function(_dereq_,module,exports){
|
|
63094
63219
|
/**
|
|
63095
63220
|
* Copyright 2012-2020, Plotly, Inc.
|
|
63096
63221
|
* All rights reserved.
|
|
@@ -63658,8 +63783,8 @@ exports.enforce = function enforce(gd) {
|
|
|
63658
63783
|
// *are* expanding to the full domain
|
|
63659
63784
|
var outerMin = rangeCenter - halfRange * factor * 1.0001;
|
|
63660
63785
|
var outerMax = rangeCenter + halfRange * factor * 1.0001;
|
|
63661
|
-
var getPadMin = autorange.makePadFn(ax, 0);
|
|
63662
|
-
var getPadMax = autorange.makePadFn(ax, 1);
|
|
63786
|
+
var getPadMin = autorange.makePadFn(fullLayout, ax, 0);
|
|
63787
|
+
var getPadMax = autorange.makePadFn(fullLayout, ax, 1);
|
|
63663
63788
|
|
|
63664
63789
|
updateDomain(ax, factor);
|
|
63665
63790
|
var m = Math.abs(ax._m);
|
|
@@ -63741,7 +63866,7 @@ function updateDomain(ax, factor) {
|
|
|
63741
63866
|
ax.setScale();
|
|
63742
63867
|
}
|
|
63743
63868
|
|
|
63744
|
-
},{"../../constants/alignment":
|
|
63869
|
+
},{"../../constants/alignment":184,"../../constants/numerical":188,"../../lib":211,"./autorange":257,"./axis_ids":261,"./layout_attributes":272,"./scale_zoom":276,"./set_convert":278}],266:[function(_dereq_,module,exports){
|
|
63745
63870
|
/**
|
|
63746
63871
|
* Copyright 2012-2020, Plotly, Inc.
|
|
63747
63872
|
* All rights reserved.
|
|
@@ -65079,7 +65204,7 @@ module.exports = {
|
|
|
65079
65204
|
attachWheelEventHandler: attachWheelEventHandler
|
|
65080
65205
|
};
|
|
65081
65206
|
|
|
65082
|
-
},{"../../components/color":
|
|
65207
|
+
},{"../../components/color":82,"../../components/dragelement":101,"../../components/dragelement/helpers":100,"../../components/drawing":104,"../../components/fx":122,"../../constants/alignment":184,"../../lib":211,"../../lib/clear_gl_canvases":197,"../../lib/setcursor":231,"../../lib/svg_text_utils":233,"../../plot_api/subroutines":248,"../../registry":308,"../plots":299,"./axes":258,"./axis_ids":261,"./constants":264,"./scale_zoom":276,"./select":277,"d3":15,"has-passive-events":49,"tinycolor2":64}],267:[function(_dereq_,module,exports){
|
|
65083
65208
|
/**
|
|
65084
65209
|
* Copyright 2012-2020, Plotly, Inc.
|
|
65085
65210
|
* All rights reserved.
|
|
@@ -65247,7 +65372,7 @@ exports.updateFx = function(gd) {
|
|
|
65247
65372
|
setCursor(fullLayout._draggers, cursor);
|
|
65248
65373
|
};
|
|
65249
65374
|
|
|
65250
|
-
},{"../../components/dragelement":
|
|
65375
|
+
},{"../../components/dragelement":101,"../../components/fx":122,"../../lib/setcursor":231,"./constants":264,"./dragbox":266,"d3":15}],268:[function(_dereq_,module,exports){
|
|
65251
65376
|
/**
|
|
65252
65377
|
* Copyright 2012-2020, Plotly, Inc.
|
|
65253
65378
|
* All rights reserved.
|
|
@@ -65283,7 +65408,7 @@ module.exports = {
|
|
|
65283
65408
|
clearSelect: clearSelect
|
|
65284
65409
|
};
|
|
65285
65410
|
|
|
65286
|
-
},{}],
|
|
65411
|
+
},{}],269:[function(_dereq_,module,exports){
|
|
65287
65412
|
/**
|
|
65288
65413
|
* Copyright 2012-2020, Plotly, Inc.
|
|
65289
65414
|
* All rights reserved.
|
|
@@ -65340,7 +65465,7 @@ module.exports = {
|
|
|
65340
65465
|
getTransform: getTransform
|
|
65341
65466
|
};
|
|
65342
65467
|
|
|
65343
|
-
},{"../../lib":
|
|
65468
|
+
},{"../../lib":211}],270:[function(_dereq_,module,exports){
|
|
65344
65469
|
/**
|
|
65345
65470
|
* Copyright 2012-2020, Plotly, Inc.
|
|
65346
65471
|
* All rights reserved.
|
|
@@ -65418,7 +65543,7 @@ module.exports = function makeIncludeComponents(containerArrayName) {
|
|
|
65418
65543
|
};
|
|
65419
65544
|
};
|
|
65420
65545
|
|
|
65421
|
-
},{"../../lib":
|
|
65546
|
+
},{"../../lib":211,"../../registry":308,"./axis_ids":261}],271:[function(_dereq_,module,exports){
|
|
65422
65547
|
/**
|
|
65423
65548
|
* Copyright 2012-2020, Plotly, Inc.
|
|
65424
65549
|
* All rights reserved.
|
|
@@ -66036,7 +66161,7 @@ exports.toSVG = function(gd) {
|
|
|
66036
66161
|
|
|
66037
66162
|
exports.updateFx = _dereq_('./graph_interact').updateFx;
|
|
66038
66163
|
|
|
66039
|
-
},{"../../components/drawing":
|
|
66164
|
+
},{"../../components/drawing":104,"../../constants/xmlns_namespaces":189,"../../lib":211,"../../registry":308,"../get_data":295,"../plots":299,"./attributes":256,"./axis_ids":261,"./constants":264,"./graph_interact":267,"./layout_attributes":272,"./layout_defaults":273,"./transition_axes":282,"d3":15}],272:[function(_dereq_,module,exports){
|
|
66040
66165
|
/**
|
|
66041
66166
|
* Copyright 2012-2020, Plotly, Inc.
|
|
66042
66167
|
* All rights reserved.
|
|
@@ -66756,7 +66881,7 @@ module.exports = {
|
|
|
66756
66881
|
}
|
|
66757
66882
|
};
|
|
66758
66883
|
|
|
66759
|
-
},{"../../components/color/attributes":
|
|
66884
|
+
},{"../../components/color/attributes":81,"../../components/drawing/attributes":103,"../../constants/docs":186,"../../constants/numerical":188,"../../lib/extend":203,"../../plot_api/plot_template":247,"../font_attributes":286,"./constants":264}],273:[function(_dereq_,module,exports){
|
|
66760
66885
|
/**
|
|
66761
66886
|
* Copyright 2012-2020, Plotly, Inc.
|
|
66762
66887
|
* All rights reserved.
|
|
@@ -67143,7 +67268,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {
|
|
|
67143
67268
|
});
|
|
67144
67269
|
};
|
|
67145
67270
|
|
|
67146
|
-
},{"../../components/color":
|
|
67271
|
+
},{"../../components/color":82,"../../components/fx/helpers":118,"../../components/fx/hovermode_defaults":121,"../../lib":211,"../../plot_api/plot_template":247,"../../registry":308,"../layout_attributes":297,"./axis_defaults":260,"./axis_ids":261,"./constants":264,"./constraints":265,"./layout_attributes":272,"./position_defaults":275,"./type_defaults":283}],274:[function(_dereq_,module,exports){
|
|
67147
67272
|
/**
|
|
67148
67273
|
* Copyright 2012-2020, Plotly, Inc.
|
|
67149
67274
|
* All rights reserved.
|
|
@@ -67208,7 +67333,7 @@ module.exports = function handleLineGridDefaults(containerIn, containerOut, coer
|
|
|
67208
67333
|
}
|
|
67209
67334
|
};
|
|
67210
67335
|
|
|
67211
|
-
},{"../../components/color/attributes":
|
|
67336
|
+
},{"../../components/color/attributes":81,"../../lib":211,"tinycolor2":64}],275:[function(_dereq_,module,exports){
|
|
67212
67337
|
/**
|
|
67213
67338
|
* Copyright 2012-2020, Plotly, Inc.
|
|
67214
67339
|
* All rights reserved.
|
|
@@ -67296,7 +67421,7 @@ module.exports = function handlePositionDefaults(containerIn, containerOut, coer
|
|
|
67296
67421
|
return containerOut;
|
|
67297
67422
|
};
|
|
67298
67423
|
|
|
67299
|
-
},{"../../lib":
|
|
67424
|
+
},{"../../lib":211,"fast-isnumeric":17}],276:[function(_dereq_,module,exports){
|
|
67300
67425
|
/**
|
|
67301
67426
|
* Copyright 2012-2020, Plotly, Inc.
|
|
67302
67427
|
* All rights reserved.
|
|
@@ -67325,7 +67450,7 @@ module.exports = function scaleZoom(ax, factor, centerFraction) {
|
|
|
67325
67450
|
ax.setScale();
|
|
67326
67451
|
};
|
|
67327
67452
|
|
|
67328
|
-
},{"../../constants/alignment":
|
|
67453
|
+
},{"../../constants/alignment":184}],277:[function(_dereq_,module,exports){
|
|
67329
67454
|
/**
|
|
67330
67455
|
* Copyright 2012-2020, Plotly, Inc.
|
|
67331
67456
|
* All rights reserved.
|
|
@@ -68268,7 +68393,7 @@ module.exports = {
|
|
|
68268
68393
|
selectOnClick: selectOnClick
|
|
68269
68394
|
};
|
|
68270
68395
|
|
|
68271
|
-
},{"../../components/color":
|
|
68396
|
+
},{"../../components/color":82,"../../components/dragelement/helpers":100,"../../components/drawing":104,"../../components/fx":122,"../../components/fx/helpers":118,"../../components/shapes/draw_newshape/display_outlines":167,"../../components/shapes/draw_newshape/helpers":168,"../../components/shapes/draw_newshape/newshapes":169,"../../lib":211,"../../lib/clear_gl_canvases":197,"../../lib/polygon":223,"../../lib/throttle":234,"../../plot_api/subroutines":248,"../../registry":308,"./axis_ids":261,"./constants":264,"./handle_outline":268,"./helpers":269,"polybooljs":55}],278:[function(_dereq_,module,exports){
|
|
68272
68397
|
/**
|
|
68273
68398
|
* Copyright 2012-2020, Plotly, Inc.
|
|
68274
68399
|
* All rights reserved.
|
|
@@ -69226,7 +69351,7 @@ module.exports = function setConvert(ax, fullLayout) {
|
|
|
69226
69351
|
delete ax._forceTick0;
|
|
69227
69352
|
};
|
|
69228
69353
|
|
|
69229
|
-
},{"../../constants/numerical":
|
|
69354
|
+
},{"../../constants/numerical":188,"../../lib":211,"./axis_ids":261,"./constants":264,"d3":15,"d3-time-format":13,"fast-isnumeric":17}],279:[function(_dereq_,module,exports){
|
|
69230
69355
|
/**
|
|
69231
69356
|
* Copyright 2012-2020, Plotly, Inc.
|
|
69232
69357
|
* All rights reserved.
|
|
@@ -69353,7 +69478,7 @@ function tickformatstopDefaults(valueIn, valueOut) {
|
|
|
69353
69478
|
}
|
|
69354
69479
|
}
|
|
69355
69480
|
|
|
69356
|
-
},{"../../components/color":
|
|
69481
|
+
},{"../../components/color":82,"../../lib":211,"../array_container_defaults":253,"./layout_attributes":272}],280:[function(_dereq_,module,exports){
|
|
69357
69482
|
/**
|
|
69358
69483
|
* Copyright 2012-2020, Plotly, Inc.
|
|
69359
69484
|
* All rights reserved.
|
|
@@ -69386,7 +69511,7 @@ module.exports = function handleTickDefaults(containerIn, containerOut, coerce,
|
|
|
69386
69511
|
}
|
|
69387
69512
|
};
|
|
69388
69513
|
|
|
69389
|
-
},{"../../lib":
|
|
69514
|
+
},{"../../lib":211,"./layout_attributes":272}],281:[function(_dereq_,module,exports){
|
|
69390
69515
|
/**
|
|
69391
69516
|
* Copyright 2012-2020, Plotly, Inc.
|
|
69392
69517
|
* All rights reserved.
|
|
@@ -69433,7 +69558,7 @@ module.exports = function handleTickValueDefaults(containerIn, containerOut, coe
|
|
|
69433
69558
|
}
|
|
69434
69559
|
};
|
|
69435
69560
|
|
|
69436
|
-
},{"../../lib":
|
|
69561
|
+
},{"../../lib":211,"./clean_ticks":263}],282:[function(_dereq_,module,exports){
|
|
69437
69562
|
/**
|
|
69438
69563
|
* Copyright 2012-2020, Plotly, Inc.
|
|
69439
69564
|
* All rights reserved.
|
|
@@ -69646,7 +69771,7 @@ module.exports = function transitionAxes(gd, edits, transitionOpts, makeOnComple
|
|
|
69646
69771
|
return Promise.resolve();
|
|
69647
69772
|
};
|
|
69648
69773
|
|
|
69649
|
-
},{"../../components/drawing":
|
|
69774
|
+
},{"../../components/drawing":104,"../../lib":211,"../../registry":308,"./axes":258,"d3":15}],283:[function(_dereq_,module,exports){
|
|
69650
69775
|
/**
|
|
69651
69776
|
* Copyright 2012-2020, Plotly, Inc.
|
|
69652
69777
|
* All rights reserved.
|
|
@@ -69786,7 +69911,7 @@ function isBoxWithoutPositionCoords(trace, axLetter) {
|
|
|
69786
69911
|
);
|
|
69787
69912
|
}
|
|
69788
69913
|
|
|
69789
|
-
},{"../../registry":
|
|
69914
|
+
},{"../../registry":308,"./axis_autotype":259}],284:[function(_dereq_,module,exports){
|
|
69790
69915
|
/**
|
|
69791
69916
|
* Copyright 2012-2020, Plotly, Inc.
|
|
69792
69917
|
* All rights reserved.
|
|
@@ -70213,7 +70338,7 @@ function crawl(attrs, callback, path, depth) {
|
|
|
70213
70338
|
});
|
|
70214
70339
|
}
|
|
70215
70340
|
|
|
70216
|
-
},{"../lib":
|
|
70341
|
+
},{"../lib":211,"../registry":308}],285:[function(_dereq_,module,exports){
|
|
70217
70342
|
/**
|
|
70218
70343
|
* Copyright 2012-2020, Plotly, Inc.
|
|
70219
70344
|
* All rights reserved.
|
|
@@ -70325,7 +70450,7 @@ exports.defaults = function(containerOut, layout, coerce, dfltDomains) {
|
|
|
70325
70450
|
if(!(y[0] < y[1])) containerOut.domain.y = dfltY.slice();
|
|
70326
70451
|
};
|
|
70327
70452
|
|
|
70328
|
-
},{"../lib/extend":
|
|
70453
|
+
},{"../lib/extend":203}],286:[function(_dereq_,module,exports){
|
|
70329
70454
|
/**
|
|
70330
70455
|
* Copyright 2012-2020, Plotly, Inc.
|
|
70331
70456
|
* All rights reserved.
|
|
@@ -70390,7 +70515,7 @@ module.exports = function(opts) {
|
|
|
70390
70515
|
return attrs;
|
|
70391
70516
|
};
|
|
70392
70517
|
|
|
70393
|
-
},{}],
|
|
70518
|
+
},{}],287:[function(_dereq_,module,exports){
|
|
70394
70519
|
/**
|
|
70395
70520
|
* Copyright 2012-2020, Plotly, Inc.
|
|
70396
70521
|
* All rights reserved.
|
|
@@ -70436,7 +70561,7 @@ module.exports = {
|
|
|
70436
70561
|
}
|
|
70437
70562
|
};
|
|
70438
70563
|
|
|
70439
|
-
},{}],
|
|
70564
|
+
},{}],288:[function(_dereq_,module,exports){
|
|
70440
70565
|
/**
|
|
70441
70566
|
* Copyright 2012-2020, Plotly, Inc.
|
|
70442
70567
|
* All rights reserved.
|
|
@@ -70611,7 +70736,7 @@ exports.layerNameToAdjective = {
|
|
|
70611
70736
|
frame: 'frame'
|
|
70612
70737
|
};
|
|
70613
70738
|
|
|
70614
|
-
},{}],
|
|
70739
|
+
},{}],289:[function(_dereq_,module,exports){
|
|
70615
70740
|
/**
|
|
70616
70741
|
* Copyright 2012-2020, Plotly, Inc.
|
|
70617
70742
|
* All rights reserved.
|
|
@@ -71446,7 +71571,7 @@ function makeRangeBox(lon, lat) {
|
|
|
71446
71571
|
};
|
|
71447
71572
|
}
|
|
71448
71573
|
|
|
71449
|
-
},{"../../components/color":
|
|
71574
|
+
},{"../../components/color":82,"../../components/dragelement":101,"../../components/drawing":104,"../../components/fx":122,"../../lib":211,"../../lib/geo_location_utils":206,"../../lib/topojson_utils":236,"../../registry":308,"../cartesian/autorange":257,"../cartesian/axes":258,"../cartesian/select":277,"../plots":299,"./constants":288,"./projections":293,"./zoom":294,"d3":15,"topojson-client":65}],290:[function(_dereq_,module,exports){
|
|
71450
71575
|
/**
|
|
71451
71576
|
* Copyright 2012-2020, Plotly, Inc.
|
|
71452
71577
|
* All rights reserved.
|
|
@@ -71540,7 +71665,7 @@ module.exports = {
|
|
|
71540
71665
|
clean: clean
|
|
71541
71666
|
};
|
|
71542
71667
|
|
|
71543
|
-
},{"../../lib":
|
|
71668
|
+
},{"../../lib":211,"../../plots/get_data":295,"./geo":289,"./layout_attributes":291,"./layout_defaults":292}],291:[function(_dereq_,module,exports){
|
|
71544
71669
|
/**
|
|
71545
71670
|
* Copyright 2012-2020, Plotly, Inc.
|
|
71546
71671
|
* All rights reserved.
|
|
@@ -71831,7 +71956,7 @@ attrs.uirevision = {
|
|
|
71831
71956
|
|
|
71832
71957
|
};
|
|
71833
71958
|
|
|
71834
|
-
},{"../../components/color/attributes":
|
|
71959
|
+
},{"../../components/color/attributes":81,"../../plot_api/edit_types":240,"../domain":285,"./constants":288}],292:[function(_dereq_,module,exports){
|
|
71835
71960
|
/**
|
|
71836
71961
|
* Copyright 2012-2020, Plotly, Inc.
|
|
71837
71962
|
* All rights reserved.
|
|
@@ -72059,7 +72184,7 @@ function handleGeoDefaults(geoLayoutIn, geoLayoutOut, coerce, opts) {
|
|
|
72059
72184
|
}
|
|
72060
72185
|
}
|
|
72061
72186
|
|
|
72062
|
-
},{"../../lib":
|
|
72187
|
+
},{"../../lib":211,"../get_data":295,"../subplot_defaults":306,"./constants":288,"./layout_attributes":291}],293:[function(_dereq_,module,exports){
|
|
72063
72188
|
/**
|
|
72064
72189
|
* Copyright 2012-2020, Plotly, Inc.
|
|
72065
72190
|
* All rights reserved.
|
|
@@ -72505,7 +72630,7 @@ function addProjectionsToD3(d3) {
|
|
|
72505
72630
|
|
|
72506
72631
|
module.exports = addProjectionsToD3;
|
|
72507
72632
|
|
|
72508
|
-
},{}],
|
|
72633
|
+
},{}],294:[function(_dereq_,module,exports){
|
|
72509
72634
|
/**
|
|
72510
72635
|
* Copyright 2012-2020, Plotly, Inc.
|
|
72511
72636
|
* All rights reserved.
|
|
@@ -73017,7 +73142,7 @@ function d3eventDispatch(target) {
|
|
|
73017
73142
|
return dispatch;
|
|
73018
73143
|
}
|
|
73019
73144
|
|
|
73020
|
-
},{"../../lib":
|
|
73145
|
+
},{"../../lib":211,"../../registry":308,"d3":15}],295:[function(_dereq_,module,exports){
|
|
73021
73146
|
/**
|
|
73022
73147
|
* Copyright 2012-2020, Plotly, Inc.
|
|
73023
73148
|
* All rights reserved.
|
|
@@ -73146,7 +73271,7 @@ exports.getSubplotData = function getSubplotData(data, type, subplotId) {
|
|
|
73146
73271
|
return subplotData;
|
|
73147
73272
|
};
|
|
73148
73273
|
|
|
73149
|
-
},{"../registry":
|
|
73274
|
+
},{"../registry":308,"./cartesian/constants":264}],296:[function(_dereq_,module,exports){
|
|
73150
73275
|
/**
|
|
73151
73276
|
* Copyright 2012-2020, Plotly, Inc.
|
|
73152
73277
|
* All rights reserved.
|
|
@@ -73180,7 +73305,7 @@ function project(camera, v) {
|
|
|
73180
73305
|
|
|
73181
73306
|
module.exports = project;
|
|
73182
73307
|
|
|
73183
|
-
},{}],
|
|
73308
|
+
},{}],297:[function(_dereq_,module,exports){
|
|
73184
73309
|
/**
|
|
73185
73310
|
* Copyright 2012-2020, Plotly, Inc.
|
|
73186
73311
|
* All rights reserved.
|
|
@@ -73521,7 +73646,7 @@ module.exports = {
|
|
|
73521
73646
|
}
|
|
73522
73647
|
};
|
|
73523
73648
|
|
|
73524
|
-
},{"../components/color/attributes":
|
|
73649
|
+
},{"../components/color/attributes":81,"../components/shapes/draw_newshape/attributes":164,"../lib/extend":203,"./animation_attributes":252,"./font_attributes":286,"./pad_attributes":298}],298:[function(_dereq_,module,exports){
|
|
73525
73650
|
/**
|
|
73526
73651
|
* Copyright 2012-2020, Plotly, Inc.
|
|
73527
73652
|
* All rights reserved.
|
|
@@ -73576,7 +73701,7 @@ module.exports = function(opts) {
|
|
|
73576
73701
|
};
|
|
73577
73702
|
};
|
|
73578
73703
|
|
|
73579
|
-
},{}],
|
|
73704
|
+
},{}],299:[function(_dereq_,module,exports){
|
|
73580
73705
|
/**
|
|
73581
73706
|
* Copyright 2012-2020, Plotly, Inc.
|
|
73582
73707
|
* All rights reserved.
|
|
@@ -75445,8 +75570,13 @@ function initMargins(fullLayout) {
|
|
|
75445
75570
|
if(!fullLayout._pushmarginIds) fullLayout._pushmarginIds = {};
|
|
75446
75571
|
}
|
|
75447
75572
|
|
|
75448
|
-
|
|
75449
|
-
var
|
|
75573
|
+
// non-negotiable - this is the smallest height we will allow users to specify via explicit margins
|
|
75574
|
+
var MIN_SPECIFIED_WIDTH = 2;
|
|
75575
|
+
var MIN_SPECIFIED_HEIGHT = 2;
|
|
75576
|
+
|
|
75577
|
+
// could be exposed as an option - the smallest we will allow automargin to shrink a larger plot
|
|
75578
|
+
var MIN_REDUCED_WIDTH = 64;
|
|
75579
|
+
var MIN_REDUCED_HEIGHT = 64;
|
|
75450
75580
|
|
|
75451
75581
|
/**
|
|
75452
75582
|
* autoMargin: called by components that may need to expand the margins to
|
|
@@ -75467,20 +75597,33 @@ plots.autoMargin = function(gd, id, o) {
|
|
|
75467
75597
|
var fullLayout = gd._fullLayout;
|
|
75468
75598
|
var width = fullLayout.width;
|
|
75469
75599
|
var height = fullLayout.height;
|
|
75600
|
+
var margin = fullLayout.margin;
|
|
75601
|
+
|
|
75602
|
+
var minFinalWidth = Lib.constrain(
|
|
75603
|
+
width - margin.l - margin.r,
|
|
75604
|
+
MIN_SPECIFIED_WIDTH,
|
|
75605
|
+
MIN_REDUCED_WIDTH
|
|
75606
|
+
);
|
|
75607
|
+
|
|
75608
|
+
var minFinalHeight = Lib.constrain(
|
|
75609
|
+
height - margin.t - margin.b,
|
|
75610
|
+
MIN_SPECIFIED_HEIGHT,
|
|
75611
|
+
MIN_REDUCED_HEIGHT
|
|
75612
|
+
);
|
|
75613
|
+
|
|
75470
75614
|
var maxSpaceW = Math.max(0, width - minFinalWidth);
|
|
75471
75615
|
var maxSpaceH = Math.max(0, height - minFinalHeight);
|
|
75472
75616
|
|
|
75473
75617
|
var pushMargin = fullLayout._pushmargin;
|
|
75474
75618
|
var pushMarginIds = fullLayout._pushmarginIds;
|
|
75475
75619
|
|
|
75476
|
-
if(
|
|
75620
|
+
if(margin.autoexpand !== false) {
|
|
75477
75621
|
if(!o) {
|
|
75478
75622
|
delete pushMargin[id];
|
|
75479
75623
|
delete pushMarginIds[id];
|
|
75480
75624
|
} else {
|
|
75481
75625
|
var pad = o.pad;
|
|
75482
75626
|
if(pad === undefined) {
|
|
75483
|
-
var margin = fullLayout.margin;
|
|
75484
75627
|
// if no explicit pad is given, use 12px unless there's a
|
|
75485
75628
|
// specified margin that's smaller than that
|
|
75486
75629
|
pad = Math.min(12, margin.l, margin.r, margin.t, margin.b);
|
|
@@ -75488,15 +75631,19 @@ plots.autoMargin = function(gd, id, o) {
|
|
|
75488
75631
|
|
|
75489
75632
|
// if the item is too big, just give it enough automargin to
|
|
75490
75633
|
// make sure you can still grab it and bring it back
|
|
75491
|
-
|
|
75492
|
-
|
|
75493
|
-
|
|
75494
|
-
|
|
75634
|
+
if(maxSpaceW) {
|
|
75635
|
+
var rW = (o.l + o.r) / maxSpaceW;
|
|
75636
|
+
if(rW > 1) {
|
|
75637
|
+
o.l /= rW;
|
|
75638
|
+
o.r /= rW;
|
|
75639
|
+
}
|
|
75495
75640
|
}
|
|
75496
|
-
|
|
75497
|
-
|
|
75498
|
-
|
|
75499
|
-
|
|
75641
|
+
if(maxSpaceH) {
|
|
75642
|
+
var rH = (o.t + o.b) / maxSpaceH;
|
|
75643
|
+
if(rH > 1) {
|
|
75644
|
+
o.t /= rH;
|
|
75645
|
+
o.b /= rH;
|
|
75646
|
+
}
|
|
75500
75647
|
}
|
|
75501
75648
|
|
|
75502
75649
|
var xl = o.xl !== undefined ? o.xl : o.x;
|
|
@@ -75523,8 +75670,6 @@ plots.doAutoMargin = function(gd) {
|
|
|
75523
75670
|
var fullLayout = gd._fullLayout;
|
|
75524
75671
|
var width = fullLayout.width;
|
|
75525
75672
|
var height = fullLayout.height;
|
|
75526
|
-
var maxSpaceW = Math.max(0, width - minFinalWidth);
|
|
75527
|
-
var maxSpaceH = Math.max(0, height - minFinalHeight);
|
|
75528
75673
|
|
|
75529
75674
|
if(!fullLayout._size) fullLayout._size = {};
|
|
75530
75675
|
initMargins(fullLayout);
|
|
@@ -75597,16 +75742,35 @@ plots.doAutoMargin = function(gd) {
|
|
|
75597
75742
|
}
|
|
75598
75743
|
}
|
|
75599
75744
|
|
|
75600
|
-
var
|
|
75601
|
-
|
|
75602
|
-
|
|
75603
|
-
|
|
75745
|
+
var minFinalWidth = Lib.constrain(
|
|
75746
|
+
width - margin.l - margin.r,
|
|
75747
|
+
MIN_SPECIFIED_WIDTH,
|
|
75748
|
+
MIN_REDUCED_WIDTH
|
|
75749
|
+
);
|
|
75750
|
+
|
|
75751
|
+
var minFinalHeight = Lib.constrain(
|
|
75752
|
+
height - margin.t - margin.b,
|
|
75753
|
+
MIN_SPECIFIED_HEIGHT,
|
|
75754
|
+
MIN_REDUCED_HEIGHT
|
|
75755
|
+
);
|
|
75756
|
+
|
|
75757
|
+
var maxSpaceW = Math.max(0, width - minFinalWidth);
|
|
75758
|
+
var maxSpaceH = Math.max(0, height - minFinalHeight);
|
|
75759
|
+
|
|
75760
|
+
if(maxSpaceW) {
|
|
75761
|
+
var rW = (ml + mr) / maxSpaceW;
|
|
75762
|
+
if(rW > 1) {
|
|
75763
|
+
ml /= rW;
|
|
75764
|
+
mr /= rW;
|
|
75765
|
+
}
|
|
75604
75766
|
}
|
|
75605
75767
|
|
|
75606
|
-
|
|
75607
|
-
|
|
75608
|
-
|
|
75609
|
-
|
|
75768
|
+
if(maxSpaceH) {
|
|
75769
|
+
var rH = (mb + mt) / maxSpaceH;
|
|
75770
|
+
if(rH > 1) {
|
|
75771
|
+
mb /= rH;
|
|
75772
|
+
mt /= rH;
|
|
75773
|
+
}
|
|
75610
75774
|
}
|
|
75611
75775
|
|
|
75612
75776
|
gs.l = Math.round(ml);
|
|
@@ -76964,7 +77128,7 @@ plots.cleanBasePlot = function(desiredType, newFullData, newFullLayout, oldFullD
|
|
|
76964
77128
|
}
|
|
76965
77129
|
};
|
|
76966
77130
|
|
|
76967
|
-
},{"../components/color":
|
|
77131
|
+
},{"../components/color":82,"../constants/numerical":188,"../lib":211,"../plot_api/plot_schema":246,"../plot_api/plot_template":247,"../plots/get_data":295,"../registry":308,"./animation_attributes":252,"./attributes":254,"./cartesian/axis_ids":261,"./cartesian/handle_outline":268,"./command":284,"./font_attributes":286,"./frame_attributes":287,"./layout_attributes":297,"d3":15,"d3-time-format":13,"fast-isnumeric":17}],300:[function(_dereq_,module,exports){
|
|
76968
77132
|
/**
|
|
76969
77133
|
* Copyright 2012-2020, Plotly, Inc.
|
|
76970
77134
|
* All rights reserved.
|
|
@@ -77008,7 +77172,7 @@ module.exports = {
|
|
|
77008
77172
|
}
|
|
77009
77173
|
};
|
|
77010
77174
|
|
|
77011
|
-
},{"../../../lib/extend":
|
|
77175
|
+
},{"../../../lib/extend":203,"../../../traces/scatter/attributes":330}],301:[function(_dereq_,module,exports){
|
|
77012
77176
|
/**
|
|
77013
77177
|
* Copyright 2012-2020, Plotly, Inc.
|
|
77014
77178
|
* All rights reserved.
|
|
@@ -77130,7 +77294,7 @@ module.exports = overrideAll({
|
|
|
77130
77294
|
}
|
|
77131
77295
|
}, 'plot', 'nested');
|
|
77132
77296
|
|
|
77133
|
-
},{"../../../lib/extend":
|
|
77297
|
+
},{"../../../lib/extend":203,"../../../plot_api/edit_types":240,"../../cartesian/layout_attributes":272}],302:[function(_dereq_,module,exports){
|
|
77134
77298
|
/**
|
|
77135
77299
|
* Copyright 2012-2020, Plotly, Inc.
|
|
77136
77300
|
* All rights reserved.
|
|
@@ -77145,7 +77309,7 @@ var Polar = module.exports = _dereq_('./micropolar');
|
|
|
77145
77309
|
|
|
77146
77310
|
Polar.manager = _dereq_('./micropolar_manager');
|
|
77147
77311
|
|
|
77148
|
-
},{"./micropolar":
|
|
77312
|
+
},{"./micropolar":303,"./micropolar_manager":304}],303:[function(_dereq_,module,exports){
|
|
77149
77313
|
/**
|
|
77150
77314
|
* Copyright 2012-2020, Plotly, Inc.
|
|
77151
77315
|
* All rights reserved.
|
|
@@ -78565,7 +78729,7 @@ var µ = module.exports = { version: '0.2.2' };
|
|
|
78565
78729
|
return exports;
|
|
78566
78730
|
};
|
|
78567
78731
|
|
|
78568
|
-
},{"../../../constants/alignment":
|
|
78732
|
+
},{"../../../constants/alignment":184,"../../../lib":211,"d3":15}],304:[function(_dereq_,module,exports){
|
|
78569
78733
|
/**
|
|
78570
78734
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78571
78735
|
* All rights reserved.
|
|
@@ -78651,7 +78815,7 @@ manager.fillLayout = function(_gd) {
|
|
|
78651
78815
|
_gd._fullLayout = extendDeepAll(dflts, _gd.layout);
|
|
78652
78816
|
};
|
|
78653
78817
|
|
|
78654
|
-
},{"../../../components/color":
|
|
78818
|
+
},{"../../../components/color":82,"../../../lib":211,"./micropolar":303,"./undo_manager":305,"d3":15}],305:[function(_dereq_,module,exports){
|
|
78655
78819
|
/**
|
|
78656
78820
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78657
78821
|
* All rights reserved.
|
|
@@ -78717,7 +78881,7 @@ module.exports = function UndoManager() {
|
|
|
78717
78881
|
};
|
|
78718
78882
|
};
|
|
78719
78883
|
|
|
78720
|
-
},{}],
|
|
78884
|
+
},{}],306:[function(_dereq_,module,exports){
|
|
78721
78885
|
/**
|
|
78722
78886
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78723
78887
|
* All rights reserved.
|
|
@@ -78802,7 +78966,7 @@ module.exports = function handleSubplotDefaults(layoutIn, layoutOut, fullData, o
|
|
|
78802
78966
|
}
|
|
78803
78967
|
};
|
|
78804
78968
|
|
|
78805
|
-
},{"../lib":
|
|
78969
|
+
},{"../lib":211,"../plot_api/plot_template":247,"./domain":285}],307:[function(_dereq_,module,exports){
|
|
78806
78970
|
/**
|
|
78807
78971
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78808
78972
|
* All rights reserved.
|
|
@@ -78885,7 +79049,7 @@ exports.texttemplateAttrs = function(opts, extra) {
|
|
|
78885
79049
|
return texttemplate;
|
|
78886
79050
|
};
|
|
78887
79051
|
|
|
78888
|
-
},{"../constants/docs":
|
|
79052
|
+
},{"../constants/docs":186}],308:[function(_dereq_,module,exports){
|
|
78889
79053
|
/**
|
|
78890
79054
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78891
79055
|
* All rights reserved.
|
|
@@ -79351,7 +79515,7 @@ function getTraceType(traceType) {
|
|
|
79351
79515
|
return traceType;
|
|
79352
79516
|
}
|
|
79353
79517
|
|
|
79354
|
-
},{"./lib/dom":
|
|
79518
|
+
},{"./lib/dom":201,"./lib/extend":203,"./lib/is_plain_object":212,"./lib/loggers":215,"./lib/noop":220,"./lib/push_unique":225,"./plots/attributes":254,"./plots/layout_attributes":297}],309:[function(_dereq_,module,exports){
|
|
79355
79519
|
/**
|
|
79356
79520
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79357
79521
|
* All rights reserved.
|
|
@@ -79524,7 +79688,7 @@ module.exports = function clonePlot(graphObj, options) {
|
|
|
79524
79688
|
return plotTile;
|
|
79525
79689
|
};
|
|
79526
79690
|
|
|
79527
|
-
},{"../lib":
|
|
79691
|
+
},{"../lib":211,"../registry":308}],310:[function(_dereq_,module,exports){
|
|
79528
79692
|
/**
|
|
79529
79693
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79530
79694
|
* All rights reserved.
|
|
@@ -79596,7 +79760,7 @@ function downloadImage(gd, opts) {
|
|
|
79596
79760
|
|
|
79597
79761
|
module.exports = downloadImage;
|
|
79598
79762
|
|
|
79599
|
-
},{"../lib":
|
|
79763
|
+
},{"../lib":211,"../plot_api/to_image":250,"./filesaver":311,"./helpers":312}],311:[function(_dereq_,module,exports){
|
|
79600
79764
|
/**
|
|
79601
79765
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79602
79766
|
* All rights reserved.
|
|
@@ -79676,7 +79840,7 @@ function fileSaver(url, name, format) {
|
|
|
79676
79840
|
|
|
79677
79841
|
module.exports = fileSaver;
|
|
79678
79842
|
|
|
79679
|
-
},{"../lib":
|
|
79843
|
+
},{"../lib":211,"./helpers":312}],312:[function(_dereq_,module,exports){
|
|
79680
79844
|
/**
|
|
79681
79845
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79682
79846
|
* All rights reserved.
|
|
@@ -79759,7 +79923,7 @@ exports.IMAGE_URL_PREFIX = /^data:image\/\w+;base64,/;
|
|
|
79759
79923
|
|
|
79760
79924
|
exports.MSG_IE_BAD_FORMAT = 'Sorry IE does not support downloading from canvas. Try {format:\'svg\'} instead.';
|
|
79761
79925
|
|
|
79762
|
-
},{"../registry":
|
|
79926
|
+
},{"../registry":308}],313:[function(_dereq_,module,exports){
|
|
79763
79927
|
/**
|
|
79764
79928
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79765
79929
|
* All rights reserved.
|
|
@@ -79785,7 +79949,7 @@ var Snapshot = {
|
|
|
79785
79949
|
|
|
79786
79950
|
module.exports = Snapshot;
|
|
79787
79951
|
|
|
79788
|
-
},{"./cloneplot":
|
|
79952
|
+
},{"./cloneplot":309,"./download":310,"./helpers":312,"./svgtoimg":314,"./toimage":315,"./tosvg":316}],314:[function(_dereq_,module,exports){
|
|
79789
79953
|
/**
|
|
79790
79954
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79791
79955
|
* All rights reserved.
|
|
@@ -79912,7 +80076,7 @@ function svgToImg(opts) {
|
|
|
79912
80076
|
|
|
79913
80077
|
module.exports = svgToImg;
|
|
79914
80078
|
|
|
79915
|
-
},{"../lib":
|
|
80079
|
+
},{"../lib":211,"./helpers":312,"events":11}],315:[function(_dereq_,module,exports){
|
|
79916
80080
|
/**
|
|
79917
80081
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79918
80082
|
* All rights reserved.
|
|
@@ -79989,7 +80153,7 @@ function toImage(gd, opts) {
|
|
|
79989
80153
|
|
|
79990
80154
|
module.exports = toImage;
|
|
79991
80155
|
|
|
79992
|
-
},{"../lib":
|
|
80156
|
+
},{"../lib":211,"../registry":308,"./cloneplot":309,"./helpers":312,"./svgtoimg":314,"./tosvg":316,"events":11}],316:[function(_dereq_,module,exports){
|
|
79993
80157
|
/**
|
|
79994
80158
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79995
80159
|
* All rights reserved.
|
|
@@ -80178,7 +80342,7 @@ module.exports = function toSVG(gd, format, scale) {
|
|
|
80178
80342
|
return s;
|
|
80179
80343
|
};
|
|
80180
80344
|
|
|
80181
|
-
},{"../components/color":
|
|
80345
|
+
},{"../components/color":82,"../components/drawing":104,"../constants/xmlns_namespaces":189,"../lib":211,"d3":15}],317:[function(_dereq_,module,exports){
|
|
80182
80346
|
/**
|
|
80183
80347
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80184
80348
|
* All rights reserved.
|
|
@@ -80270,7 +80434,7 @@ module.exports = extendFlat({
|
|
|
80270
80434
|
})
|
|
80271
80435
|
);
|
|
80272
80436
|
|
|
80273
|
-
},{"../../components/color/attributes":
|
|
80437
|
+
},{"../../components/color/attributes":81,"../../components/colorscale/attributes":89,"../../lib/extend":203,"../../plots/attributes":254,"../../plots/template_attributes":307,"../scattergeo/attributes":358}],318:[function(_dereq_,module,exports){
|
|
80274
80438
|
/**
|
|
80275
80439
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80276
80440
|
* All rights reserved.
|
|
@@ -80331,7 +80495,7 @@ module.exports = function calc(gd, trace) {
|
|
|
80331
80495
|
return calcTrace;
|
|
80332
80496
|
};
|
|
80333
80497
|
|
|
80334
|
-
},{"../../components/colorscale/calc":
|
|
80498
|
+
},{"../../components/colorscale/calc":90,"../../constants/numerical":188,"../scatter/arrays_to_calcdata":329,"../scatter/calc_selection":332,"fast-isnumeric":17}],319:[function(_dereq_,module,exports){
|
|
80335
80499
|
/**
|
|
80336
80500
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80337
80501
|
* All rights reserved.
|
|
@@ -80387,7 +80551,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
80387
80551
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
80388
80552
|
};
|
|
80389
80553
|
|
|
80390
|
-
},{"../../components/colorscale/defaults":
|
|
80554
|
+
},{"../../components/colorscale/defaults":92,"../../lib":211,"./attributes":317}],320:[function(_dereq_,module,exports){
|
|
80391
80555
|
/**
|
|
80392
80556
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80393
80557
|
* All rights reserved.
|
|
@@ -80412,7 +80576,7 @@ module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
|
80412
80576
|
return out;
|
|
80413
80577
|
};
|
|
80414
80578
|
|
|
80415
|
-
},{}],
|
|
80579
|
+
},{}],321:[function(_dereq_,module,exports){
|
|
80416
80580
|
/**
|
|
80417
80581
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80418
80582
|
* All rights reserved.
|
|
@@ -80507,7 +80671,7 @@ function makeHoverInfo(pointData, trace, pt) {
|
|
|
80507
80671
|
pointData.extraText = text.join('<br>');
|
|
80508
80672
|
}
|
|
80509
80673
|
|
|
80510
|
-
},{"../../lib":
|
|
80674
|
+
},{"../../lib":211,"../../plots/cartesian/axes":258,"./attributes":317}],322:[function(_dereq_,module,exports){
|
|
80511
80675
|
/**
|
|
80512
80676
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80513
80677
|
* All rights reserved.
|
|
@@ -80540,7 +80704,7 @@ module.exports = {
|
|
|
80540
80704
|
}
|
|
80541
80705
|
};
|
|
80542
80706
|
|
|
80543
|
-
},{"../../plots/geo":
|
|
80707
|
+
},{"../../plots/geo":290,"../heatmap/colorbar":326,"./attributes":317,"./calc":318,"./defaults":319,"./event_data":320,"./hover":321,"./plot":323,"./select":324,"./style":325}],323:[function(_dereq_,module,exports){
|
|
80544
80708
|
/**
|
|
80545
80709
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80546
80710
|
* All rights reserved.
|
|
@@ -80628,7 +80792,7 @@ module.exports = {
|
|
|
80628
80792
|
plot: plot
|
|
80629
80793
|
};
|
|
80630
80794
|
|
|
80631
|
-
},{"../../lib":
|
|
80795
|
+
},{"../../lib":211,"../../lib/geo_location_utils":206,"../../lib/topojson_utils":236,"../../plots/cartesian/autorange":257,"./style":325,"d3":15}],324:[function(_dereq_,module,exports){
|
|
80632
80796
|
/**
|
|
80633
80797
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80634
80798
|
* All rights reserved.
|
|
@@ -80677,7 +80841,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
80677
80841
|
return selection;
|
|
80678
80842
|
};
|
|
80679
80843
|
|
|
80680
|
-
},{}],
|
|
80844
|
+
},{}],325:[function(_dereq_,module,exports){
|
|
80681
80845
|
/**
|
|
80682
80846
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80683
80847
|
* All rights reserved.
|
|
@@ -80733,7 +80897,7 @@ module.exports = {
|
|
|
80733
80897
|
styleOnSelect: styleOnSelect
|
|
80734
80898
|
};
|
|
80735
80899
|
|
|
80736
|
-
},{"../../components/color":
|
|
80900
|
+
},{"../../components/color":82,"../../components/colorscale":94,"../../components/drawing":104,"d3":15}],326:[function(_dereq_,module,exports){
|
|
80737
80901
|
/**
|
|
80738
80902
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80739
80903
|
* All rights reserved.
|
|
@@ -80749,7 +80913,7 @@ module.exports = {
|
|
|
80749
80913
|
max: 'zmax'
|
|
80750
80914
|
};
|
|
80751
80915
|
|
|
80752
|
-
},{}],
|
|
80916
|
+
},{}],327:[function(_dereq_,module,exports){
|
|
80753
80917
|
/**
|
|
80754
80918
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80755
80919
|
* All rights reserved.
|
|
@@ -80797,7 +80961,7 @@ exports.getRotationAngle = function(rotation) {
|
|
|
80797
80961
|
return (rotation === 'auto' ? 0 : rotation) * Math.PI / 180;
|
|
80798
80962
|
};
|
|
80799
80963
|
|
|
80800
|
-
},{"../../lib":
|
|
80964
|
+
},{"../../lib":211}],328:[function(_dereq_,module,exports){
|
|
80801
80965
|
/**
|
|
80802
80966
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80803
80967
|
* All rights reserved.
|
|
@@ -80821,7 +80985,7 @@ module.exports = function styleOne(s, pt, trace) {
|
|
|
80821
80985
|
.call(Color.stroke, lineColor);
|
|
80822
80986
|
};
|
|
80823
80987
|
|
|
80824
|
-
},{"../../components/color":
|
|
80988
|
+
},{"../../components/color":82,"./helpers":327}],329:[function(_dereq_,module,exports){
|
|
80825
80989
|
/**
|
|
80826
80990
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80827
80991
|
* All rights reserved.
|
|
@@ -80873,7 +81037,7 @@ module.exports = function arraysToCalcdata(cd, trace) {
|
|
|
80873
81037
|
}
|
|
80874
81038
|
};
|
|
80875
81039
|
|
|
80876
|
-
},{"../../lib":
|
|
81040
|
+
},{"../../lib":211}],330:[function(_dereq_,module,exports){
|
|
80877
81041
|
/**
|
|
80878
81042
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80879
81043
|
* All rights reserved.
|
|
@@ -81327,7 +81491,7 @@ module.exports = {
|
|
|
81327
81491
|
}
|
|
81328
81492
|
};
|
|
81329
81493
|
|
|
81330
|
-
},{"../../components/colorscale/attributes":
|
|
81494
|
+
},{"../../components/colorscale/attributes":89,"../../components/drawing":104,"../../components/drawing/attributes":103,"../../lib/extend":203,"../../plots/font_attributes":286,"../../plots/template_attributes":307,"./constants":334}],331:[function(_dereq_,module,exports){
|
|
81331
81495
|
/**
|
|
81332
81496
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81333
81497
|
* All rights reserved.
|
|
@@ -81626,7 +81790,7 @@ module.exports = {
|
|
|
81626
81790
|
getStackOpts: getStackOpts
|
|
81627
81791
|
};
|
|
81628
81792
|
|
|
81629
|
-
},{"../../constants/numerical":
|
|
81793
|
+
},{"../../constants/numerical":188,"../../lib":211,"../../plots/cartesian/align_period":255,"../../plots/cartesian/axes":258,"./arrays_to_calcdata":329,"./calc_selection":332,"./colorscale_calc":333,"./subtypes":355,"fast-isnumeric":17}],332:[function(_dereq_,module,exports){
|
|
81630
81794
|
/**
|
|
81631
81795
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81632
81796
|
* All rights reserved.
|
|
@@ -81645,7 +81809,7 @@ module.exports = function calcSelection(cd, trace) {
|
|
|
81645
81809
|
}
|
|
81646
81810
|
};
|
|
81647
81811
|
|
|
81648
|
-
},{"../../lib":
|
|
81812
|
+
},{"../../lib":211}],333:[function(_dereq_,module,exports){
|
|
81649
81813
|
/**
|
|
81650
81814
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81651
81815
|
* All rights reserved.
|
|
@@ -81688,7 +81852,7 @@ module.exports = function calcMarkerColorscale(gd, trace) {
|
|
|
81688
81852
|
}
|
|
81689
81853
|
};
|
|
81690
81854
|
|
|
81691
|
-
},{"../../components/colorscale/calc":
|
|
81855
|
+
},{"../../components/colorscale/calc":90,"../../components/colorscale/helpers":93,"./subtypes":355}],334:[function(_dereq_,module,exports){
|
|
81692
81856
|
/**
|
|
81693
81857
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81694
81858
|
* All rights reserved.
|
|
@@ -81717,7 +81881,7 @@ module.exports = {
|
|
|
81717
81881
|
eventDataKeys: []
|
|
81718
81882
|
};
|
|
81719
81883
|
|
|
81720
|
-
},{}],
|
|
81884
|
+
},{}],335:[function(_dereq_,module,exports){
|
|
81721
81885
|
/**
|
|
81722
81886
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81723
81887
|
* All rights reserved.
|
|
@@ -81898,7 +82062,7 @@ function getInterp(calcTrace, index, position, posAttr) {
|
|
|
81898
82062
|
return pt0.s + (pt1.s - pt0.s) * (position - pt0[posAttr]) / (pt1[posAttr] - pt0[posAttr]);
|
|
81899
82063
|
}
|
|
81900
82064
|
|
|
81901
|
-
},{"./calc":
|
|
82065
|
+
},{"./calc":331}],336:[function(_dereq_,module,exports){
|
|
81902
82066
|
/**
|
|
81903
82067
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81904
82068
|
* All rights reserved.
|
|
@@ -81937,7 +82101,7 @@ module.exports = function crossTraceDefaults(fullData) {
|
|
|
81937
82101
|
}
|
|
81938
82102
|
};
|
|
81939
82103
|
|
|
81940
|
-
},{}],
|
|
82104
|
+
},{}],337:[function(_dereq_,module,exports){
|
|
81941
82105
|
/**
|
|
81942
82106
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81943
82107
|
* All rights reserved.
|
|
@@ -82030,7 +82194,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
82030
82194
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
82031
82195
|
};
|
|
82032
82196
|
|
|
82033
|
-
},{"../../lib":
|
|
82197
|
+
},{"../../lib":211,"../../registry":308,"./attributes":330,"./constants":334,"./fillcolor_defaults":338,"./line_defaults":343,"./line_shape_defaults":345,"./marker_defaults":349,"./period_defaults":350,"./stack_defaults":353,"./subtypes":355,"./text_defaults":356,"./xy_defaults":357}],338:[function(_dereq_,module,exports){
|
|
82034
82198
|
/**
|
|
82035
82199
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82036
82200
|
* All rights reserved.
|
|
@@ -82067,7 +82231,7 @@ module.exports = function fillColorDefaults(traceIn, traceOut, defaultColor, coe
|
|
|
82067
82231
|
));
|
|
82068
82232
|
};
|
|
82069
82233
|
|
|
82070
|
-
},{"../../components/color":
|
|
82234
|
+
},{"../../components/color":82,"../../lib":211}],339:[function(_dereq_,module,exports){
|
|
82071
82235
|
/**
|
|
82072
82236
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82073
82237
|
* All rights reserved.
|
|
@@ -82093,7 +82257,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
82093
82257
|
return labels;
|
|
82094
82258
|
};
|
|
82095
82259
|
|
|
82096
|
-
},{"../../plots/cartesian/axes":
|
|
82260
|
+
},{"../../plots/cartesian/axes":258}],340:[function(_dereq_,module,exports){
|
|
82097
82261
|
/**
|
|
82098
82262
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82099
82263
|
* All rights reserved.
|
|
@@ -82142,7 +82306,7 @@ module.exports = function getTraceColor(trace, di) {
|
|
|
82142
82306
|
}
|
|
82143
82307
|
};
|
|
82144
82308
|
|
|
82145
|
-
},{"../../components/color":
|
|
82309
|
+
},{"../../components/color":82,"./subtypes":355}],341:[function(_dereq_,module,exports){
|
|
82146
82310
|
/**
|
|
82147
82311
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82148
82312
|
* All rights reserved.
|
|
@@ -82337,7 +82501,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
|
|
|
82337
82501
|
}
|
|
82338
82502
|
};
|
|
82339
82503
|
|
|
82340
|
-
},{"../../components/color":
|
|
82504
|
+
},{"../../components/color":82,"../../components/fx":122,"../../lib":211,"../../registry":308,"./get_trace_color":340}],342:[function(_dereq_,module,exports){
|
|
82341
82505
|
/**
|
|
82342
82506
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82343
82507
|
* All rights reserved.
|
|
@@ -82383,7 +82547,7 @@ module.exports = {
|
|
|
82383
82547
|
}
|
|
82384
82548
|
};
|
|
82385
82549
|
|
|
82386
|
-
},{"../../plots/cartesian":
|
|
82550
|
+
},{"../../plots/cartesian":271,"./arrays_to_calcdata":329,"./attributes":330,"./calc":331,"./cross_trace_calc":335,"./cross_trace_defaults":336,"./defaults":337,"./format_labels":339,"./hover":341,"./marker_colorbar":348,"./plot":351,"./select":352,"./style":354,"./subtypes":355}],343:[function(_dereq_,module,exports){
|
|
82387
82551
|
/**
|
|
82388
82552
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82389
82553
|
* All rights reserved.
|
|
@@ -82414,7 +82578,7 @@ module.exports = function lineDefaults(traceIn, traceOut, defaultColor, layout,
|
|
|
82414
82578
|
if(!(opts || {}).noDash) coerce('line.dash');
|
|
82415
82579
|
};
|
|
82416
82580
|
|
|
82417
|
-
},{"../../components/colorscale/defaults":
|
|
82581
|
+
},{"../../components/colorscale/defaults":92,"../../components/colorscale/helpers":93,"../../lib":211}],344:[function(_dereq_,module,exports){
|
|
82418
82582
|
/**
|
|
82419
82583
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82420
82584
|
* All rights reserved.
|
|
@@ -82875,7 +83039,7 @@ module.exports = function linePoints(d, opts) {
|
|
|
82875
83039
|
return segments;
|
|
82876
83040
|
};
|
|
82877
83041
|
|
|
82878
|
-
},{"../../constants/numerical":
|
|
83042
|
+
},{"../../constants/numerical":188,"../../lib":211,"./constants":334}],345:[function(_dereq_,module,exports){
|
|
82879
83043
|
/**
|
|
82880
83044
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82881
83045
|
* All rights reserved.
|
|
@@ -82894,7 +83058,7 @@ module.exports = function handleLineShapeDefaults(traceIn, traceOut, coerce) {
|
|
|
82894
83058
|
if(shape === 'spline') coerce('line.smoothing');
|
|
82895
83059
|
};
|
|
82896
83060
|
|
|
82897
|
-
},{}],
|
|
83061
|
+
},{}],346:[function(_dereq_,module,exports){
|
|
82898
83062
|
/**
|
|
82899
83063
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82900
83064
|
* All rights reserved.
|
|
@@ -82984,7 +83148,7 @@ module.exports = function linkTraces(gd, plotinfo, cdscatter) {
|
|
|
82984
83148
|
return cdscatterSorted;
|
|
82985
83149
|
};
|
|
82986
83150
|
|
|
82987
|
-
},{}],
|
|
83151
|
+
},{}],347:[function(_dereq_,module,exports){
|
|
82988
83152
|
/**
|
|
82989
83153
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82990
83154
|
* All rights reserved.
|
|
@@ -83026,7 +83190,7 @@ module.exports = function makeBubbleSizeFn(trace) {
|
|
|
83026
83190
|
};
|
|
83027
83191
|
};
|
|
83028
83192
|
|
|
83029
|
-
},{"fast-isnumeric":17}],
|
|
83193
|
+
},{"fast-isnumeric":17}],348:[function(_dereq_,module,exports){
|
|
83030
83194
|
/**
|
|
83031
83195
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83032
83196
|
* All rights reserved.
|
|
@@ -83044,7 +83208,7 @@ module.exports = {
|
|
|
83044
83208
|
max: 'cmax'
|
|
83045
83209
|
};
|
|
83046
83210
|
|
|
83047
|
-
},{}],
|
|
83211
|
+
},{}],349:[function(_dereq_,module,exports){
|
|
83048
83212
|
/**
|
|
83049
83213
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83050
83214
|
* All rights reserved.
|
|
@@ -83125,7 +83289,7 @@ module.exports = function markerDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
83125
83289
|
}
|
|
83126
83290
|
};
|
|
83127
83291
|
|
|
83128
|
-
},{"../../components/color":
|
|
83292
|
+
},{"../../components/color":82,"../../components/colorscale/defaults":92,"../../components/colorscale/helpers":93,"./subtypes":355}],350:[function(_dereq_,module,exports){
|
|
83129
83293
|
/**
|
|
83130
83294
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83131
83295
|
* All rights reserved.
|
|
@@ -83172,7 +83336,7 @@ module.exports = function handlePeriodDefaults(traceIn, traceOut, layout, coerce
|
|
|
83172
83336
|
}
|
|
83173
83337
|
};
|
|
83174
83338
|
|
|
83175
|
-
},{"../../constants/numerical":
|
|
83339
|
+
},{"../../constants/numerical":188,"../../lib":211}],351:[function(_dereq_,module,exports){
|
|
83176
83340
|
/**
|
|
83177
83341
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83178
83342
|
* All rights reserved.
|
|
@@ -83666,7 +83830,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
|
|
|
83666
83830
|
join.selectAll('text')
|
|
83667
83831
|
.call(Drawing.textPointStyle, trace, gd)
|
|
83668
83832
|
.each(function(d) {
|
|
83669
|
-
// This just *has* to be totally custom
|
|
83833
|
+
// This just *has* to be totally custom because of SVG text positioning :(
|
|
83670
83834
|
// It's obviously copied from translatePoint; we just can't use that
|
|
83671
83835
|
var x = xa.c2p(d.x);
|
|
83672
83836
|
var y = ya.c2p(d.y);
|
|
@@ -83733,7 +83897,7 @@ function selectMarkers(gd, idx, plotinfo, cdscatter, cdscatterAll) {
|
|
|
83733
83897
|
});
|
|
83734
83898
|
}
|
|
83735
83899
|
|
|
83736
|
-
},{"../../components/drawing":
|
|
83900
|
+
},{"../../components/drawing":104,"../../lib":211,"../../lib/polygon":223,"../../registry":308,"./line_points":344,"./link_traces":346,"./subtypes":355,"d3":15}],352:[function(_dereq_,module,exports){
|
|
83737
83901
|
/**
|
|
83738
83902
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83739
83903
|
* All rights reserved.
|
|
@@ -83787,7 +83951,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
83787
83951
|
return selection;
|
|
83788
83952
|
};
|
|
83789
83953
|
|
|
83790
|
-
},{"./subtypes":
|
|
83954
|
+
},{"./subtypes":355}],353:[function(_dereq_,module,exports){
|
|
83791
83955
|
/**
|
|
83792
83956
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83793
83957
|
* All rights reserved.
|
|
@@ -83892,7 +84056,7 @@ module.exports = function handleStackDefaults(traceIn, traceOut, layout, coerce)
|
|
|
83892
84056
|
}
|
|
83893
84057
|
};
|
|
83894
84058
|
|
|
83895
|
-
},{}],
|
|
84059
|
+
},{}],354:[function(_dereq_,module,exports){
|
|
83896
84060
|
/**
|
|
83897
84061
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83898
84062
|
* All rights reserved.
|
|
@@ -83963,7 +84127,7 @@ module.exports = {
|
|
|
83963
84127
|
styleOnSelect: styleOnSelect
|
|
83964
84128
|
};
|
|
83965
84129
|
|
|
83966
|
-
},{"../../components/drawing":
|
|
84130
|
+
},{"../../components/drawing":104,"../../registry":308,"d3":15}],355:[function(_dereq_,module,exports){
|
|
83967
84131
|
/**
|
|
83968
84132
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83969
84133
|
* All rights reserved.
|
|
@@ -84002,7 +84166,7 @@ module.exports = {
|
|
|
84002
84166
|
}
|
|
84003
84167
|
};
|
|
84004
84168
|
|
|
84005
|
-
},{"../../lib":
|
|
84169
|
+
},{"../../lib":211}],356:[function(_dereq_,module,exports){
|
|
84006
84170
|
/**
|
|
84007
84171
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84008
84172
|
* All rights reserved.
|
|
@@ -84032,7 +84196,7 @@ module.exports = function(traceIn, traceOut, layout, coerce, opts) {
|
|
|
84032
84196
|
}
|
|
84033
84197
|
};
|
|
84034
84198
|
|
|
84035
|
-
},{"../../lib":
|
|
84199
|
+
},{"../../lib":211}],357:[function(_dereq_,module,exports){
|
|
84036
84200
|
/**
|
|
84037
84201
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84038
84202
|
* All rights reserved.
|
|
@@ -84076,7 +84240,7 @@ module.exports = function handleXYDefaults(traceIn, traceOut, layout, coerce) {
|
|
|
84076
84240
|
return len;
|
|
84077
84241
|
};
|
|
84078
84242
|
|
|
84079
|
-
},{"../../lib":
|
|
84243
|
+
},{"../../lib":211,"../../registry":308}],358:[function(_dereq_,module,exports){
|
|
84080
84244
|
/**
|
|
84081
84245
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84082
84246
|
* All rights reserved.
|
|
@@ -84195,7 +84359,7 @@ module.exports = overrideAll({
|
|
|
84195
84359
|
hovertemplate: hovertemplateAttrs(),
|
|
84196
84360
|
}, 'calc', 'nested');
|
|
84197
84361
|
|
|
84198
|
-
},{"../../components/colorscale/attributes":
|
|
84362
|
+
},{"../../components/colorscale/attributes":89,"../../components/drawing/attributes":103,"../../lib/extend":203,"../../plot_api/edit_types":240,"../../plots/attributes":254,"../../plots/template_attributes":307,"../scatter/attributes":330}],359:[function(_dereq_,module,exports){
|
|
84199
84363
|
/**
|
|
84200
84364
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84201
84365
|
* All rights reserved.
|
|
@@ -84263,7 +84427,7 @@ module.exports = function calc(gd, trace) {
|
|
|
84263
84427
|
return calcTrace;
|
|
84264
84428
|
};
|
|
84265
84429
|
|
|
84266
|
-
},{"../../constants/numerical":
|
|
84430
|
+
},{"../../constants/numerical":188,"../../lib":211,"../scatter/arrays_to_calcdata":329,"../scatter/calc_selection":332,"../scatter/colorscale_calc":333,"fast-isnumeric":17}],360:[function(_dereq_,module,exports){
|
|
84267
84431
|
/**
|
|
84268
84432
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84269
84433
|
* All rights reserved.
|
|
@@ -84346,7 +84510,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
84346
84510
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
84347
84511
|
};
|
|
84348
84512
|
|
|
84349
|
-
},{"../../lib":
|
|
84513
|
+
},{"../../lib":211,"../scatter/fillcolor_defaults":338,"../scatter/line_defaults":343,"../scatter/marker_defaults":349,"../scatter/subtypes":355,"../scatter/text_defaults":356,"./attributes":358}],361:[function(_dereq_,module,exports){
|
|
84350
84514
|
/**
|
|
84351
84515
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84352
84516
|
* All rights reserved.
|
|
@@ -84373,7 +84537,7 @@ module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
|
84373
84537
|
return out;
|
|
84374
84538
|
};
|
|
84375
84539
|
|
|
84376
|
-
},{}],
|
|
84540
|
+
},{}],362:[function(_dereq_,module,exports){
|
|
84377
84541
|
/**
|
|
84378
84542
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84379
84543
|
* All rights reserved.
|
|
@@ -84398,7 +84562,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
84398
84562
|
return labels;
|
|
84399
84563
|
};
|
|
84400
84564
|
|
|
84401
|
-
},{"../../plots/cartesian/axes":
|
|
84565
|
+
},{"../../plots/cartesian/axes":258}],363:[function(_dereq_,module,exports){
|
|
84402
84566
|
/**
|
|
84403
84567
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84404
84568
|
* All rights reserved.
|
|
@@ -84510,7 +84674,7 @@ function getExtraText(trace, pt, pointData, labels) {
|
|
|
84510
84674
|
return text.join('<br>');
|
|
84511
84675
|
}
|
|
84512
84676
|
|
|
84513
|
-
},{"../../components/fx":
|
|
84677
|
+
},{"../../components/fx":122,"../../constants/numerical":188,"../../lib":211,"../scatter/get_trace_color":340,"./attributes":358}],364:[function(_dereq_,module,exports){
|
|
84514
84678
|
/**
|
|
84515
84679
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84516
84680
|
* All rights reserved.
|
|
@@ -84545,7 +84709,7 @@ module.exports = {
|
|
|
84545
84709
|
}
|
|
84546
84710
|
};
|
|
84547
84711
|
|
|
84548
|
-
},{"../../plots/geo":
|
|
84712
|
+
},{"../../plots/geo":290,"../scatter/marker_colorbar":348,"../scatter/style":354,"./attributes":358,"./calc":359,"./defaults":360,"./event_data":361,"./format_labels":362,"./hover":363,"./plot":365,"./select":366,"./style":367}],365:[function(_dereq_,module,exports){
|
|
84549
84713
|
/**
|
|
84550
84714
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84551
84715
|
* All rights reserved.
|
|
@@ -84674,7 +84838,7 @@ module.exports = {
|
|
|
84674
84838
|
plot: plot
|
|
84675
84839
|
};
|
|
84676
84840
|
|
|
84677
|
-
},{"../../constants/numerical":
|
|
84841
|
+
},{"../../constants/numerical":188,"../../lib":211,"../../lib/geo_location_utils":206,"../../lib/geojson_utils":207,"../../lib/topojson_utils":236,"../../plots/cartesian/autorange":257,"../scatter/calc":331,"../scatter/subtypes":355,"./style":367,"d3":15}],366:[function(_dereq_,module,exports){
|
|
84678
84842
|
/**
|
|
84679
84843
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84680
84844
|
* All rights reserved.
|
|
@@ -84731,7 +84895,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
84731
84895
|
return selection;
|
|
84732
84896
|
};
|
|
84733
84897
|
|
|
84734
|
-
},{"../../constants/numerical":
|
|
84898
|
+
},{"../../constants/numerical":188,"../scatter/subtypes":355}],367:[function(_dereq_,module,exports){
|
|
84735
84899
|
/**
|
|
84736
84900
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84737
84901
|
* All rights reserved.
|
|
@@ -84780,7 +84944,7 @@ function styleTrace(gd, calcTrace) {
|
|
|
84780
84944
|
});
|
|
84781
84945
|
}
|
|
84782
84946
|
|
|
84783
|
-
},{"../../components/color":
|
|
84947
|
+
},{"../../components/color":82,"../../components/drawing":104,"../scatter/style":354,"d3":15}],368:[function(_dereq_,module,exports){
|
|
84784
84948
|
/**
|
|
84785
84949
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84786
84950
|
* All rights reserved.
|
|
@@ -84792,7 +84956,7 @@ function styleTrace(gd, calcTrace) {
|
|
|
84792
84956
|
'use strict';
|
|
84793
84957
|
|
|
84794
84958
|
// package version injected by `npm run preprocess`
|
|
84795
|
-
exports.version = '1.58.
|
|
84959
|
+
exports.version = '1.58.4';
|
|
84796
84960
|
|
|
84797
84961
|
},{}]},{},[4])(4)
|
|
84798
84962
|
});
|