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-mapbox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js (mapbox) v1.58.
|
|
2
|
+
* plotly.js (mapbox) 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":212}],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/choroplethmapbox');
|
|
87
87
|
|
|
88
|
-
},{"../src/traces/choroplethmapbox":
|
|
88
|
+
},{"../src/traces/choroplethmapbox":325}],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/choroplethmapbox');
|
|
|
98
98
|
|
|
99
99
|
module.exports = _dereq_('../src/core');
|
|
100
100
|
|
|
101
|
-
},{"../src/core":
|
|
101
|
+
},{"../src/core":191}],4:[function(_dereq_,module,exports){
|
|
102
102
|
/**
|
|
103
103
|
* Copyright 2012-2020, Plotly, Inc.
|
|
104
104
|
* All rights reserved.
|
|
@@ -111,7 +111,7 @@ module.exports = _dereq_('../src/core');
|
|
|
111
111
|
|
|
112
112
|
module.exports = _dereq_('../src/traces/densitymapbox');
|
|
113
113
|
|
|
114
|
-
},{"../src/traces/densitymapbox":
|
|
114
|
+
},{"../src/traces/densitymapbox":333}],5:[function(_dereq_,module,exports){
|
|
115
115
|
/**
|
|
116
116
|
* Copyright 2012-2020, Plotly, Inc.
|
|
117
117
|
* All rights reserved.
|
|
@@ -145,7 +145,7 @@ module.exports = Plotly;
|
|
|
145
145
|
|
|
146
146
|
module.exports = _dereq_('../src/traces/scattermapbox');
|
|
147
147
|
|
|
148
|
-
},{"../src/traces/scattermapbox":
|
|
148
|
+
},{"../src/traces/scattermapbox":375}],7:[function(_dereq_,module,exports){
|
|
149
149
|
"use strict";
|
|
150
150
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
151
151
|
var meta_1 = _dereq_("@turf/meta");
|
|
@@ -14758,7 +14758,7 @@ return Promise$1;
|
|
|
14758
14758
|
|
|
14759
14759
|
|
|
14760
14760
|
}).call(this)}).call(this,_dereq_('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
14761
|
-
},{"_process":
|
|
14761
|
+
},{"_process":65}],18:[function(_dereq_,module,exports){
|
|
14762
14762
|
/**
|
|
14763
14763
|
* inspired by is-number <https://github.com/jonschlinkert/is-number>
|
|
14764
14764
|
* but significantly simplified and sped up by ignoring number and string constructors
|
|
@@ -14784,7 +14784,7 @@ module.exports = function(n) {
|
|
|
14784
14784
|
return n - n < 1;
|
|
14785
14785
|
};
|
|
14786
14786
|
|
|
14787
|
-
},{"is-string-blank":
|
|
14787
|
+
},{"is-string-blank":53}],19:[function(_dereq_,module,exports){
|
|
14788
14788
|
module.exports = adjoint;
|
|
14789
14789
|
|
|
14790
14790
|
/**
|
|
@@ -16054,6 +16054,43 @@ module.exports = isBrowser && detect()
|
|
|
16054
16054
|
},{"is-browser":51}],51:[function(_dereq_,module,exports){
|
|
16055
16055
|
module.exports = true;
|
|
16056
16056
|
},{}],52:[function(_dereq_,module,exports){
|
|
16057
|
+
'use strict'
|
|
16058
|
+
|
|
16059
|
+
module.exports = isMobile
|
|
16060
|
+
module.exports.isMobile = isMobile
|
|
16061
|
+
module.exports.default = isMobile
|
|
16062
|
+
|
|
16063
|
+
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
|
|
16064
|
+
|
|
16065
|
+
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
|
|
16066
|
+
|
|
16067
|
+
function isMobile (opts) {
|
|
16068
|
+
if (!opts) opts = {}
|
|
16069
|
+
var ua = opts.ua
|
|
16070
|
+
if (!ua && typeof navigator !== 'undefined') ua = navigator.userAgent
|
|
16071
|
+
if (ua && ua.headers && typeof ua.headers['user-agent'] === 'string') {
|
|
16072
|
+
ua = ua.headers['user-agent']
|
|
16073
|
+
}
|
|
16074
|
+
if (typeof ua !== 'string') return false
|
|
16075
|
+
|
|
16076
|
+
var result = opts.tablet ? tabletRE.test(ua) : mobileRE.test(ua)
|
|
16077
|
+
|
|
16078
|
+
if (
|
|
16079
|
+
!result &&
|
|
16080
|
+
opts.tablet &&
|
|
16081
|
+
opts.featureDetect &&
|
|
16082
|
+
navigator &&
|
|
16083
|
+
navigator.maxTouchPoints > 1 &&
|
|
16084
|
+
ua.indexOf('Macintosh') !== -1 &&
|
|
16085
|
+
ua.indexOf('Safari') !== -1
|
|
16086
|
+
) {
|
|
16087
|
+
result = true
|
|
16088
|
+
}
|
|
16089
|
+
|
|
16090
|
+
return result
|
|
16091
|
+
}
|
|
16092
|
+
|
|
16093
|
+
},{}],53:[function(_dereq_,module,exports){
|
|
16057
16094
|
'use strict';
|
|
16058
16095
|
|
|
16059
16096
|
/**
|
|
@@ -16090,7 +16127,7 @@ module.exports = function(str){
|
|
|
16090
16127
|
return true;
|
|
16091
16128
|
}
|
|
16092
16129
|
|
|
16093
|
-
},{}],
|
|
16130
|
+
},{}],54:[function(_dereq_,module,exports){
|
|
16094
16131
|
/* Mapbox GL JS is licensed under the 3-Clause BSD License. Full text of license: https://github.com/mapbox/mapbox-gl-js/blob/v1.10.1/LICENSE.txt */
|
|
16095
16132
|
(function (global, factory) {
|
|
16096
16133
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -16132,7 +16169,7 @@ return mapboxgl;
|
|
|
16132
16169
|
})));
|
|
16133
16170
|
|
|
16134
16171
|
|
|
16135
|
-
},{}],
|
|
16172
|
+
},{}],55:[function(_dereq_,module,exports){
|
|
16136
16173
|
var rootPosition = { left: 0, top: 0 }
|
|
16137
16174
|
|
|
16138
16175
|
module.exports = mouseEventOffset
|
|
@@ -16159,7 +16196,7 @@ function getBoundingClientOffset (element) {
|
|
|
16159
16196
|
}
|
|
16160
16197
|
}
|
|
16161
16198
|
|
|
16162
|
-
},{}],
|
|
16199
|
+
},{}],56:[function(_dereq_,module,exports){
|
|
16163
16200
|
|
|
16164
16201
|
module.exports = parse
|
|
16165
16202
|
|
|
@@ -16218,7 +16255,7 @@ function parseValues(args) {
|
|
|
16218
16255
|
return numbers ? numbers.map(Number) : []
|
|
16219
16256
|
}
|
|
16220
16257
|
|
|
16221
|
-
},{}],
|
|
16258
|
+
},{}],57:[function(_dereq_,module,exports){
|
|
16222
16259
|
/*
|
|
16223
16260
|
* @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
|
|
16224
16261
|
* @license MIT
|
|
@@ -16346,7 +16383,7 @@ if (typeof window === 'object')
|
|
|
16346
16383
|
|
|
16347
16384
|
module.exports = PolyBool;
|
|
16348
16385
|
|
|
16349
|
-
},{"./lib/build-log":
|
|
16386
|
+
},{"./lib/build-log":58,"./lib/epsilon":59,"./lib/geojson":60,"./lib/intersecter":61,"./lib/segment-chainer":63,"./lib/segment-selector":64}],58:[function(_dereq_,module,exports){
|
|
16350
16387
|
// (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
|
|
16351
16388
|
// MIT License
|
|
16352
16389
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -16461,7 +16498,7 @@ function BuildLog(){
|
|
|
16461
16498
|
|
|
16462
16499
|
module.exports = BuildLog;
|
|
16463
16500
|
|
|
16464
|
-
},{}],
|
|
16501
|
+
},{}],59:[function(_dereq_,module,exports){
|
|
16465
16502
|
// (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
|
|
16466
16503
|
// MIT License
|
|
16467
16504
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -16633,7 +16670,7 @@ function Epsilon(eps){
|
|
|
16633
16670
|
|
|
16634
16671
|
module.exports = Epsilon;
|
|
16635
16672
|
|
|
16636
|
-
},{}],
|
|
16673
|
+
},{}],60:[function(_dereq_,module,exports){
|
|
16637
16674
|
// (c) Copyright 2017, Sean Connelly (@voidqk), http://syntheti.cc
|
|
16638
16675
|
// MIT License
|
|
16639
16676
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -16823,7 +16860,7 @@ var GeoJSON = {
|
|
|
16823
16860
|
|
|
16824
16861
|
module.exports = GeoJSON;
|
|
16825
16862
|
|
|
16826
|
-
},{}],
|
|
16863
|
+
},{}],61:[function(_dereq_,module,exports){
|
|
16827
16864
|
// (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
|
|
16828
16865
|
// MIT License
|
|
16829
16866
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -17330,7 +17367,7 @@ function Intersecter(selfIntersection, eps, buildLog){
|
|
|
17330
17367
|
|
|
17331
17368
|
module.exports = Intersecter;
|
|
17332
17369
|
|
|
17333
|
-
},{"./linked-list":
|
|
17370
|
+
},{"./linked-list":62}],62:[function(_dereq_,module,exports){
|
|
17334
17371
|
// (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
|
|
17335
17372
|
// MIT License
|
|
17336
17373
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -17413,7 +17450,7 @@ var LinkedList = {
|
|
|
17413
17450
|
|
|
17414
17451
|
module.exports = LinkedList;
|
|
17415
17452
|
|
|
17416
|
-
},{}],
|
|
17453
|
+
},{}],63:[function(_dereq_,module,exports){
|
|
17417
17454
|
// (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
|
|
17418
17455
|
// MIT License
|
|
17419
17456
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -17667,7 +17704,7 @@ function SegmentChainer(segments, eps, buildLog){
|
|
|
17667
17704
|
|
|
17668
17705
|
module.exports = SegmentChainer;
|
|
17669
17706
|
|
|
17670
|
-
},{}],
|
|
17707
|
+
},{}],64:[function(_dereq_,module,exports){
|
|
17671
17708
|
// (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
|
|
17672
17709
|
// MIT License
|
|
17673
17710
|
// Project Home: https://github.com/voidqk/polybooljs
|
|
@@ -17835,7 +17872,7 @@ var SegmentSelector = {
|
|
|
17835
17872
|
|
|
17836
17873
|
module.exports = SegmentSelector;
|
|
17837
17874
|
|
|
17838
|
-
},{}],
|
|
17875
|
+
},{}],65:[function(_dereq_,module,exports){
|
|
17839
17876
|
// shim for using process in browser
|
|
17840
17877
|
var process = module.exports = {};
|
|
17841
17878
|
|
|
@@ -18021,7 +18058,7 @@ process.chdir = function (dir) {
|
|
|
18021
18058
|
};
|
|
18022
18059
|
process.umask = function() { return 0; };
|
|
18023
18060
|
|
|
18024
|
-
},{}],
|
|
18061
|
+
},{}],66:[function(_dereq_,module,exports){
|
|
18025
18062
|
// TinyColor v1.4.2
|
|
18026
18063
|
// https://github.com/bgrins/TinyColor
|
|
18027
18064
|
// Brian Grinstead, MIT License
|
|
@@ -19218,7 +19255,7 @@ else {
|
|
|
19218
19255
|
|
|
19219
19256
|
})(Math);
|
|
19220
19257
|
|
|
19221
|
-
},{}],
|
|
19258
|
+
},{}],67:[function(_dereq_,module,exports){
|
|
19222
19259
|
/**
|
|
19223
19260
|
* Copyright 2012-2020, Plotly, Inc.
|
|
19224
19261
|
* All rights reserved.
|
|
@@ -19289,7 +19326,7 @@ module.exports = [
|
|
|
19289
19326
|
}
|
|
19290
19327
|
];
|
|
19291
19328
|
|
|
19292
|
-
},{}],
|
|
19329
|
+
},{}],68:[function(_dereq_,module,exports){
|
|
19293
19330
|
/**
|
|
19294
19331
|
* Copyright 2012-2020, Plotly, Inc.
|
|
19295
19332
|
* All rights reserved.
|
|
@@ -19671,7 +19708,7 @@ module.exports = templatedArray('annotation', {
|
|
|
19671
19708
|
}
|
|
19672
19709
|
});
|
|
19673
19710
|
|
|
19674
|
-
},{"../../constants/axis_placeable_objects":
|
|
19711
|
+
},{"../../constants/axis_placeable_objects":186,"../../plot_api/plot_template":247,"../../plots/cartesian/constants":264,"../../plots/font_attributes":286,"./arrow_paths":67}],69:[function(_dereq_,module,exports){
|
|
19675
19712
|
/**
|
|
19676
19713
|
* Copyright 2012-2020, Plotly, Inc.
|
|
19677
19714
|
* All rights reserved.
|
|
@@ -19762,7 +19799,7 @@ function calcAxisExpansion(ann, ax) {
|
|
|
19762
19799
|
ann._extremes[axId] = extremes;
|
|
19763
19800
|
}
|
|
19764
19801
|
|
|
19765
|
-
},{"../../lib":
|
|
19802
|
+
},{"../../lib":212,"../../plots/cartesian/axes":258,"./draw":74}],70:[function(_dereq_,module,exports){
|
|
19766
19803
|
/**
|
|
19767
19804
|
* Copyright 2012-2020, Plotly, Inc.
|
|
19768
19805
|
* All rights reserved.
|
|
@@ -19900,7 +19937,7 @@ function clickData2r(d, ax) {
|
|
|
19900
19937
|
return ax.type === 'log' ? ax.l2r(d) : ax.d2r(d);
|
|
19901
19938
|
}
|
|
19902
19939
|
|
|
19903
|
-
},{"../../lib":
|
|
19940
|
+
},{"../../lib":212,"../../plot_api/plot_template":247,"../../registry":308}],71:[function(_dereq_,module,exports){
|
|
19904
19941
|
/**
|
|
19905
19942
|
* Copyright 2012-2020, Plotly, Inc.
|
|
19906
19943
|
* All rights reserved.
|
|
@@ -19979,7 +20016,7 @@ module.exports = function handleAnnotationCommonDefaults(annIn, annOut, fullLayo
|
|
|
19979
20016
|
coerce('captureevents', !!hoverText);
|
|
19980
20017
|
};
|
|
19981
20018
|
|
|
19982
|
-
},{"../../lib":
|
|
20019
|
+
},{"../../lib":212,"../color":83}],72:[function(_dereq_,module,exports){
|
|
19983
20020
|
/**
|
|
19984
20021
|
* Copyright 2012-2020, Plotly, Inc.
|
|
19985
20022
|
* All rights reserved.
|
|
@@ -20042,7 +20079,7 @@ module.exports = function convertCoords(gd, ax, newType, doExtra) {
|
|
|
20042
20079
|
}
|
|
20043
20080
|
};
|
|
20044
20081
|
|
|
20045
|
-
},{"../../lib/to_log_range":
|
|
20082
|
+
},{"../../lib/to_log_range":236,"fast-isnumeric":18}],73:[function(_dereq_,module,exports){
|
|
20046
20083
|
/**
|
|
20047
20084
|
* Copyright 2012-2020, Plotly, Inc.
|
|
20048
20085
|
* All rights reserved.
|
|
@@ -20150,7 +20187,7 @@ function handleAnnotationDefaults(annIn, annOut, fullLayout) {
|
|
|
20150
20187
|
}
|
|
20151
20188
|
}
|
|
20152
20189
|
|
|
20153
|
-
},{"../../lib":
|
|
20190
|
+
},{"../../lib":212,"../../plots/array_container_defaults":253,"../../plots/cartesian/axes":258,"./attributes":68,"./common_defaults":71}],74:[function(_dereq_,module,exports){
|
|
20154
20191
|
/**
|
|
20155
20192
|
* Copyright 2012-2020, Plotly, Inc.
|
|
20156
20193
|
* All rights reserved.
|
|
@@ -20911,7 +20948,7 @@ function drawRaw(gd, options, index, subplotId, xa, ya) {
|
|
|
20911
20948
|
} else annText.call(textLayout);
|
|
20912
20949
|
}
|
|
20913
20950
|
|
|
20914
|
-
},{"../../lib":
|
|
20951
|
+
},{"../../lib":212,"../../lib/setcursor":232,"../../lib/svg_text_utils":234,"../../plot_api/plot_template":247,"../../plots/cartesian/axes":258,"../../plots/plots":299,"../../registry":308,"../color":83,"../dragelement":102,"../drawing":105,"../fx":123,"./draw_arrow_head":75,"d3":16}],75:[function(_dereq_,module,exports){
|
|
20915
20952
|
/**
|
|
20916
20953
|
* Copyright 2012-2020, Plotly, Inc.
|
|
20917
20954
|
* All rights reserved.
|
|
@@ -21067,7 +21104,7 @@ module.exports = function drawArrowHead(el3, ends, options) {
|
|
|
21067
21104
|
if(doEnd) drawhead(headStyle, end, endRot, scale);
|
|
21068
21105
|
};
|
|
21069
21106
|
|
|
21070
|
-
},{"../../lib":
|
|
21107
|
+
},{"../../lib":212,"../color":83,"./arrow_paths":67,"d3":16}],76:[function(_dereq_,module,exports){
|
|
21071
21108
|
/**
|
|
21072
21109
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21073
21110
|
* All rights reserved.
|
|
@@ -21101,7 +21138,7 @@ module.exports = {
|
|
|
21101
21138
|
convertCoords: _dereq_('./convert_coords')
|
|
21102
21139
|
};
|
|
21103
21140
|
|
|
21104
|
-
},{"../../plots/cartesian/include_components":
|
|
21141
|
+
},{"../../plots/cartesian/include_components":270,"./attributes":68,"./calc_autorange":69,"./click":70,"./convert_coords":72,"./defaults":73,"./draw":74}],77:[function(_dereq_,module,exports){
|
|
21105
21142
|
/**
|
|
21106
21143
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21107
21144
|
* All rights reserved.
|
|
@@ -21189,7 +21226,7 @@ module.exports = overrideAll(templatedArray('annotation', {
|
|
|
21189
21226
|
// zref: 'z'
|
|
21190
21227
|
}), 'calc', 'from-root');
|
|
21191
21228
|
|
|
21192
|
-
},{"../../plot_api/edit_types":
|
|
21229
|
+
},{"../../plot_api/edit_types":240,"../../plot_api/plot_template":247,"../annotations/attributes":68}],78:[function(_dereq_,module,exports){
|
|
21193
21230
|
/**
|
|
21194
21231
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21195
21232
|
* All rights reserved.
|
|
@@ -21254,7 +21291,7 @@ function mockAnnAxes(ann, scene) {
|
|
|
21254
21291
|
};
|
|
21255
21292
|
}
|
|
21256
21293
|
|
|
21257
|
-
},{"../../lib":
|
|
21294
|
+
},{"../../lib":212,"../../plots/cartesian/axes":258}],79:[function(_dereq_,module,exports){
|
|
21258
21295
|
/**
|
|
21259
21296
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21260
21297
|
* All rights reserved.
|
|
@@ -21330,7 +21367,7 @@ function handleAnnotationDefaults(annIn, annOut, sceneLayout, opts) {
|
|
|
21330
21367
|
}
|
|
21331
21368
|
}
|
|
21332
21369
|
|
|
21333
|
-
},{"../../lib":
|
|
21370
|
+
},{"../../lib":212,"../../plots/array_container_defaults":253,"../../plots/cartesian/axes":258,"../annotations/common_defaults":71,"./attributes":77}],80:[function(_dereq_,module,exports){
|
|
21334
21371
|
/**
|
|
21335
21372
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21336
21373
|
* All rights reserved.
|
|
@@ -21382,7 +21419,7 @@ module.exports = function draw(scene) {
|
|
|
21382
21419
|
}
|
|
21383
21420
|
};
|
|
21384
21421
|
|
|
21385
|
-
},{"../../plots/gl3d/project":
|
|
21422
|
+
},{"../../plots/gl3d/project":289,"../annotations/draw":74}],81:[function(_dereq_,module,exports){
|
|
21386
21423
|
/**
|
|
21387
21424
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21388
21425
|
* All rights reserved.
|
|
@@ -21430,7 +21467,7 @@ function includeGL3D(layoutIn, layoutOut) {
|
|
|
21430
21467
|
}
|
|
21431
21468
|
}
|
|
21432
21469
|
|
|
21433
|
-
},{"../../lib":
|
|
21470
|
+
},{"../../lib":212,"../../registry":308,"./attributes":77,"./convert":78,"./defaults":79,"./draw":80}],82:[function(_dereq_,module,exports){
|
|
21434
21471
|
/**
|
|
21435
21472
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21436
21473
|
* All rights reserved.
|
|
@@ -21470,7 +21507,7 @@ exports.borderLine = '#BEC8D9';
|
|
|
21470
21507
|
// gives back exactly lightLine if the other colors are defaults.
|
|
21471
21508
|
exports.lightFraction = 100 * (0xe - 0x4) / (0xf - 0x4);
|
|
21472
21509
|
|
|
21473
|
-
},{}],
|
|
21510
|
+
},{}],83:[function(_dereq_,module,exports){
|
|
21474
21511
|
/**
|
|
21475
21512
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21476
21513
|
* All rights reserved.
|
|
@@ -21644,7 +21681,7 @@ function cleanOne(val) {
|
|
|
21644
21681
|
return 'rgb(' + rgbStr + ')';
|
|
21645
21682
|
}
|
|
21646
21683
|
|
|
21647
|
-
},{"./attributes":
|
|
21684
|
+
},{"./attributes":82,"fast-isnumeric":18,"tinycolor2":66}],84:[function(_dereq_,module,exports){
|
|
21648
21685
|
/**
|
|
21649
21686
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21650
21687
|
* All rights reserved.
|
|
@@ -21835,7 +21872,7 @@ module.exports = overrideAll({
|
|
|
21835
21872
|
}
|
|
21836
21873
|
}, 'colorbars', 'from-root');
|
|
21837
21874
|
|
|
21838
|
-
},{"../../lib/extend":
|
|
21875
|
+
},{"../../lib/extend":204,"../../plot_api/edit_types":240,"../../plots/cartesian/layout_attributes":272,"../../plots/font_attributes":286}],85:[function(_dereq_,module,exports){
|
|
21839
21876
|
/**
|
|
21840
21877
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21841
21878
|
* All rights reserved.
|
|
@@ -21863,7 +21900,7 @@ module.exports = {
|
|
|
21863
21900
|
}
|
|
21864
21901
|
};
|
|
21865
21902
|
|
|
21866
|
-
},{}],
|
|
21903
|
+
},{}],86:[function(_dereq_,module,exports){
|
|
21867
21904
|
/**
|
|
21868
21905
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21869
21906
|
* All rights reserved.
|
|
@@ -21933,7 +21970,7 @@ module.exports = function colorbarDefaults(containerIn, containerOut, layout) {
|
|
|
21933
21970
|
coerce('title.side');
|
|
21934
21971
|
};
|
|
21935
21972
|
|
|
21936
|
-
},{"../../lib":
|
|
21973
|
+
},{"../../lib":212,"../../plot_api/plot_template":247,"../../plots/cartesian/tick_label_defaults":279,"../../plots/cartesian/tick_mark_defaults":280,"../../plots/cartesian/tick_value_defaults":281,"./attributes":84}],87:[function(_dereq_,module,exports){
|
|
21937
21974
|
/**
|
|
21938
21975
|
* Copyright 2012-2020, Plotly, Inc.
|
|
21939
21976
|
* All rights reserved.
|
|
@@ -22667,7 +22704,7 @@ module.exports = {
|
|
|
22667
22704
|
draw: draw
|
|
22668
22705
|
};
|
|
22669
22706
|
|
|
22670
|
-
},{"../../constants/alignment":
|
|
22707
|
+
},{"../../constants/alignment":185,"../../lib":212,"../../lib/extend":204,"../../lib/setcursor":232,"../../lib/svg_text_utils":234,"../../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":83,"../colorscale/helpers":94,"../dragelement":102,"../drawing":105,"../titles":178,"./constants":85,"d3":16,"tinycolor2":66}],88:[function(_dereq_,module,exports){
|
|
22671
22708
|
/**
|
|
22672
22709
|
* Copyright 2012-2020, Plotly, Inc.
|
|
22673
22710
|
* All rights reserved.
|
|
@@ -22686,7 +22723,7 @@ module.exports = function hasColorbar(container) {
|
|
|
22686
22723
|
return Lib.isPlainObject(container.colorbar);
|
|
22687
22724
|
};
|
|
22688
22725
|
|
|
22689
|
-
},{"../../lib":
|
|
22726
|
+
},{"../../lib":212}],89:[function(_dereq_,module,exports){
|
|
22690
22727
|
/**
|
|
22691
22728
|
* Copyright 2012-2020, Plotly, Inc.
|
|
22692
22729
|
* All rights reserved.
|
|
@@ -22708,7 +22745,7 @@ module.exports = {
|
|
|
22708
22745
|
hasColorbar: _dereq_('./has_colorbar')
|
|
22709
22746
|
};
|
|
22710
22747
|
|
|
22711
|
-
},{"./attributes":
|
|
22748
|
+
},{"./attributes":84,"./defaults":86,"./draw":87,"./has_colorbar":88}],90:[function(_dereq_,module,exports){
|
|
22712
22749
|
/**
|
|
22713
22750
|
* Copyright 2012-2020, Plotly, Inc.
|
|
22714
22751
|
* All rights reserved.
|
|
@@ -22916,7 +22953,7 @@ module.exports = function colorScaleAttrs(context, opts) {
|
|
|
22916
22953
|
return attrs;
|
|
22917
22954
|
};
|
|
22918
22955
|
|
|
22919
|
-
},{"../../lib/regex":
|
|
22956
|
+
},{"../../lib/regex":228,"../colorbar/attributes":84,"./scales.js":98}],91:[function(_dereq_,module,exports){
|
|
22920
22957
|
/**
|
|
22921
22958
|
* Copyright 2012-2020, Plotly, Inc.
|
|
22922
22959
|
* All rights reserved.
|
|
@@ -22995,7 +23032,7 @@ module.exports = function calc(gd, trace, opts) {
|
|
|
22995
23032
|
}
|
|
22996
23033
|
};
|
|
22997
23034
|
|
|
22998
|
-
},{"../../lib":
|
|
23035
|
+
},{"../../lib":212,"./helpers":94,"fast-isnumeric":18}],92:[function(_dereq_,module,exports){
|
|
22999
23036
|
/**
|
|
23000
23037
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23001
23038
|
* All rights reserved.
|
|
@@ -23072,7 +23109,7 @@ module.exports = function crossTraceDefaults(fullData, fullLayout) {
|
|
|
23072
23109
|
}
|
|
23073
23110
|
};
|
|
23074
23111
|
|
|
23075
|
-
},{"../../lib":
|
|
23112
|
+
},{"../../lib":212,"./helpers":94}],93:[function(_dereq_,module,exports){
|
|
23076
23113
|
/**
|
|
23077
23114
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23078
23115
|
* All rights reserved.
|
|
@@ -23197,7 +23234,7 @@ module.exports = function colorScaleDefaults(parentContIn, parentContOut, layout
|
|
|
23197
23234
|
}
|
|
23198
23235
|
};
|
|
23199
23236
|
|
|
23200
|
-
},{"../../lib":
|
|
23237
|
+
},{"../../lib":212,"../../registry":308,"../colorbar/defaults":86,"../colorbar/has_colorbar":88,"./scales":98,"fast-isnumeric":18}],94:[function(_dereq_,module,exports){
|
|
23201
23238
|
/**
|
|
23202
23239
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23203
23240
|
* All rights reserved.
|
|
@@ -23437,7 +23474,7 @@ module.exports = {
|
|
|
23437
23474
|
makeColorScaleFuncFromTrace: makeColorScaleFuncFromTrace
|
|
23438
23475
|
};
|
|
23439
23476
|
|
|
23440
|
-
},{"../../lib":
|
|
23477
|
+
},{"../../lib":212,"../color":83,"./scales":98,"d3":16,"fast-isnumeric":18,"tinycolor2":66}],95:[function(_dereq_,module,exports){
|
|
23441
23478
|
/**
|
|
23442
23479
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23443
23480
|
* All rights reserved.
|
|
@@ -23465,7 +23502,7 @@ module.exports = {
|
|
|
23465
23502
|
calc: _dereq_('./calc'),
|
|
23466
23503
|
|
|
23467
23504
|
// ./scales.js is required in lib/coerce.js ;
|
|
23468
|
-
// it needs to be a
|
|
23505
|
+
// it needs to be a separate module to avoid circular a dependency
|
|
23469
23506
|
scales: scales.scales,
|
|
23470
23507
|
defaultScale: scales.defaultScale,
|
|
23471
23508
|
getScale: scales.get,
|
|
@@ -23479,7 +23516,7 @@ module.exports = {
|
|
|
23479
23516
|
makeColorScaleFuncFromTrace: helpers.makeColorScaleFuncFromTrace
|
|
23480
23517
|
};
|
|
23481
23518
|
|
|
23482
|
-
},{"./attributes":
|
|
23519
|
+
},{"./attributes":90,"./calc":91,"./cross_trace_defaults":92,"./defaults":93,"./helpers":94,"./layout_attributes":96,"./layout_defaults":97,"./scales":98}],96:[function(_dereq_,module,exports){
|
|
23483
23520
|
/**
|
|
23484
23521
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23485
23522
|
* All rights reserved.
|
|
@@ -23540,7 +23577,7 @@ module.exports = {
|
|
|
23540
23577
|
}))
|
|
23541
23578
|
};
|
|
23542
23579
|
|
|
23543
|
-
},{"../../lib/extend":
|
|
23580
|
+
},{"../../lib/extend":204,"./attributes":90,"./scales":98}],97:[function(_dereq_,module,exports){
|
|
23544
23581
|
/**
|
|
23545
23582
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23546
23583
|
* All rights reserved.
|
|
@@ -23591,7 +23628,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
|
|
|
23591
23628
|
}
|
|
23592
23629
|
};
|
|
23593
23630
|
|
|
23594
|
-
},{"../../lib":
|
|
23631
|
+
},{"../../lib":212,"../../plot_api/plot_template":247,"./defaults":93,"./layout_attributes":96}],98:[function(_dereq_,module,exports){
|
|
23595
23632
|
/**
|
|
23596
23633
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23597
23634
|
* All rights reserved.
|
|
@@ -23795,7 +23832,7 @@ module.exports = {
|
|
|
23795
23832
|
isValid: isValidScale
|
|
23796
23833
|
};
|
|
23797
23834
|
|
|
23798
|
-
},{"tinycolor2":
|
|
23835
|
+
},{"tinycolor2":66}],99:[function(_dereq_,module,exports){
|
|
23799
23836
|
/**
|
|
23800
23837
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23801
23838
|
* All rights reserved.
|
|
@@ -23828,7 +23865,7 @@ module.exports = function align(v, dv, v0, v1, anchor) {
|
|
|
23828
23865
|
return vc;
|
|
23829
23866
|
};
|
|
23830
23867
|
|
|
23831
|
-
},{}],
|
|
23868
|
+
},{}],100:[function(_dereq_,module,exports){
|
|
23832
23869
|
/**
|
|
23833
23870
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23834
23871
|
* All rights reserved.
|
|
@@ -23866,7 +23903,7 @@ module.exports = function getCursor(x, y, xanchor, yanchor) {
|
|
|
23866
23903
|
return cursorset[y][x];
|
|
23867
23904
|
};
|
|
23868
23905
|
|
|
23869
|
-
},{"../../lib":
|
|
23906
|
+
},{"../../lib":212}],101:[function(_dereq_,module,exports){
|
|
23870
23907
|
/**
|
|
23871
23908
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23872
23909
|
* All rights reserved.
|
|
@@ -23925,7 +23962,7 @@ exports.selectingOrDrawing = function(dragmode) {
|
|
|
23925
23962
|
);
|
|
23926
23963
|
};
|
|
23927
23964
|
|
|
23928
|
-
},{}],
|
|
23965
|
+
},{}],102:[function(_dereq_,module,exports){
|
|
23929
23966
|
/**
|
|
23930
23967
|
* Copyright 2012-2020, Plotly, Inc.
|
|
23931
23968
|
* All rights reserved.
|
|
@@ -24217,7 +24254,7 @@ function pointerOffset(e) {
|
|
|
24217
24254
|
);
|
|
24218
24255
|
}
|
|
24219
24256
|
|
|
24220
|
-
},{"../../lib":
|
|
24257
|
+
},{"../../lib":212,"../../plots/cartesian/constants":264,"./align":99,"./cursor":100,"./unhover":103,"has-hover":49,"has-passive-events":50,"mouse-event-offset":55}],103:[function(_dereq_,module,exports){
|
|
24221
24258
|
/**
|
|
24222
24259
|
* Copyright 2012-2020, Plotly, Inc.
|
|
24223
24260
|
* All rights reserved.
|
|
@@ -24272,7 +24309,7 @@ unhover.raw = function raw(gd, evt) {
|
|
|
24272
24309
|
}
|
|
24273
24310
|
};
|
|
24274
24311
|
|
|
24275
|
-
},{"../../lib/dom":
|
|
24312
|
+
},{"../../lib/dom":202,"../../lib/events":203,"../../lib/throttle":235,"../fx/constants":117}],104:[function(_dereq_,module,exports){
|
|
24276
24313
|
/**
|
|
24277
24314
|
* Copyright 2012-2020, Plotly, Inc.
|
|
24278
24315
|
* All rights reserved.
|
|
@@ -24297,7 +24334,7 @@ exports.dash = {
|
|
|
24297
24334
|
|
|
24298
24335
|
};
|
|
24299
24336
|
|
|
24300
|
-
},{}],
|
|
24337
|
+
},{}],105:[function(_dereq_,module,exports){
|
|
24301
24338
|
/**
|
|
24302
24339
|
* Copyright 2012-2020, Plotly, Inc.
|
|
24303
24340
|
* All rights reserved.
|
|
@@ -25494,7 +25531,7 @@ drawing.setTextPointsScale = function(selection, xScale, yScale) {
|
|
|
25494
25531
|
});
|
|
25495
25532
|
};
|
|
25496
25533
|
|
|
25497
|
-
},{"../../components/fx/helpers":
|
|
25534
|
+
},{"../../components/fx/helpers":119,"../../constants/alignment":185,"../../constants/interactions":188,"../../constants/xmlns_namespaces":190,"../../lib":212,"../../lib/svg_text_utils":234,"../../registry":308,"../../traces/scatter/make_bubble_size_func":356,"../../traces/scatter/subtypes":364,"../color":83,"../colorscale":95,"./symbol_defs":106,"d3":16,"fast-isnumeric":18,"tinycolor2":66}],106:[function(_dereq_,module,exports){
|
|
25498
25535
|
/**
|
|
25499
25536
|
* Copyright 2012-2020, Plotly, Inc.
|
|
25500
25537
|
* All rights reserved.
|
|
@@ -26058,7 +26095,7 @@ module.exports = {
|
|
|
26058
26095
|
}
|
|
26059
26096
|
};
|
|
26060
26097
|
|
|
26061
|
-
},{"d3":16}],
|
|
26098
|
+
},{"d3":16}],107:[function(_dereq_,module,exports){
|
|
26062
26099
|
/**
|
|
26063
26100
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26064
26101
|
* All rights reserved.
|
|
@@ -26173,7 +26210,7 @@ module.exports = {
|
|
|
26173
26210
|
}
|
|
26174
26211
|
};
|
|
26175
26212
|
|
|
26176
|
-
},{}],
|
|
26213
|
+
},{}],108:[function(_dereq_,module,exports){
|
|
26177
26214
|
/**
|
|
26178
26215
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26179
26216
|
* All rights reserved.
|
|
@@ -26259,7 +26296,7 @@ function calcOneAxis(calcTrace, trace, axis, coord) {
|
|
|
26259
26296
|
baseExtremes.max = baseExtremes.max.concat(extremes.max);
|
|
26260
26297
|
}
|
|
26261
26298
|
|
|
26262
|
-
},{"../../lib":
|
|
26299
|
+
},{"../../lib":212,"../../plots/cartesian/axes":258,"../../registry":308,"./compute_error":109,"fast-isnumeric":18}],109:[function(_dereq_,module,exports){
|
|
26263
26300
|
/**
|
|
26264
26301
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26265
26302
|
* All rights reserved.
|
|
@@ -26360,7 +26397,7 @@ function makeComputeErrorValue(type, value) {
|
|
|
26360
26397
|
}
|
|
26361
26398
|
}
|
|
26362
26399
|
|
|
26363
|
-
},{}],
|
|
26400
|
+
},{}],110:[function(_dereq_,module,exports){
|
|
26364
26401
|
/**
|
|
26365
26402
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26366
26403
|
* All rights reserved.
|
|
@@ -26435,7 +26472,7 @@ module.exports = function(traceIn, traceOut, defaultColor, opts) {
|
|
|
26435
26472
|
}
|
|
26436
26473
|
};
|
|
26437
26474
|
|
|
26438
|
-
},{"../../lib":
|
|
26475
|
+
},{"../../lib":212,"../../plot_api/plot_template":247,"../../registry":308,"./attributes":107,"fast-isnumeric":18}],111:[function(_dereq_,module,exports){
|
|
26439
26476
|
/**
|
|
26440
26477
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26441
26478
|
* All rights reserved.
|
|
@@ -26504,7 +26541,7 @@ function hoverInfo(calcPoint, trace, hoverPoint) {
|
|
|
26504
26541
|
}
|
|
26505
26542
|
}
|
|
26506
26543
|
|
|
26507
|
-
},{"../../lib":
|
|
26544
|
+
},{"../../lib":212,"../../plot_api/edit_types":240,"./attributes":107,"./calc":108,"./compute_error":109,"./defaults":110,"./plot":112,"./style":113}],112:[function(_dereq_,module,exports){
|
|
26508
26545
|
/**
|
|
26509
26546
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26510
26547
|
* All rights reserved.
|
|
@@ -26676,7 +26713,7 @@ function errorCoords(d, xa, ya) {
|
|
|
26676
26713
|
return out;
|
|
26677
26714
|
}
|
|
26678
26715
|
|
|
26679
|
-
},{"../../traces/scatter/subtypes":
|
|
26716
|
+
},{"../../traces/scatter/subtypes":364,"../drawing":105,"d3":16,"fast-isnumeric":18}],113:[function(_dereq_,module,exports){
|
|
26680
26717
|
/**
|
|
26681
26718
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26682
26719
|
* All rights reserved.
|
|
@@ -26713,7 +26750,7 @@ module.exports = function style(traces) {
|
|
|
26713
26750
|
});
|
|
26714
26751
|
};
|
|
26715
26752
|
|
|
26716
|
-
},{"../color":
|
|
26753
|
+
},{"../color":83,"d3":16}],114:[function(_dereq_,module,exports){
|
|
26717
26754
|
/**
|
|
26718
26755
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26719
26756
|
* All rights reserved.
|
|
@@ -26749,7 +26786,7 @@ module.exports = {
|
|
|
26749
26786
|
}
|
|
26750
26787
|
};
|
|
26751
26788
|
|
|
26752
|
-
},{"../../lib/extend":
|
|
26789
|
+
},{"../../lib/extend":204,"../../plots/font_attributes":286,"./layout_attributes":124}],115:[function(_dereq_,module,exports){
|
|
26753
26790
|
/**
|
|
26754
26791
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26755
26792
|
* All rights reserved.
|
|
@@ -26808,7 +26845,7 @@ function paste(traceAttr, cd, cdAttr, fn) {
|
|
|
26808
26845
|
}
|
|
26809
26846
|
}
|
|
26810
26847
|
|
|
26811
|
-
},{"../../lib":
|
|
26848
|
+
},{"../../lib":212,"../../registry":308}],116:[function(_dereq_,module,exports){
|
|
26812
26849
|
/**
|
|
26813
26850
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26814
26851
|
* All rights reserved.
|
|
@@ -26845,7 +26882,7 @@ module.exports = function click(gd, evt, subplot) {
|
|
|
26845
26882
|
}
|
|
26846
26883
|
};
|
|
26847
26884
|
|
|
26848
|
-
},{"../../registry":
|
|
26885
|
+
},{"../../registry":308,"./hover":120}],117:[function(_dereq_,module,exports){
|
|
26849
26886
|
/**
|
|
26850
26887
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26851
26888
|
* All rights reserved.
|
|
@@ -26877,7 +26914,7 @@ module.exports = {
|
|
|
26877
26914
|
HOVERID: '-hover'
|
|
26878
26915
|
};
|
|
26879
26916
|
|
|
26880
|
-
},{}],
|
|
26917
|
+
},{}],118:[function(_dereq_,module,exports){
|
|
26881
26918
|
/**
|
|
26882
26919
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26883
26920
|
* All rights reserved.
|
|
@@ -26903,7 +26940,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
26903
26940
|
handleHoverLabelDefaults(traceIn, traceOut, coerce, opts);
|
|
26904
26941
|
};
|
|
26905
26942
|
|
|
26906
|
-
},{"../../lib":
|
|
26943
|
+
},{"../../lib":212,"./attributes":114,"./hoverlabel_defaults":121}],119:[function(_dereq_,module,exports){
|
|
26907
26944
|
/**
|
|
26908
26945
|
* Copyright 2012-2020, Plotly, Inc.
|
|
26909
26946
|
* All rights reserved.
|
|
@@ -27165,7 +27202,7 @@ exports.isXYhover = function(hovermode) {
|
|
|
27165
27202
|
return !!xyHoverMode[hovermode];
|
|
27166
27203
|
};
|
|
27167
27204
|
|
|
27168
|
-
},{"../../lib":
|
|
27205
|
+
},{"../../lib":212}],120:[function(_dereq_,module,exports){
|
|
27169
27206
|
/**
|
|
27170
27207
|
* Copyright 2012-2020, Plotly, Inc.
|
|
27171
27208
|
* All rights reserved.
|
|
@@ -28474,7 +28511,7 @@ function getHoverLabelText(d, showCommonLabel, hovermode, fullLayout, t0, g) {
|
|
|
28474
28511
|
|
|
28475
28512
|
// Make groups of touching points, and within each group
|
|
28476
28513
|
// move each point so that no labels overlap, but the average
|
|
28477
|
-
// label position is the same as it was before moving.
|
|
28514
|
+
// label position is the same as it was before moving. Incidentally,
|
|
28478
28515
|
// this is equivalent to saying all the labels are on equal linear
|
|
28479
28516
|
// springs about their initial position. Initially, each point is
|
|
28480
28517
|
// its own group, but as we find overlaps we will clump the points.
|
|
@@ -29037,7 +29074,7 @@ function plainText(s, len) {
|
|
|
29037
29074
|
});
|
|
29038
29075
|
}
|
|
29039
29076
|
|
|
29040
|
-
},{"../../lib":
|
|
29077
|
+
},{"../../lib":212,"../../lib/events":203,"../../lib/override_cursor":223,"../../lib/svg_text_utils":234,"../../plots/cartesian/axes":258,"../../registry":308,"../color":83,"../dragelement":102,"../drawing":105,"../legend/defaults":135,"../legend/draw":136,"./constants":117,"./helpers":119,"d3":16,"fast-isnumeric":18,"tinycolor2":66}],121:[function(_dereq_,module,exports){
|
|
29041
29078
|
/**
|
|
29042
29079
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29043
29080
|
* All rights reserved.
|
|
@@ -29083,7 +29120,7 @@ module.exports = function handleHoverLabelDefaults(contIn, contOut, coerce, opts
|
|
|
29083
29120
|
coerce('hoverlabel.align', opts.align);
|
|
29084
29121
|
};
|
|
29085
29122
|
|
|
29086
|
-
},{"../../lib":
|
|
29123
|
+
},{"../../lib":212,"../color":83,"./helpers":119}],122:[function(_dereq_,module,exports){
|
|
29087
29124
|
/**
|
|
29088
29125
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29089
29126
|
* All rights reserved.
|
|
@@ -29139,7 +29176,7 @@ function isHoriz(fullData, fullLayout) {
|
|
|
29139
29176
|
return true;
|
|
29140
29177
|
}
|
|
29141
29178
|
|
|
29142
|
-
},{"../../lib":
|
|
29179
|
+
},{"../../lib":212,"./layout_attributes":124}],123:[function(_dereq_,module,exports){
|
|
29143
29180
|
/**
|
|
29144
29181
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29145
29182
|
* All rights reserved.
|
|
@@ -29218,7 +29255,7 @@ function castHoverinfo(trace, fullLayout, ptNumber) {
|
|
|
29218
29255
|
return Lib.castOption(trace, ptNumber, 'hoverinfo', _coerce);
|
|
29219
29256
|
}
|
|
29220
29257
|
|
|
29221
|
-
},{"../../lib":
|
|
29258
|
+
},{"../../lib":212,"../dragelement":102,"./attributes":114,"./calc":115,"./click":116,"./constants":117,"./defaults":118,"./helpers":119,"./hover":120,"./layout_attributes":124,"./layout_defaults":125,"./layout_global_defaults":126,"d3":16}],124:[function(_dereq_,module,exports){
|
|
29222
29259
|
/**
|
|
29223
29260
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29224
29261
|
* All rights reserved.
|
|
@@ -29334,7 +29371,7 @@ module.exports = {
|
|
|
29334
29371
|
}
|
|
29335
29372
|
};
|
|
29336
29373
|
|
|
29337
|
-
},{"../../plots/font_attributes":
|
|
29374
|
+
},{"../../plots/font_attributes":286,"./constants":117}],125:[function(_dereq_,module,exports){
|
|
29338
29375
|
/**
|
|
29339
29376
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29340
29377
|
* All rights reserved.
|
|
@@ -29382,7 +29419,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {
|
|
|
29382
29419
|
handleHoverLabelDefaults(layoutIn, layoutOut, coerce);
|
|
29383
29420
|
};
|
|
29384
29421
|
|
|
29385
|
-
},{"../../lib":
|
|
29422
|
+
},{"../../lib":212,"./helpers":119,"./hoverlabel_defaults":121,"./hovermode_defaults":122,"./layout_attributes":124}],126:[function(_dereq_,module,exports){
|
|
29386
29423
|
/**
|
|
29387
29424
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29388
29425
|
* All rights reserved.
|
|
@@ -29405,7 +29442,7 @@ module.exports = function supplyLayoutGlobalDefaults(layoutIn, layoutOut) {
|
|
|
29405
29442
|
handleHoverLabelDefaults(layoutIn, layoutOut, coerce);
|
|
29406
29443
|
};
|
|
29407
29444
|
|
|
29408
|
-
},{"../../lib":
|
|
29445
|
+
},{"../../lib":212,"./hoverlabel_defaults":121,"./layout_attributes":124}],127:[function(_dereq_,module,exports){
|
|
29409
29446
|
/**
|
|
29410
29447
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29411
29448
|
* All rights reserved.
|
|
@@ -29779,7 +29816,7 @@ module.exports = {
|
|
|
29779
29816
|
contentDefaults: contentDefaults
|
|
29780
29817
|
};
|
|
29781
29818
|
|
|
29782
|
-
},{"../../lib":
|
|
29819
|
+
},{"../../lib":212,"../../lib/regex":228,"../../plot_api/plot_template":247,"../../plots/cartesian/constants":264,"../../plots/domain":285}],128:[function(_dereq_,module,exports){
|
|
29783
29820
|
/**
|
|
29784
29821
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29785
29822
|
* All rights reserved.
|
|
@@ -29915,7 +29952,7 @@ module.exports = templatedArray('image', {
|
|
|
29915
29952
|
editType: 'arraydraw'
|
|
29916
29953
|
});
|
|
29917
29954
|
|
|
29918
|
-
},{"../../constants/axis_placeable_objects":
|
|
29955
|
+
},{"../../constants/axis_placeable_objects":186,"../../plot_api/plot_template":247,"../../plots/cartesian/constants":264}],129:[function(_dereq_,module,exports){
|
|
29919
29956
|
/**
|
|
29920
29957
|
* Copyright 2012-2020, Plotly, Inc.
|
|
29921
29958
|
* All rights reserved.
|
|
@@ -29996,7 +30033,7 @@ module.exports = function convertCoords(gd, ax, newType, doExtra) {
|
|
|
29996
30033
|
}
|
|
29997
30034
|
};
|
|
29998
30035
|
|
|
29999
|
-
},{"../../lib/to_log_range":
|
|
30036
|
+
},{"../../lib/to_log_range":236,"fast-isnumeric":18}],130:[function(_dereq_,module,exports){
|
|
30000
30037
|
/**
|
|
30001
30038
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30002
30039
|
* All rights reserved.
|
|
@@ -30061,7 +30098,7 @@ function imageDefaults(imageIn, imageOut, fullLayout) {
|
|
|
30061
30098
|
return imageOut;
|
|
30062
30099
|
}
|
|
30063
30100
|
|
|
30064
|
-
},{"../../lib":
|
|
30101
|
+
},{"../../lib":212,"../../plots/array_container_defaults":253,"../../plots/cartesian/axes":258,"./attributes":128}],131:[function(_dereq_,module,exports){
|
|
30065
30102
|
/**
|
|
30066
30103
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30067
30104
|
* All rights reserved.
|
|
@@ -30319,7 +30356,7 @@ module.exports = function draw(gd) {
|
|
|
30319
30356
|
}
|
|
30320
30357
|
};
|
|
30321
30358
|
|
|
30322
|
-
},{"../../constants/xmlns_namespaces":
|
|
30359
|
+
},{"../../constants/xmlns_namespaces":190,"../../plots/cartesian/axes":258,"../../plots/cartesian/axis_ids":261,"../drawing":105,"d3":16}],132:[function(_dereq_,module,exports){
|
|
30323
30360
|
/**
|
|
30324
30361
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30325
30362
|
* All rights reserved.
|
|
@@ -30343,7 +30380,7 @@ module.exports = {
|
|
|
30343
30380
|
convertCoords: _dereq_('./convert_coords')
|
|
30344
30381
|
};
|
|
30345
30382
|
|
|
30346
|
-
},{"../../plots/cartesian/include_components":
|
|
30383
|
+
},{"../../plots/cartesian/include_components":270,"./attributes":128,"./convert_coords":129,"./defaults":130,"./draw":131}],133:[function(_dereq_,module,exports){
|
|
30347
30384
|
/**
|
|
30348
30385
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30349
30386
|
* All rights reserved.
|
|
@@ -30512,7 +30549,7 @@ module.exports = {
|
|
|
30512
30549
|
editType: 'legend'
|
|
30513
30550
|
};
|
|
30514
30551
|
|
|
30515
|
-
},{"../../plots/font_attributes":
|
|
30552
|
+
},{"../../plots/font_attributes":286,"../color/attributes":82}],134:[function(_dereq_,module,exports){
|
|
30516
30553
|
/**
|
|
30517
30554
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30518
30555
|
* All rights reserved.
|
|
@@ -30536,7 +30573,7 @@ module.exports = {
|
|
|
30536
30573
|
itemGap: 5
|
|
30537
30574
|
};
|
|
30538
30575
|
|
|
30539
|
-
},{}],
|
|
30576
|
+
},{}],135:[function(_dereq_,module,exports){
|
|
30540
30577
|
/**
|
|
30541
30578
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30542
30579
|
* All rights reserved.
|
|
@@ -30671,7 +30708,7 @@ module.exports = function legendDefaults(layoutIn, layoutOut, fullData) {
|
|
|
30671
30708
|
}
|
|
30672
30709
|
};
|
|
30673
30710
|
|
|
30674
|
-
},{"../../lib":
|
|
30711
|
+
},{"../../lib":212,"../../plot_api/plot_template":247,"../../plots/layout_attributes":290,"../../registry":308,"./attributes":133,"./helpers":139}],136:[function(_dereq_,module,exports){
|
|
30675
30712
|
/**
|
|
30676
30713
|
* Copyright 2012-2020, Plotly, Inc.
|
|
30677
30714
|
* All rights reserved.
|
|
@@ -31468,7 +31505,7 @@ function getYanchor(opts) {
|
|
|
31468
31505
|
'top';
|
|
31469
31506
|
}
|
|
31470
31507
|
|
|
31471
|
-
},{"../../constants/alignment":
|
|
31508
|
+
},{"../../constants/alignment":185,"../../lib":212,"../../lib/events":203,"../../lib/svg_text_utils":234,"../../plots/plots":299,"../../registry":308,"../color":83,"../dragelement":102,"../drawing":105,"./constants":134,"./get_legend_data":137,"./handle_click":138,"./helpers":139,"./style":141,"d3":16}],137:[function(_dereq_,module,exports){
|
|
31472
31509
|
/**
|
|
31473
31510
|
* Copyright 2012-2020, Plotly, Inc.
|
|
31474
31511
|
* All rights reserved.
|
|
@@ -31577,7 +31614,7 @@ module.exports = function getLegendData(calcdata, opts) {
|
|
|
31577
31614
|
return legendData;
|
|
31578
31615
|
};
|
|
31579
31616
|
|
|
31580
|
-
},{"../../registry":
|
|
31617
|
+
},{"../../registry":308,"./helpers":139}],138:[function(_dereq_,module,exports){
|
|
31581
31618
|
/**
|
|
31582
31619
|
* Copyright 2012-2020, Plotly, Inc.
|
|
31583
31620
|
* All rights reserved.
|
|
@@ -31816,7 +31853,7 @@ module.exports = function handleClick(g, gd, numClicks) {
|
|
|
31816
31853
|
}
|
|
31817
31854
|
};
|
|
31818
31855
|
|
|
31819
|
-
},{"../../lib":
|
|
31856
|
+
},{"../../lib":212,"../../registry":308}],139:[function(_dereq_,module,exports){
|
|
31820
31857
|
/**
|
|
31821
31858
|
* Copyright 2012-2020, Plotly, Inc.
|
|
31822
31859
|
* All rights reserved.
|
|
@@ -31840,7 +31877,7 @@ exports.isReversed = function isReversed(legendLayout) {
|
|
|
31840
31877
|
return (legendLayout.traceorder || '').indexOf('reversed') !== -1;
|
|
31841
31878
|
};
|
|
31842
31879
|
|
|
31843
|
-
},{}],
|
|
31880
|
+
},{}],140:[function(_dereq_,module,exports){
|
|
31844
31881
|
/**
|
|
31845
31882
|
* Copyright 2012-2020, Plotly, Inc.
|
|
31846
31883
|
* All rights reserved.
|
|
@@ -31864,7 +31901,7 @@ module.exports = {
|
|
|
31864
31901
|
style: _dereq_('./style')
|
|
31865
31902
|
};
|
|
31866
31903
|
|
|
31867
|
-
},{"./attributes":
|
|
31904
|
+
},{"./attributes":133,"./defaults":135,"./draw":136,"./style":141}],141:[function(_dereq_,module,exports){
|
|
31868
31905
|
/**
|
|
31869
31906
|
* Copyright 2012-2020, Plotly, Inc.
|
|
31870
31907
|
* All rights reserved.
|
|
@@ -32497,7 +32534,7 @@ function getGradientDirection(reversescale, isRadial) {
|
|
|
32497
32534
|
return str + (reversescale ? '' : 'reversed');
|
|
32498
32535
|
}
|
|
32499
32536
|
|
|
32500
|
-
},{"../../lib":
|
|
32537
|
+
},{"../../lib":212,"../../registry":308,"../../traces/pie/helpers":336,"../../traces/pie/style_one":337,"../../traces/scatter/subtypes":364,"../color":83,"../colorscale/helpers":94,"../drawing":105,"./constants":134,"d3":16}],142:[function(_dereq_,module,exports){
|
|
32501
32538
|
/**
|
|
32502
32539
|
* Copyright 2012-2020, Plotly, Inc.
|
|
32503
32540
|
* All rights reserved.
|
|
@@ -33233,7 +33270,7 @@ function resetView(gd, subplotType) {
|
|
|
33233
33270
|
Registry.call('_guiRelayout', gd, aObj);
|
|
33234
33271
|
}
|
|
33235
33272
|
|
|
33236
|
-
},{"../../fonts/ploticon":
|
|
33273
|
+
},{"../../fonts/ploticon":193,"../../lib":212,"../../plots/cartesian/axis_ids":261,"../../plots/plots":299,"../../registry":308,"../shapes/draw":164}],143:[function(_dereq_,module,exports){
|
|
33237
33274
|
/**
|
|
33238
33275
|
* Copyright 2012-2020, Plotly, Inc.
|
|
33239
33276
|
* All rights reserved.
|
|
@@ -33247,7 +33284,7 @@ function resetView(gd, subplotType) {
|
|
|
33247
33284
|
|
|
33248
33285
|
exports.manage = _dereq_('./manage');
|
|
33249
33286
|
|
|
33250
|
-
},{"./manage":
|
|
33287
|
+
},{"./manage":144}],144:[function(_dereq_,module,exports){
|
|
33251
33288
|
/**
|
|
33252
33289
|
* Copyright 2012-2020, Plotly, Inc.
|
|
33253
33290
|
* All rights reserved.
|
|
@@ -33543,7 +33580,7 @@ function fillCustomButton(customButtons) {
|
|
|
33543
33580
|
return customButtons;
|
|
33544
33581
|
}
|
|
33545
33582
|
|
|
33546
|
-
},{"../../plots/cartesian/axis_ids":
|
|
33583
|
+
},{"../../plots/cartesian/axis_ids":261,"../../registry":308,"../../traces/scatter/subtypes":364,"../fx/helpers":119,"./buttons":142,"./modebar":145}],145:[function(_dereq_,module,exports){
|
|
33547
33584
|
/**
|
|
33548
33585
|
* Copyright 2012-2020, Plotly, Inc.
|
|
33549
33586
|
* All rights reserved.
|
|
@@ -33889,7 +33926,7 @@ function createModeBar(gd, buttons) {
|
|
|
33889
33926
|
|
|
33890
33927
|
module.exports = createModeBar;
|
|
33891
33928
|
|
|
33892
|
-
},{"../../fonts/ploticon":
|
|
33929
|
+
},{"../../fonts/ploticon":193,"../../lib":212,"d3":16,"fast-isnumeric":18}],146:[function(_dereq_,module,exports){
|
|
33893
33930
|
/**
|
|
33894
33931
|
* Copyright 2012-2020, Plotly, Inc.
|
|
33895
33932
|
* All rights reserved.
|
|
@@ -34025,7 +34062,7 @@ module.exports = {
|
|
|
34025
34062
|
editType: 'plot'
|
|
34026
34063
|
};
|
|
34027
34064
|
|
|
34028
|
-
},{"../../plot_api/plot_template":
|
|
34065
|
+
},{"../../plot_api/plot_template":247,"../../plots/font_attributes":286,"../color/attributes":82}],147:[function(_dereq_,module,exports){
|
|
34029
34066
|
/**
|
|
34030
34067
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34031
34068
|
* All rights reserved.
|
|
@@ -34054,7 +34091,7 @@ module.exports = {
|
|
|
34054
34091
|
darkAmount: 10
|
|
34055
34092
|
};
|
|
34056
34093
|
|
|
34057
|
-
},{}],
|
|
34094
|
+
},{}],148:[function(_dereq_,module,exports){
|
|
34058
34095
|
/**
|
|
34059
34096
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34060
34097
|
* All rights reserved.
|
|
@@ -34146,7 +34183,7 @@ function getPosDflt(containerOut, layout, counterAxes) {
|
|
|
34146
34183
|
return [containerOut.domain[0], posY + constants.yPad];
|
|
34147
34184
|
}
|
|
34148
34185
|
|
|
34149
|
-
},{"../../lib":
|
|
34186
|
+
},{"../../lib":212,"../../plot_api/plot_template":247,"../../plots/array_container_defaults":253,"../color":83,"./attributes":146,"./constants":147}],149:[function(_dereq_,module,exports){
|
|
34150
34187
|
/**
|
|
34151
34188
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34152
34189
|
* All rights reserved.
|
|
@@ -34401,7 +34438,7 @@ function reposition(gd, buttons, opts, axName, selector) {
|
|
|
34401
34438
|
selector.attr('transform', strTranslate(lx, ly));
|
|
34402
34439
|
}
|
|
34403
34440
|
|
|
34404
|
-
},{"../../constants/alignment":
|
|
34441
|
+
},{"../../constants/alignment":185,"../../lib":212,"../../lib/svg_text_utils":234,"../../plots/cartesian/axis_ids":261,"../../plots/plots":299,"../../registry":308,"../color":83,"../drawing":105,"./constants":147,"./get_update_object":150,"d3":16}],150:[function(_dereq_,module,exports){
|
|
34405
34442
|
/**
|
|
34406
34443
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34407
34444
|
* All rights reserved.
|
|
@@ -34455,7 +34492,7 @@ function getXRange(axisLayout, buttonLayout) {
|
|
|
34455
34492
|
return [range0, range1];
|
|
34456
34493
|
}
|
|
34457
34494
|
|
|
34458
|
-
},{"d3":16}],
|
|
34495
|
+
},{"d3":16}],151:[function(_dereq_,module,exports){
|
|
34459
34496
|
/**
|
|
34460
34497
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34461
34498
|
* All rights reserved.
|
|
@@ -34482,7 +34519,7 @@ module.exports = {
|
|
|
34482
34519
|
draw: _dereq_('./draw')
|
|
34483
34520
|
};
|
|
34484
34521
|
|
|
34485
|
-
},{"./attributes":
|
|
34522
|
+
},{"./attributes":146,"./defaults":148,"./draw":149}],152:[function(_dereq_,module,exports){
|
|
34486
34523
|
/**
|
|
34487
34524
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34488
34525
|
* All rights reserved.
|
|
@@ -34556,7 +34593,7 @@ module.exports = {
|
|
|
34556
34593
|
editType: 'calc'
|
|
34557
34594
|
};
|
|
34558
34595
|
|
|
34559
|
-
},{"../color/attributes":
|
|
34596
|
+
},{"../color/attributes":82}],153:[function(_dereq_,module,exports){
|
|
34560
34597
|
/**
|
|
34561
34598
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34562
34599
|
* All rights reserved.
|
|
@@ -34590,7 +34627,7 @@ module.exports = function calcAutorange(gd) {
|
|
|
34590
34627
|
}
|
|
34591
34628
|
};
|
|
34592
34629
|
|
|
34593
|
-
},{"../../plots/cartesian/autorange":
|
|
34630
|
+
},{"../../plots/cartesian/autorange":257,"../../plots/cartesian/axis_ids":261,"./constants":154}],154:[function(_dereq_,module,exports){
|
|
34594
34631
|
/**
|
|
34595
34632
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34596
34633
|
* All rights reserved.
|
|
@@ -34646,7 +34683,7 @@ module.exports = {
|
|
|
34646
34683
|
extraPad: 15
|
|
34647
34684
|
};
|
|
34648
34685
|
|
|
34649
|
-
},{}],
|
|
34686
|
+
},{}],155:[function(_dereq_,module,exports){
|
|
34650
34687
|
/**
|
|
34651
34688
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34652
34689
|
* All rights reserved.
|
|
@@ -34732,7 +34769,7 @@ module.exports = function handleDefaults(layoutIn, layoutOut, axName) {
|
|
|
34732
34769
|
containerOut._input = containerIn;
|
|
34733
34770
|
};
|
|
34734
34771
|
|
|
34735
|
-
},{"../../lib":
|
|
34772
|
+
},{"../../lib":212,"../../plot_api/plot_template":247,"../../plots/cartesian/axis_ids":261,"./attributes":152,"./oppaxis_attributes":159}],156:[function(_dereq_,module,exports){
|
|
34736
34773
|
/**
|
|
34737
34774
|
* Copyright 2012-2020, Plotly, Inc.
|
|
34738
34775
|
* All rights reserved.
|
|
@@ -35376,7 +35413,7 @@ function drawGrabbers(rangeSlider, gd, axisOpts, opts) {
|
|
|
35376
35413
|
grabAreaMax.attr('height', opts._height);
|
|
35377
35414
|
}
|
|
35378
35415
|
|
|
35379
|
-
},{"../../lib":
|
|
35416
|
+
},{"../../lib":212,"../../lib/setcursor":232,"../../plots/cartesian":271,"../../plots/cartesian/axis_ids":261,"../../plots/plots":299,"../../registry":308,"../color":83,"../dragelement":102,"../drawing":105,"../titles":178,"./constants":154,"d3":16}],157:[function(_dereq_,module,exports){
|
|
35380
35417
|
/**
|
|
35381
35418
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35382
35419
|
* All rights reserved.
|
|
@@ -35451,7 +35488,7 @@ exports.autoMarginOpts = function(gd, ax) {
|
|
|
35451
35488
|
};
|
|
35452
35489
|
};
|
|
35453
35490
|
|
|
35454
|
-
},{"../../constants/alignment":
|
|
35491
|
+
},{"../../constants/alignment":185,"../../lib/svg_text_utils":234,"../../plots/cartesian/axis_ids":261,"./constants":154}],158:[function(_dereq_,module,exports){
|
|
35455
35492
|
/**
|
|
35456
35493
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35457
35494
|
* All rights reserved.
|
|
@@ -35490,7 +35527,7 @@ module.exports = {
|
|
|
35490
35527
|
autoMarginOpts: helpers.autoMarginOpts
|
|
35491
35528
|
};
|
|
35492
35529
|
|
|
35493
|
-
},{"../../lib":
|
|
35530
|
+
},{"../../lib":212,"./attributes":152,"./calc_autorange":153,"./defaults":155,"./draw":156,"./helpers":157,"./oppaxis_attributes":159}],159:[function(_dereq_,module,exports){
|
|
35494
35531
|
/**
|
|
35495
35532
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35496
35533
|
* All rights reserved.
|
|
@@ -35528,7 +35565,7 @@ module.exports = {
|
|
|
35528
35565
|
editType: 'calc'
|
|
35529
35566
|
};
|
|
35530
35567
|
|
|
35531
|
-
},{}],
|
|
35568
|
+
},{}],160:[function(_dereq_,module,exports){
|
|
35532
35569
|
/**
|
|
35533
35570
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35534
35571
|
* All rights reserved.
|
|
@@ -35681,7 +35718,7 @@ module.exports = templatedArray('shape', {
|
|
|
35681
35718
|
editType: 'arraydraw'
|
|
35682
35719
|
});
|
|
35683
35720
|
|
|
35684
|
-
},{"../../constants/axis_placeable_objects":
|
|
35721
|
+
},{"../../constants/axis_placeable_objects":186,"../../lib/extend":204,"../../plot_api/plot_template":247,"../../traces/scatter/attributes":339,"../annotations/attributes":68,"../drawing/attributes":104}],161:[function(_dereq_,module,exports){
|
|
35685
35722
|
/**
|
|
35686
35723
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35687
35724
|
* All rights reserved.
|
|
@@ -35801,7 +35838,7 @@ function shapeBounds(ax, v0, v1, path, paramsToUse) {
|
|
|
35801
35838
|
if(max >= min) return [min, max];
|
|
35802
35839
|
}
|
|
35803
35840
|
|
|
35804
|
-
},{"../../lib":
|
|
35841
|
+
},{"../../lib":212,"../../plots/cartesian/axes":258,"./constants":162,"./helpers":171}],162:[function(_dereq_,module,exports){
|
|
35805
35842
|
/**
|
|
35806
35843
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35807
35844
|
* All rights reserved.
|
|
@@ -35865,7 +35902,7 @@ module.exports = {
|
|
|
35865
35902
|
}
|
|
35866
35903
|
};
|
|
35867
35904
|
|
|
35868
|
-
},{}],
|
|
35905
|
+
},{}],163:[function(_dereq_,module,exports){
|
|
35869
35906
|
/**
|
|
35870
35907
|
* Copyright 2012-2020, Plotly, Inc.
|
|
35871
35908
|
* All rights reserved.
|
|
@@ -35996,7 +36033,7 @@ function handleShapeDefaults(shapeIn, shapeOut, fullLayout) {
|
|
|
35996
36033
|
}
|
|
35997
36034
|
}
|
|
35998
36035
|
|
|
35999
|
-
},{"../../lib":
|
|
36036
|
+
},{"../../lib":212,"../../plots/array_container_defaults":253,"../../plots/cartesian/axes":258,"./attributes":160,"./helpers":171}],164:[function(_dereq_,module,exports){
|
|
36000
36037
|
/**
|
|
36001
36038
|
* Copyright 2012-2020, Plotly, Inc.
|
|
36002
36039
|
* All rights reserved.
|
|
@@ -36770,7 +36807,7 @@ function eraseActiveShape(gd) {
|
|
|
36770
36807
|
}
|
|
36771
36808
|
}
|
|
36772
36809
|
|
|
36773
|
-
},{"../../lib":
|
|
36810
|
+
},{"../../lib":212,"../../lib/setcursor":232,"../../plot_api/plot_template":247,"../../plots/cartesian/axes":258,"../../plots/cartesian/handle_outline":268,"../../registry":308,"../color":83,"../dragelement":102,"../drawing":105,"./constants":162,"./draw_newshape/display_outlines":168,"./draw_newshape/helpers":169,"./helpers":171}],165:[function(_dereq_,module,exports){
|
|
36774
36811
|
/**
|
|
36775
36812
|
* Copyright 2012-2020, Plotly, Inc.
|
|
36776
36813
|
* All rights reserved.
|
|
@@ -36873,7 +36910,7 @@ module.exports = {
|
|
|
36873
36910
|
}
|
|
36874
36911
|
};
|
|
36875
36912
|
|
|
36876
|
-
},{"../../../lib/extend":
|
|
36913
|
+
},{"../../../lib/extend":204,"../../drawing/attributes":104}],166:[function(_dereq_,module,exports){
|
|
36877
36914
|
/**
|
|
36878
36915
|
* Copyright 2012-2020, Plotly, Inc.
|
|
36879
36916
|
* All rights reserved.
|
|
@@ -36897,7 +36934,7 @@ module.exports = {
|
|
|
36897
36934
|
SQRT2: Math.sqrt(2)
|
|
36898
36935
|
};
|
|
36899
36936
|
|
|
36900
|
-
},{}],
|
|
36937
|
+
},{}],167:[function(_dereq_,module,exports){
|
|
36901
36938
|
/**
|
|
36902
36939
|
* Copyright 2012-2020, Plotly, Inc.
|
|
36903
36940
|
* All rights reserved.
|
|
@@ -36929,7 +36966,7 @@ module.exports = function supplyDrawNewShapeDefaults(layoutIn, layoutOut, coerce
|
|
|
36929
36966
|
coerce('activeshape.opacity');
|
|
36930
36967
|
};
|
|
36931
36968
|
|
|
36932
|
-
},{"../../color":
|
|
36969
|
+
},{"../../color":83}],168:[function(_dereq_,module,exports){
|
|
36933
36970
|
/**
|
|
36934
36971
|
* Copyright 2012-2020, Plotly, Inc.
|
|
36935
36972
|
* All rights reserved.
|
|
@@ -37224,7 +37261,7 @@ function recordPositions(polygonsOut, polygonsIn) {
|
|
|
37224
37261
|
return polygonsOut;
|
|
37225
37262
|
}
|
|
37226
37263
|
|
|
37227
|
-
},{"../../../plots/cartesian/handle_outline":
|
|
37264
|
+
},{"../../../plots/cartesian/handle_outline":268,"../../../registry":308,"../../dragelement":102,"../../dragelement/helpers":101,"./constants":166,"./helpers":169,"./newshapes":170}],169:[function(_dereq_,module,exports){
|
|
37228
37265
|
/**
|
|
37229
37266
|
* Copyright 2012-2020, Plotly, Inc.
|
|
37230
37267
|
* All rights reserved.
|
|
@@ -37562,7 +37599,7 @@ exports.ellipseOver = function(pos) {
|
|
|
37562
37599
|
};
|
|
37563
37600
|
};
|
|
37564
37601
|
|
|
37565
|
-
},{"../../../plots/cartesian/helpers":
|
|
37602
|
+
},{"../../../plots/cartesian/helpers":269,"./constants":166,"parse-svg-path":56}],170:[function(_dereq_,module,exports){
|
|
37566
37603
|
/**
|
|
37567
37604
|
* Copyright 2012-2020, Plotly, Inc.
|
|
37568
37605
|
* All rights reserved.
|
|
@@ -37821,7 +37858,7 @@ function fixDatesForPaths(polygons, xaxis, yaxis) {
|
|
|
37821
37858
|
return polygons;
|
|
37822
37859
|
}
|
|
37823
37860
|
|
|
37824
|
-
},{"../../../plots/cartesian/handle_outline":
|
|
37861
|
+
},{"../../../plots/cartesian/handle_outline":268,"../../../plots/cartesian/helpers":269,"../../dragelement/helpers":101,"./constants":166,"./helpers":169}],171:[function(_dereq_,module,exports){
|
|
37825
37862
|
/**
|
|
37826
37863
|
* Copyright 2012-2020, Plotly, Inc.
|
|
37827
37864
|
* All rights reserved.
|
|
@@ -37979,7 +38016,7 @@ exports.makeOptionsAndPlotinfo = function(gd, index) {
|
|
|
37979
38016
|
};
|
|
37980
38017
|
};
|
|
37981
38018
|
|
|
37982
|
-
},{"../../lib":
|
|
38019
|
+
},{"../../lib":212,"./constants":162}],172:[function(_dereq_,module,exports){
|
|
37983
38020
|
/**
|
|
37984
38021
|
* Copyright 2012-2020, Plotly, Inc.
|
|
37985
38022
|
* All rights reserved.
|
|
@@ -38007,7 +38044,7 @@ module.exports = {
|
|
|
38007
38044
|
drawOne: drawModule.drawOne
|
|
38008
38045
|
};
|
|
38009
38046
|
|
|
38010
|
-
},{"../../plots/cartesian/include_components":
|
|
38047
|
+
},{"../../plots/cartesian/include_components":270,"./attributes":160,"./calc_autorange":161,"./defaults":163,"./draw":164,"./draw_newshape/defaults":167}],173:[function(_dereq_,module,exports){
|
|
38011
38048
|
/**
|
|
38012
38049
|
* Copyright 2012-2020, Plotly, Inc.
|
|
38013
38050
|
* All rights reserved.
|
|
@@ -38250,7 +38287,7 @@ module.exports = overrideAll(templatedArray('slider', {
|
|
|
38250
38287
|
}
|
|
38251
38288
|
}), 'arraydraw', 'from-root');
|
|
38252
38289
|
|
|
38253
|
-
},{"../../lib/extend":
|
|
38290
|
+
},{"../../lib/extend":204,"../../plot_api/edit_types":240,"../../plot_api/plot_template":247,"../../plots/animation_attributes":252,"../../plots/font_attributes":286,"../../plots/pad_attributes":298,"./constants":174}],174:[function(_dereq_,module,exports){
|
|
38254
38291
|
/**
|
|
38255
38292
|
* Copyright 2012-2020, Plotly, Inc.
|
|
38256
38293
|
* All rights reserved.
|
|
@@ -38344,7 +38381,7 @@ module.exports = {
|
|
|
38344
38381
|
currentValueInset: 0,
|
|
38345
38382
|
};
|
|
38346
38383
|
|
|
38347
|
-
},{}],
|
|
38384
|
+
},{}],175:[function(_dereq_,module,exports){
|
|
38348
38385
|
/**
|
|
38349
38386
|
* Copyright 2012-2020, Plotly, Inc.
|
|
38350
38387
|
* All rights reserved.
|
|
@@ -38459,7 +38496,7 @@ function stepDefaults(valueIn, valueOut) {
|
|
|
38459
38496
|
}
|
|
38460
38497
|
}
|
|
38461
38498
|
|
|
38462
|
-
},{"../../lib":
|
|
38499
|
+
},{"../../lib":212,"../../plots/array_container_defaults":253,"./attributes":173,"./constants":174}],176:[function(_dereq_,module,exports){
|
|
38463
38500
|
/**
|
|
38464
38501
|
* Copyright 2012-2020, Plotly, Inc.
|
|
38465
38502
|
* All rights reserved.
|
|
@@ -39033,7 +39070,7 @@ function setGripPosition(sliderGroup, sliderOpts, doTransition) {
|
|
|
39033
39070
|
.ease(sliderOpts.transition.easing);
|
|
39034
39071
|
}
|
|
39035
39072
|
|
|
39036
|
-
// Drawing.setTranslate doesn't work here
|
|
39073
|
+
// Drawing.setTranslate doesn't work here because of the transition duck-typing.
|
|
39037
39074
|
// It's also not necessary because there are no other transitions to preserve.
|
|
39038
39075
|
el.attr('transform', strTranslate(x - constants.gripWidth * 0.5, sliderOpts._dims.currentValueTotalHeight));
|
|
39039
39076
|
}
|
|
@@ -39090,7 +39127,7 @@ function drawRail(sliderGroup, sliderOpts) {
|
|
|
39090
39127
|
);
|
|
39091
39128
|
}
|
|
39092
39129
|
|
|
39093
|
-
},{"../../constants/alignment":
|
|
39130
|
+
},{"../../constants/alignment":185,"../../lib":212,"../../lib/svg_text_utils":234,"../../plot_api/plot_template":247,"../../plots/plots":299,"../color":83,"../drawing":105,"./constants":174,"d3":16}],177:[function(_dereq_,module,exports){
|
|
39094
39131
|
/**
|
|
39095
39132
|
* Copyright 2012-2020, Plotly, Inc.
|
|
39096
39133
|
* All rights reserved.
|
|
@@ -39113,7 +39150,7 @@ module.exports = {
|
|
|
39113
39150
|
draw: _dereq_('./draw')
|
|
39114
39151
|
};
|
|
39115
39152
|
|
|
39116
|
-
},{"./attributes":
|
|
39153
|
+
},{"./attributes":173,"./constants":174,"./defaults":175,"./draw":176}],178:[function(_dereq_,module,exports){
|
|
39117
39154
|
/**
|
|
39118
39155
|
* Copyright 2012-2020, Plotly, Inc.
|
|
39119
39156
|
* All rights reserved.
|
|
@@ -39381,7 +39418,7 @@ module.exports = {
|
|
|
39381
39418
|
draw: draw
|
|
39382
39419
|
};
|
|
39383
39420
|
|
|
39384
|
-
},{"../../constants/alignment":
|
|
39421
|
+
},{"../../constants/alignment":185,"../../constants/interactions":188,"../../lib":212,"../../lib/svg_text_utils":234,"../../plots/plots":299,"../../registry":308,"../color":83,"../drawing":105,"d3":16,"fast-isnumeric":18}],179:[function(_dereq_,module,exports){
|
|
39385
39422
|
/**
|
|
39386
39423
|
* Copyright 2012-2020, Plotly, Inc.
|
|
39387
39424
|
* All rights reserved.
|
|
@@ -39550,7 +39587,7 @@ module.exports = overrideAll(templatedArray('updatemenu', {
|
|
|
39550
39587
|
}
|
|
39551
39588
|
}), 'arraydraw', 'from-root');
|
|
39552
39589
|
|
|
39553
|
-
},{"../../lib/extend":
|
|
39590
|
+
},{"../../lib/extend":204,"../../plot_api/edit_types":240,"../../plot_api/plot_template":247,"../../plots/font_attributes":286,"../../plots/pad_attributes":298,"../color/attributes":82}],180:[function(_dereq_,module,exports){
|
|
39554
39591
|
/**
|
|
39555
39592
|
* Copyright 2012-2020, Plotly, Inc.
|
|
39556
39593
|
* All rights reserved.
|
|
@@ -39631,7 +39668,7 @@ module.exports = {
|
|
|
39631
39668
|
}
|
|
39632
39669
|
};
|
|
39633
39670
|
|
|
39634
|
-
},{}],
|
|
39671
|
+
},{}],181:[function(_dereq_,module,exports){
|
|
39635
39672
|
/**
|
|
39636
39673
|
* Copyright 2012-2020, Plotly, Inc.
|
|
39637
39674
|
* All rights reserved.
|
|
@@ -39714,7 +39751,7 @@ function buttonDefaults(buttonIn, buttonOut) {
|
|
|
39714
39751
|
}
|
|
39715
39752
|
}
|
|
39716
39753
|
|
|
39717
|
-
},{"../../lib":
|
|
39754
|
+
},{"../../lib":212,"../../plots/array_container_defaults":253,"./attributes":179,"./constants":180}],182:[function(_dereq_,module,exports){
|
|
39718
39755
|
/**
|
|
39719
39756
|
* Copyright 2012-2020, Plotly, Inc.
|
|
39720
39757
|
* All rights reserved.
|
|
@@ -40365,9 +40402,9 @@ function removeAllButtons(gButton, newMenuIndexAttr) {
|
|
|
40365
40402
|
.selectAll('g.' + constants.dropdownButtonClassName).remove();
|
|
40366
40403
|
}
|
|
40367
40404
|
|
|
40368
|
-
},{"../../constants/alignment":
|
|
40369
|
-
arguments[4][
|
|
40370
|
-
},{"./attributes":
|
|
40405
|
+
},{"../../constants/alignment":185,"../../lib":212,"../../lib/svg_text_utils":234,"../../plot_api/plot_template":247,"../../plots/plots":299,"../color":83,"../drawing":105,"./constants":180,"./scrollbox":184,"d3":16}],183:[function(_dereq_,module,exports){
|
|
40406
|
+
arguments[4][177][0].apply(exports,arguments)
|
|
40407
|
+
},{"./attributes":179,"./constants":180,"./defaults":181,"./draw":182,"dup":177}],184:[function(_dereq_,module,exports){
|
|
40371
40408
|
/**
|
|
40372
40409
|
* Copyright 2012-2020, Plotly, Inc.
|
|
40373
40410
|
* All rights reserved.
|
|
@@ -40832,7 +40869,7 @@ ScrollBox.prototype.setTranslate = function setTranslate(translateX, translateY)
|
|
|
40832
40869
|
}
|
|
40833
40870
|
};
|
|
40834
40871
|
|
|
40835
|
-
},{"../../lib":
|
|
40872
|
+
},{"../../lib":212,"../color":83,"../drawing":105,"d3":16}],185:[function(_dereq_,module,exports){
|
|
40836
40873
|
/**
|
|
40837
40874
|
* Copyright 2012-2020, Plotly, Inc.
|
|
40838
40875
|
* All rights reserved.
|
|
@@ -40897,7 +40934,7 @@ module.exports = {
|
|
|
40897
40934
|
}
|
|
40898
40935
|
};
|
|
40899
40936
|
|
|
40900
|
-
},{}],
|
|
40937
|
+
},{}],186:[function(_dereq_,module,exports){
|
|
40901
40938
|
/**
|
|
40902
40939
|
* Copyright 2012-2020, Plotly, Inc.
|
|
40903
40940
|
* All rights reserved.
|
|
@@ -40929,7 +40966,7 @@ module.exports = {
|
|
|
40929
40966
|
}
|
|
40930
40967
|
};
|
|
40931
40968
|
|
|
40932
|
-
},{}],
|
|
40969
|
+
},{}],187:[function(_dereq_,module,exports){
|
|
40933
40970
|
/**
|
|
40934
40971
|
* Copyright 2012-2020, Plotly, Inc.
|
|
40935
40972
|
* All rights reserved.
|
|
@@ -40945,7 +40982,7 @@ module.exports = {
|
|
|
40945
40982
|
DATE_FORMAT_LINK: 'https://github.com/d3/d3-time-format#locale_format'
|
|
40946
40983
|
};
|
|
40947
40984
|
|
|
40948
|
-
},{}],
|
|
40985
|
+
},{}],188:[function(_dereq_,module,exports){
|
|
40949
40986
|
/**
|
|
40950
40987
|
* Copyright 2012-2020, Plotly, Inc.
|
|
40951
40988
|
* All rights reserved.
|
|
@@ -40968,7 +41005,7 @@ module.exports = {
|
|
|
40968
41005
|
DESELECTDIM: 0.2
|
|
40969
41006
|
};
|
|
40970
41007
|
|
|
40971
|
-
},{}],
|
|
41008
|
+
},{}],189:[function(_dereq_,module,exports){
|
|
40972
41009
|
/**
|
|
40973
41010
|
* Copyright 2012-2020, Plotly, Inc.
|
|
40974
41011
|
* All rights reserved.
|
|
@@ -41041,7 +41078,7 @@ module.exports = {
|
|
|
41041
41078
|
MINUS_SIGN: '\u2212'
|
|
41042
41079
|
};
|
|
41043
41080
|
|
|
41044
|
-
},{}],
|
|
41081
|
+
},{}],190:[function(_dereq_,module,exports){
|
|
41045
41082
|
/**
|
|
41046
41083
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41047
41084
|
* All rights reserved.
|
|
@@ -41065,7 +41102,7 @@ exports.svgAttrs = {
|
|
|
41065
41102
|
'xmlns:xlink': exports.xlink
|
|
41066
41103
|
};
|
|
41067
41104
|
|
|
41068
|
-
},{}],
|
|
41105
|
+
},{}],191:[function(_dereq_,module,exports){
|
|
41069
41106
|
/**
|
|
41070
41107
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41071
41108
|
* All rights reserved.
|
|
@@ -41151,7 +41188,7 @@ exports.Queue = _dereq_('./lib/queue');
|
|
|
41151
41188
|
// export d3 used in the bundle
|
|
41152
41189
|
exports.d3 = _dereq_('d3');
|
|
41153
41190
|
|
|
41154
|
-
},{"../build/plotcss":1,"./components/annotations":
|
|
41191
|
+
},{"../build/plotcss":1,"./components/annotations":76,"./components/annotations3d":81,"./components/colorbar":89,"./components/colorscale":95,"./components/errorbars":111,"./components/fx":123,"./components/grid":127,"./components/images":132,"./components/legend":140,"./components/rangeselector":151,"./components/rangeslider":158,"./components/shapes":172,"./components/sliders":177,"./components/updatemenus":183,"./fonts/mathjax_config":192,"./fonts/ploticon":193,"./lib/queue":227,"./locale-en":238,"./locale-en-us":237,"./plot_api":242,"./plot_api/plot_schema":246,"./plots/plots":299,"./registry":308,"./snapshot":313,"./traces/scatter":351,"./version":378,"d3":16,"es6-promise":17}],192:[function(_dereq_,module,exports){
|
|
41155
41192
|
/**
|
|
41156
41193
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41157
41194
|
* All rights reserved.
|
|
@@ -41182,7 +41219,7 @@ module.exports = function() {
|
|
|
41182
41219
|
}
|
|
41183
41220
|
};
|
|
41184
41221
|
|
|
41185
|
-
},{}],
|
|
41222
|
+
},{}],193:[function(_dereq_,module,exports){
|
|
41186
41223
|
/**
|
|
41187
41224
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41188
41225
|
* All rights reserved.
|
|
@@ -41362,7 +41399,7 @@ module.exports = {
|
|
|
41362
41399
|
}
|
|
41363
41400
|
};
|
|
41364
41401
|
|
|
41365
|
-
},{}],
|
|
41402
|
+
},{}],194:[function(_dereq_,module,exports){
|
|
41366
41403
|
/**
|
|
41367
41404
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41368
41405
|
* All rights reserved.
|
|
@@ -41426,7 +41463,7 @@ exports.isBottomAnchor = function isBottomAnchor(opts) {
|
|
|
41426
41463
|
);
|
|
41427
41464
|
};
|
|
41428
41465
|
|
|
41429
|
-
},{}],
|
|
41466
|
+
},{}],195:[function(_dereq_,module,exports){
|
|
41430
41467
|
/**
|
|
41431
41468
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41432
41469
|
* All rights reserved.
|
|
@@ -41667,7 +41704,7 @@ module.exports = {
|
|
|
41667
41704
|
pathAnnulus: pathAnnulus
|
|
41668
41705
|
};
|
|
41669
41706
|
|
|
41670
|
-
},{"./mod":
|
|
41707
|
+
},{"./mod":219}],196:[function(_dereq_,module,exports){
|
|
41671
41708
|
/**
|
|
41672
41709
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41673
41710
|
* All rights reserved.
|
|
@@ -41824,7 +41861,7 @@ function _rowLength(z, fn, len0) {
|
|
|
41824
41861
|
return 0;
|
|
41825
41862
|
}
|
|
41826
41863
|
|
|
41827
|
-
},{}],
|
|
41864
|
+
},{}],197:[function(_dereq_,module,exports){
|
|
41828
41865
|
/**
|
|
41829
41866
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41830
41867
|
* All rights reserved.
|
|
@@ -41857,7 +41894,7 @@ module.exports = function cleanNumber(v) {
|
|
|
41857
41894
|
return BADNUM;
|
|
41858
41895
|
};
|
|
41859
41896
|
|
|
41860
|
-
},{"../constants/numerical":
|
|
41897
|
+
},{"../constants/numerical":189,"fast-isnumeric":18}],198:[function(_dereq_,module,exports){
|
|
41861
41898
|
/**
|
|
41862
41899
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41863
41900
|
* All rights reserved.
|
|
@@ -41885,7 +41922,7 @@ module.exports = function clearGlCanvases(gd) {
|
|
|
41885
41922
|
}
|
|
41886
41923
|
};
|
|
41887
41924
|
|
|
41888
|
-
},{}],
|
|
41925
|
+
},{}],199:[function(_dereq_,module,exports){
|
|
41889
41926
|
/**
|
|
41890
41927
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41891
41928
|
* All rights reserved.
|
|
@@ -41908,7 +41945,7 @@ module.exports = function clearResponsive(gd) {
|
|
|
41908
41945
|
}
|
|
41909
41946
|
};
|
|
41910
41947
|
|
|
41911
|
-
},{}],
|
|
41948
|
+
},{}],200:[function(_dereq_,module,exports){
|
|
41912
41949
|
/**
|
|
41913
41950
|
* Copyright 2012-2020, Plotly, Inc.
|
|
41914
41951
|
* All rights reserved.
|
|
@@ -42372,7 +42409,7 @@ function validate(value, opts) {
|
|
|
42372
42409
|
}
|
|
42373
42410
|
exports.validate = validate;
|
|
42374
42411
|
|
|
42375
|
-
},{"../components/colorscale/scales":
|
|
42412
|
+
},{"../components/colorscale/scales":98,"../constants/interactions":188,"../plots/attributes":254,"./array":196,"./mod":219,"./nested_property":220,"./regex":228,"fast-isnumeric":18,"tinycolor2":66}],201:[function(_dereq_,module,exports){
|
|
42376
42413
|
/**
|
|
42377
42414
|
* Copyright 2012-2020, Plotly, Inc.
|
|
42378
42415
|
* All rights reserved.
|
|
@@ -42973,7 +43010,7 @@ exports.findExactDates = function(data, calendar) {
|
|
|
42973
43010
|
};
|
|
42974
43011
|
};
|
|
42975
43012
|
|
|
42976
|
-
},{"../constants/numerical":
|
|
43013
|
+
},{"../constants/numerical":189,"../registry":308,"./loggers":216,"./mod":219,"d3-time-format":14,"fast-isnumeric":18}],202:[function(_dereq_,module,exports){
|
|
42977
43014
|
/**
|
|
42978
43015
|
* Copyright 2012-2020, Plotly, Inc.
|
|
42979
43016
|
* All rights reserved.
|
|
@@ -43151,7 +43188,7 @@ module.exports = {
|
|
|
43151
43188
|
equalDomRects: equalDomRects
|
|
43152
43189
|
};
|
|
43153
43190
|
|
|
43154
|
-
},{"./loggers":
|
|
43191
|
+
},{"./loggers":216,"./matrix":218,"d3":16,"gl-mat4":34}],203:[function(_dereq_,module,exports){
|
|
43155
43192
|
/**
|
|
43156
43193
|
* Copyright 2012-2020, Plotly, Inc.
|
|
43157
43194
|
* All rights reserved.
|
|
@@ -43324,7 +43361,7 @@ var Events = {
|
|
|
43324
43361
|
|
|
43325
43362
|
module.exports = Events;
|
|
43326
43363
|
|
|
43327
|
-
},{"events":12}],
|
|
43364
|
+
},{"events":12}],204:[function(_dereq_,module,exports){
|
|
43328
43365
|
/**
|
|
43329
43366
|
* Copyright 2012-2020, Plotly, Inc.
|
|
43330
43367
|
* All rights reserved.
|
|
@@ -43438,7 +43475,7 @@ function _extend(inputs, isDeep, keepAllKeys, noArrayCopies) {
|
|
|
43438
43475
|
return target;
|
|
43439
43476
|
}
|
|
43440
43477
|
|
|
43441
|
-
},{"./is_plain_object.js":
|
|
43478
|
+
},{"./is_plain_object.js":213}],205:[function(_dereq_,module,exports){
|
|
43442
43479
|
/**
|
|
43443
43480
|
* Copyright 2012-2020, Plotly, Inc.
|
|
43444
43481
|
* All rights reserved.
|
|
@@ -43489,7 +43526,7 @@ module.exports = function filterUnique(array) {
|
|
|
43489
43526
|
return out;
|
|
43490
43527
|
};
|
|
43491
43528
|
|
|
43492
|
-
},{}],
|
|
43529
|
+
},{}],206:[function(_dereq_,module,exports){
|
|
43493
43530
|
/**
|
|
43494
43531
|
* Copyright 2012-2020, Plotly, Inc.
|
|
43495
43532
|
* All rights reserved.
|
|
@@ -43537,7 +43574,7 @@ function isCalcData(cont) {
|
|
|
43537
43574
|
);
|
|
43538
43575
|
}
|
|
43539
43576
|
|
|
43540
|
-
},{}],
|
|
43577
|
+
},{}],207:[function(_dereq_,module,exports){
|
|
43541
43578
|
/**
|
|
43542
43579
|
* Copyright 2012-2020, Plotly, Inc.
|
|
43543
43580
|
* All rights reserved.
|
|
@@ -43922,7 +43959,7 @@ module.exports = {
|
|
|
43922
43959
|
computeBbox: computeBbox
|
|
43923
43960
|
};
|
|
43924
43961
|
|
|
43925
|
-
},{"./identity":
|
|
43962
|
+
},{"./identity":210,"./is_plain_object":213,"./loggers":216,"./nested_property":220,"./polygon":224,"@turf/area":7,"@turf/bbox":8,"@turf/centroid":9,"country-regex":13,"d3":16}],208:[function(_dereq_,module,exports){
|
|
43926
43963
|
/**
|
|
43927
43964
|
* Copyright 2012-2020, Plotly, Inc.
|
|
43928
43965
|
* All rights reserved.
|
|
@@ -44039,7 +44076,7 @@ exports.makeBlank = function() {
|
|
|
44039
44076
|
};
|
|
44040
44077
|
};
|
|
44041
44078
|
|
|
44042
|
-
},{"../constants/numerical":
|
|
44079
|
+
},{"../constants/numerical":189}],209:[function(_dereq_,module,exports){
|
|
44043
44080
|
/**
|
|
44044
44081
|
* Copyright 2012-2020, Plotly, Inc.
|
|
44045
44082
|
* All rights reserved.
|
|
@@ -44283,7 +44320,7 @@ exports.findPointOnPath = function findPointOnPath(path, val, coord, opts) {
|
|
|
44283
44320
|
return pt;
|
|
44284
44321
|
};
|
|
44285
44322
|
|
|
44286
|
-
},{"./mod":
|
|
44323
|
+
},{"./mod":219}],210:[function(_dereq_,module,exports){
|
|
44287
44324
|
/**
|
|
44288
44325
|
* Copyright 2012-2020, Plotly, Inc.
|
|
44289
44326
|
* All rights reserved.
|
|
@@ -44299,7 +44336,7 @@ exports.findPointOnPath = function findPointOnPath(path, val, coord, opts) {
|
|
|
44299
44336
|
|
|
44300
44337
|
module.exports = function identity(d) { return d; };
|
|
44301
44338
|
|
|
44302
|
-
},{}],
|
|
44339
|
+
},{}],211:[function(_dereq_,module,exports){
|
|
44303
44340
|
/**
|
|
44304
44341
|
* Copyright 2012-2020, Plotly, Inc.
|
|
44305
44342
|
* All rights reserved.
|
|
@@ -44341,7 +44378,7 @@ module.exports = function incrementNumeric(x, delta) {
|
|
|
44341
44378
|
return newX;
|
|
44342
44379
|
};
|
|
44343
44380
|
|
|
44344
|
-
},{}],
|
|
44381
|
+
},{}],212:[function(_dereq_,module,exports){
|
|
44345
44382
|
/**
|
|
44346
44383
|
* Copyright 2012-2020, Plotly, Inc.
|
|
44347
44384
|
* All rights reserved.
|
|
@@ -44498,6 +44535,7 @@ lib.getElementAndAncestors = domModule.getElementAndAncestors;
|
|
|
44498
44535
|
lib.equalDomRects = domModule.equalDomRects;
|
|
44499
44536
|
|
|
44500
44537
|
lib.clearResponsive = _dereq_('./clear_responsive');
|
|
44538
|
+
lib.preserveDrawingBuffer = _dereq_('./preserve_drawing_buffer');
|
|
44501
44539
|
|
|
44502
44540
|
lib.makeTraceGroups = _dereq_('./make_trace_groups');
|
|
44503
44541
|
|
|
@@ -45208,7 +45246,7 @@ lib.objectFromPath = function(path, value) {
|
|
|
45208
45246
|
* lib.expandObjectPaths({'foo[1].bar': 10, 'foo[0].bar': 20});
|
|
45209
45247
|
* => { foo: [{bar: 10}, {bar: 20}] }
|
|
45210
45248
|
*
|
|
45211
|
-
* It does NOT, however, merge
|
|
45249
|
+
* It does NOT, however, merge multiple multiply-nested arrays::
|
|
45212
45250
|
*
|
|
45213
45251
|
* lib.expandObjectPaths({'marker[1].range[1]': 5, 'marker[1].range[0]': 4})
|
|
45214
45252
|
* => { marker: [null, {range: 4}] }
|
|
@@ -45623,7 +45661,7 @@ lib.join2 = function(arr, mainSeparator, lastSeparator) {
|
|
|
45623
45661
|
return arr.join(mainSeparator);
|
|
45624
45662
|
};
|
|
45625
45663
|
|
|
45626
|
-
},{"../constants/numerical":
|
|
45664
|
+
},{"../constants/numerical":189,"./anchor_utils":194,"./angles":195,"./array":196,"./clean_number":197,"./clear_responsive":199,"./coerce":200,"./dates":201,"./dom":202,"./extend":204,"./filter_unique":205,"./filter_visible":206,"./geometry2d":209,"./identity":210,"./increment":211,"./is_plain_object":213,"./keyed_container":214,"./localize":215,"./loggers":216,"./make_trace_groups":217,"./matrix":218,"./mod":219,"./nested_property":220,"./noop":221,"./notifier":222,"./preserve_drawing_buffer":225,"./push_unique":226,"./regex":228,"./relative_attr":229,"./relink_private":230,"./search":231,"./stats":233,"./throttle":235,"./to_log_range":236,"d3":16,"d3-time-format":14,"fast-isnumeric":18}],213:[function(_dereq_,module,exports){
|
|
45627
45665
|
/**
|
|
45628
45666
|
* Copyright 2012-2020, Plotly, Inc.
|
|
45629
45667
|
* All rights reserved.
|
|
@@ -45651,7 +45689,7 @@ module.exports = function isPlainObject(obj) {
|
|
|
45651
45689
|
);
|
|
45652
45690
|
};
|
|
45653
45691
|
|
|
45654
|
-
},{}],
|
|
45692
|
+
},{}],214:[function(_dereq_,module,exports){
|
|
45655
45693
|
/**
|
|
45656
45694
|
* Copyright 2012-2020, Plotly, Inc.
|
|
45657
45695
|
* All rights reserved.
|
|
@@ -45844,7 +45882,7 @@ module.exports = function keyedContainer(baseObj, path, keyName, valueName) {
|
|
|
45844
45882
|
return obj;
|
|
45845
45883
|
};
|
|
45846
45884
|
|
|
45847
|
-
},{"./nested_property":
|
|
45885
|
+
},{"./nested_property":220}],215:[function(_dereq_,module,exports){
|
|
45848
45886
|
/**
|
|
45849
45887
|
* Copyright 2012-2020, Plotly, Inc.
|
|
45850
45888
|
* All rights reserved.
|
|
@@ -45900,7 +45938,7 @@ module.exports = function localize(gd, s) {
|
|
|
45900
45938
|
return s;
|
|
45901
45939
|
};
|
|
45902
45940
|
|
|
45903
|
-
},{"../registry":
|
|
45941
|
+
},{"../registry":308}],216:[function(_dereq_,module,exports){
|
|
45904
45942
|
/**
|
|
45905
45943
|
* Copyright 2012-2020, Plotly, Inc.
|
|
45906
45944
|
* All rights reserved.
|
|
@@ -46010,7 +46048,7 @@ function apply(f, args) {
|
|
|
46010
46048
|
}
|
|
46011
46049
|
}
|
|
46012
46050
|
|
|
46013
|
-
},{"../plot_api/plot_config":
|
|
46051
|
+
},{"../plot_api/plot_config":245,"./notifier":222}],217:[function(_dereq_,module,exports){
|
|
46014
46052
|
/**
|
|
46015
46053
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46016
46054
|
* All rights reserved.
|
|
@@ -46053,7 +46091,7 @@ module.exports = function makeTraceGroups(traceLayer, cdModule, cls) {
|
|
|
46053
46091
|
return traces;
|
|
46054
46092
|
};
|
|
46055
46093
|
|
|
46056
|
-
},{"d3":16}],
|
|
46094
|
+
},{"d3":16}],218:[function(_dereq_,module,exports){
|
|
46057
46095
|
/**
|
|
46058
46096
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46059
46097
|
* All rights reserved.
|
|
@@ -46205,7 +46243,7 @@ exports.inverseTransformMatrix = function(m) {
|
|
|
46205
46243
|
];
|
|
46206
46244
|
};
|
|
46207
46245
|
|
|
46208
|
-
},{"gl-mat4":34}],
|
|
46246
|
+
},{"gl-mat4":34}],219:[function(_dereq_,module,exports){
|
|
46209
46247
|
/**
|
|
46210
46248
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46211
46249
|
* All rights reserved.
|
|
@@ -46240,7 +46278,7 @@ module.exports = {
|
|
|
46240
46278
|
modHalf: modHalf
|
|
46241
46279
|
};
|
|
46242
46280
|
|
|
46243
|
-
},{}],
|
|
46281
|
+
},{}],220:[function(_dereq_,module,exports){
|
|
46244
46282
|
/**
|
|
46245
46283
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46246
46284
|
* All rights reserved.
|
|
@@ -46486,7 +46524,7 @@ function badContainer(container, propStr, propParts) {
|
|
|
46486
46524
|
};
|
|
46487
46525
|
}
|
|
46488
46526
|
|
|
46489
|
-
},{"./array":
|
|
46527
|
+
},{"./array":196,"fast-isnumeric":18}],221:[function(_dereq_,module,exports){
|
|
46490
46528
|
/**
|
|
46491
46529
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46492
46530
|
* All rights reserved.
|
|
@@ -46502,7 +46540,7 @@ function badContainer(container, propStr, propParts) {
|
|
|
46502
46540
|
|
|
46503
46541
|
module.exports = function noop() {};
|
|
46504
46542
|
|
|
46505
|
-
},{}],
|
|
46543
|
+
},{}],222:[function(_dereq_,module,exports){
|
|
46506
46544
|
/**
|
|
46507
46545
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46508
46546
|
* All rights reserved.
|
|
@@ -46590,7 +46628,7 @@ module.exports = function(text, displayLength) {
|
|
|
46590
46628
|
});
|
|
46591
46629
|
};
|
|
46592
46630
|
|
|
46593
|
-
},{"d3":16,"fast-isnumeric":18}],
|
|
46631
|
+
},{"d3":16,"fast-isnumeric":18}],223:[function(_dereq_,module,exports){
|
|
46594
46632
|
/**
|
|
46595
46633
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46596
46634
|
* All rights reserved.
|
|
@@ -46638,7 +46676,7 @@ module.exports = function overrideCursor(el3, csr) {
|
|
|
46638
46676
|
}
|
|
46639
46677
|
};
|
|
46640
46678
|
|
|
46641
|
-
},{"./setcursor":
|
|
46679
|
+
},{"./setcursor":232}],224:[function(_dereq_,module,exports){
|
|
46642
46680
|
/**
|
|
46643
46681
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46644
46682
|
* All rights reserved.
|
|
@@ -46890,7 +46928,77 @@ polygon.filter = function filter(pts, tolerance) {
|
|
|
46890
46928
|
};
|
|
46891
46929
|
};
|
|
46892
46930
|
|
|
46893
|
-
},{"../constants/numerical":
|
|
46931
|
+
},{"../constants/numerical":189,"./matrix":218}],225:[function(_dereq_,module,exports){
|
|
46932
|
+
/**
|
|
46933
|
+
* Copyright 2012-2020, Plotly, Inc.
|
|
46934
|
+
* All rights reserved.
|
|
46935
|
+
*
|
|
46936
|
+
* This source code is licensed under the MIT license found in the
|
|
46937
|
+
* LICENSE file in the root directory of this source tree.
|
|
46938
|
+
*/
|
|
46939
|
+
|
|
46940
|
+
'use strict';
|
|
46941
|
+
|
|
46942
|
+
var isNumeric = _dereq_('fast-isnumeric');
|
|
46943
|
+
var isMobileOrTablet = _dereq_('is-mobile');
|
|
46944
|
+
|
|
46945
|
+
module.exports = function preserveDrawingBuffer(opts) {
|
|
46946
|
+
var ua;
|
|
46947
|
+
|
|
46948
|
+
if(opts && opts.hasOwnProperty('userAgent')) {
|
|
46949
|
+
ua = opts.userAgent;
|
|
46950
|
+
} else {
|
|
46951
|
+
ua = getUserAgent();
|
|
46952
|
+
}
|
|
46953
|
+
|
|
46954
|
+
if(typeof ua !== 'string') return true;
|
|
46955
|
+
|
|
46956
|
+
var enable = isMobileOrTablet({
|
|
46957
|
+
ua: { headers: {'user-agent': ua }},
|
|
46958
|
+
tablet: true,
|
|
46959
|
+
featureDetect: false
|
|
46960
|
+
});
|
|
46961
|
+
|
|
46962
|
+
if(!enable) {
|
|
46963
|
+
var allParts = ua.split(' ');
|
|
46964
|
+
for(var i = 1; i < allParts.length; i++) {
|
|
46965
|
+
var part = allParts[i];
|
|
46966
|
+
if(part.indexOf('Safari') !== -1) {
|
|
46967
|
+
// find Safari version
|
|
46968
|
+
for(var k = i - 1; k > -1; k--) {
|
|
46969
|
+
var prevPart = allParts[k];
|
|
46970
|
+
if(prevPart.substr(0, 8) === 'Version/') {
|
|
46971
|
+
var v = prevPart.substr(8).split('.')[0];
|
|
46972
|
+
if(isNumeric(v)) v = +v;
|
|
46973
|
+
if(v >= 13) return true;
|
|
46974
|
+
}
|
|
46975
|
+
}
|
|
46976
|
+
}
|
|
46977
|
+
}
|
|
46978
|
+
}
|
|
46979
|
+
|
|
46980
|
+
return enable;
|
|
46981
|
+
};
|
|
46982
|
+
|
|
46983
|
+
function getUserAgent() {
|
|
46984
|
+
// similar to https://github.com/juliangruber/is-mobile/blob/91ca39ccdd4cfc5edfb5391e2515b923a730fbea/index.js#L14-L17
|
|
46985
|
+
var ua;
|
|
46986
|
+
if(typeof navigator !== 'undefined') {
|
|
46987
|
+
ua = navigator.userAgent;
|
|
46988
|
+
}
|
|
46989
|
+
|
|
46990
|
+
if(
|
|
46991
|
+
ua &&
|
|
46992
|
+
ua.headers &&
|
|
46993
|
+
typeof ua.headers['user-agent'] === 'string'
|
|
46994
|
+
) {
|
|
46995
|
+
ua = ua.headers['user-agent'];
|
|
46996
|
+
}
|
|
46997
|
+
|
|
46998
|
+
return ua;
|
|
46999
|
+
}
|
|
47000
|
+
|
|
47001
|
+
},{"fast-isnumeric":18,"is-mobile":52}],226:[function(_dereq_,module,exports){
|
|
46894
47002
|
/**
|
|
46895
47003
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46896
47004
|
* All rights reserved.
|
|
@@ -46928,7 +47036,7 @@ module.exports = function pushUnique(array, item) {
|
|
|
46928
47036
|
return array;
|
|
46929
47037
|
};
|
|
46930
47038
|
|
|
46931
|
-
},{}],
|
|
47039
|
+
},{}],227:[function(_dereq_,module,exports){
|
|
46932
47040
|
/**
|
|
46933
47041
|
* Copyright 2012-2020, Plotly, Inc.
|
|
46934
47042
|
* All rights reserved.
|
|
@@ -47136,7 +47244,7 @@ queue.plotDo = function(gd, func, args) {
|
|
|
47136
47244
|
|
|
47137
47245
|
module.exports = queue;
|
|
47138
47246
|
|
|
47139
|
-
},{"../lib":
|
|
47247
|
+
},{"../lib":212,"../plot_api/plot_config":245}],228:[function(_dereq_,module,exports){
|
|
47140
47248
|
/**
|
|
47141
47249
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47142
47250
|
* All rights reserved.
|
|
@@ -47166,7 +47274,7 @@ exports.counter = function(head, tail, openEnded, matchBeginning) {
|
|
|
47166
47274
|
return new RegExp(startWithPrefix + head + '([2-9]|[1-9][0-9]+)?' + fullTail);
|
|
47167
47275
|
};
|
|
47168
47276
|
|
|
47169
|
-
},{}],
|
|
47277
|
+
},{}],229:[function(_dereq_,module,exports){
|
|
47170
47278
|
/**
|
|
47171
47279
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47172
47280
|
* All rights reserved.
|
|
@@ -47219,7 +47327,7 @@ module.exports = function(baseAttr, relativeAttr) {
|
|
|
47219
47327
|
return baseAttr + relativeAttr;
|
|
47220
47328
|
};
|
|
47221
47329
|
|
|
47222
|
-
},{}],
|
|
47330
|
+
},{}],230:[function(_dereq_,module,exports){
|
|
47223
47331
|
/**
|
|
47224
47332
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47225
47333
|
* All rights reserved.
|
|
@@ -47276,7 +47384,7 @@ module.exports = function relinkPrivateKeys(toContainer, fromContainer) {
|
|
|
47276
47384
|
}
|
|
47277
47385
|
};
|
|
47278
47386
|
|
|
47279
|
-
},{"./array":
|
|
47387
|
+
},{"./array":196,"./is_plain_object":213}],231:[function(_dereq_,module,exports){
|
|
47280
47388
|
/**
|
|
47281
47389
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47282
47390
|
* All rights reserved.
|
|
@@ -47481,7 +47589,7 @@ exports.findIndexOfMin = function(arr, fn) {
|
|
|
47481
47589
|
return ind;
|
|
47482
47590
|
};
|
|
47483
47591
|
|
|
47484
|
-
},{"../constants/numerical":
|
|
47592
|
+
},{"../constants/numerical":189,"./identity":210,"./loggers":216,"fast-isnumeric":18}],232:[function(_dereq_,module,exports){
|
|
47485
47593
|
/**
|
|
47486
47594
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47487
47595
|
* All rights reserved.
|
|
@@ -47504,7 +47612,7 @@ module.exports = function setCursor(el3, csr) {
|
|
|
47504
47612
|
if(csr) el3.classed('cursor-' + csr, true);
|
|
47505
47613
|
};
|
|
47506
47614
|
|
|
47507
|
-
},{}],
|
|
47615
|
+
},{}],233:[function(_dereq_,module,exports){
|
|
47508
47616
|
/**
|
|
47509
47617
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47510
47618
|
* All rights reserved.
|
|
@@ -47614,7 +47722,7 @@ exports.interp = function(arr, n) {
|
|
|
47614
47722
|
return frac * arr[Math.ceil(n)] + (1 - frac) * arr[Math.floor(n)];
|
|
47615
47723
|
};
|
|
47616
47724
|
|
|
47617
|
-
},{"./array":
|
|
47725
|
+
},{"./array":196,"fast-isnumeric":18}],234:[function(_dereq_,module,exports){
|
|
47618
47726
|
/**
|
|
47619
47727
|
* Copyright 2012-2020, Plotly, Inc.
|
|
47620
47728
|
* All rights reserved.
|
|
@@ -48505,7 +48613,7 @@ exports.makeEditable = function(context, options) {
|
|
|
48505
48613
|
return d3.rebind(context, dispatch, 'on');
|
|
48506
48614
|
};
|
|
48507
48615
|
|
|
48508
|
-
},{"../constants/alignment":
|
|
48616
|
+
},{"../constants/alignment":185,"../constants/xmlns_namespaces":190,"../lib":212,"d3":16}],235:[function(_dereq_,module,exports){
|
|
48509
48617
|
/**
|
|
48510
48618
|
* Copyright 2012-2020, Plotly, Inc.
|
|
48511
48619
|
* All rights reserved.
|
|
@@ -48608,7 +48716,7 @@ function _clearTimeout(cache) {
|
|
|
48608
48716
|
}
|
|
48609
48717
|
}
|
|
48610
48718
|
|
|
48611
|
-
},{}],
|
|
48719
|
+
},{}],236:[function(_dereq_,module,exports){
|
|
48612
48720
|
/**
|
|
48613
48721
|
* Copyright 2012-2020, Plotly, Inc.
|
|
48614
48722
|
* All rights reserved.
|
|
@@ -48636,7 +48744,7 @@ module.exports = function toLogRange(val, range) {
|
|
|
48636
48744
|
return newVal;
|
|
48637
48745
|
};
|
|
48638
48746
|
|
|
48639
|
-
},{"fast-isnumeric":18}],
|
|
48747
|
+
},{"fast-isnumeric":18}],237:[function(_dereq_,module,exports){
|
|
48640
48748
|
/**
|
|
48641
48749
|
* Copyright 2012-2020, Plotly, Inc.
|
|
48642
48750
|
* All rights reserved.
|
|
@@ -48658,7 +48766,7 @@ module.exports = {
|
|
|
48658
48766
|
}
|
|
48659
48767
|
};
|
|
48660
48768
|
|
|
48661
|
-
},{}],
|
|
48769
|
+
},{}],238:[function(_dereq_,module,exports){
|
|
48662
48770
|
/**
|
|
48663
48771
|
* Copyright 2012-2020, Plotly, Inc.
|
|
48664
48772
|
* All rights reserved.
|
|
@@ -48701,7 +48809,7 @@ module.exports = {
|
|
|
48701
48809
|
}
|
|
48702
48810
|
};
|
|
48703
48811
|
|
|
48704
|
-
},{}],
|
|
48812
|
+
},{}],239:[function(_dereq_,module,exports){
|
|
48705
48813
|
/**
|
|
48706
48814
|
* Copyright 2012-2020, Plotly, Inc.
|
|
48707
48815
|
* All rights reserved.
|
|
@@ -48759,7 +48867,7 @@ module.exports = function containerArrayMatch(astr) {
|
|
|
48759
48867
|
return {array: arrayStr, index: Number(match[1]), property: match[3] || ''};
|
|
48760
48868
|
};
|
|
48761
48869
|
|
|
48762
|
-
},{"../registry":
|
|
48870
|
+
},{"../registry":308}],240:[function(_dereq_,module,exports){
|
|
48763
48871
|
/**
|
|
48764
48872
|
* Copyright 2012-2020, Plotly, Inc.
|
|
48765
48873
|
* All rights reserved.
|
|
@@ -48884,7 +48992,7 @@ function overrideOne(attr, editTypeOverride, overrideContainers, key) {
|
|
|
48884
48992
|
}
|
|
48885
48993
|
}
|
|
48886
48994
|
|
|
48887
|
-
},{"../lib":
|
|
48995
|
+
},{"../lib":212}],241:[function(_dereq_,module,exports){
|
|
48888
48996
|
/**
|
|
48889
48997
|
* Copyright 2012-2020, Plotly, Inc.
|
|
48890
48998
|
* All rights reserved.
|
|
@@ -49586,7 +49694,7 @@ exports.clearAxisTypes = function(gd, traces, layoutUpdate) {
|
|
|
49586
49694
|
}
|
|
49587
49695
|
};
|
|
49588
49696
|
|
|
49589
|
-
},{"../components/color":
|
|
49697
|
+
},{"../components/color":83,"../lib":212,"../plots/cartesian/axis_ids":261,"../plots/plots":299,"../registry":308,"fast-isnumeric":18,"gl-mat4/fromQuat":24}],242:[function(_dereq_,module,exports){
|
|
49590
49698
|
/**
|
|
49591
49699
|
* Copyright 2012-2020, Plotly, Inc.
|
|
49592
49700
|
* All rights reserved.
|
|
@@ -49629,7 +49737,7 @@ var templateApi = _dereq_('./template_api');
|
|
|
49629
49737
|
exports.makeTemplate = templateApi.makeTemplate;
|
|
49630
49738
|
exports.validateTemplate = templateApi.validateTemplate;
|
|
49631
49739
|
|
|
49632
|
-
},{"../snapshot/download":
|
|
49740
|
+
},{"../snapshot/download":310,"./plot_api":244,"./template_api":249,"./to_image":250,"./validate":251}],243:[function(_dereq_,module,exports){
|
|
49633
49741
|
/**
|
|
49634
49742
|
* Copyright 2012-2020, Plotly, Inc.
|
|
49635
49743
|
* All rights reserved.
|
|
@@ -49842,7 +49950,7 @@ exports.applyContainerArrayChanges = function applyContainerArrayChanges(gd, np,
|
|
|
49842
49950
|
return true;
|
|
49843
49951
|
};
|
|
49844
49952
|
|
|
49845
|
-
},{"../lib/is_plain_object":
|
|
49953
|
+
},{"../lib/is_plain_object":213,"../lib/loggers":216,"../lib/noop":221,"../lib/search":231,"../registry":308,"./container_array_match":239}],244:[function(_dereq_,module,exports){
|
|
49846
49954
|
/**
|
|
49847
49955
|
* Copyright 2012-2020, Plotly, Inc.
|
|
49848
49956
|
* All rights reserved.
|
|
@@ -51793,7 +51901,9 @@ function axRangeSupplyDefaultsByPass(gd, flags, specs) {
|
|
|
51793
51901
|
var axIn = gd.layout[axName];
|
|
51794
51902
|
var axOut = fullLayout[axName];
|
|
51795
51903
|
axOut.autorange = axIn.autorange;
|
|
51796
|
-
|
|
51904
|
+
if(axIn.range) {
|
|
51905
|
+
axOut.range = axIn.range.slice();
|
|
51906
|
+
}
|
|
51797
51907
|
axOut.cleanRange();
|
|
51798
51908
|
|
|
51799
51909
|
if(axOut._matchGroup) {
|
|
@@ -52580,16 +52690,6 @@ function react(gd, data, layout, config) {
|
|
|
52580
52690
|
|
|
52581
52691
|
applyUIRevisions(gd.data, gd.layout, oldFullData, oldFullLayout);
|
|
52582
52692
|
|
|
52583
|
-
var allNames = Object.getOwnPropertyNames(oldFullLayout);
|
|
52584
|
-
for(var q = 0; q < allNames.length; q++) {
|
|
52585
|
-
var name = allNames[q];
|
|
52586
|
-
var start = name.substring(0, 5);
|
|
52587
|
-
if(start === 'xaxis' || start === 'yaxis') {
|
|
52588
|
-
var emptyCategories = oldFullLayout[name]._emptyCategories;
|
|
52589
|
-
if(emptyCategories) emptyCategories();
|
|
52590
|
-
}
|
|
52591
|
-
}
|
|
52592
|
-
|
|
52593
52693
|
// "true" skips updating calcdata and remapping arrays from calcTransforms,
|
|
52594
52694
|
// which supplyDefaults usually does at the end, but we may need to NOT do
|
|
52595
52695
|
// if the diff (which we haven't determined yet) says we'll recalc
|
|
@@ -52615,10 +52715,22 @@ function react(gd, data, layout, config) {
|
|
|
52615
52715
|
|
|
52616
52716
|
if(updateAutosize(gd)) relayoutFlags.layoutReplot = true;
|
|
52617
52717
|
|
|
52618
|
-
// clear calcdata if required
|
|
52619
|
-
if(restyleFlags.calc || relayoutFlags.calc)
|
|
52718
|
+
// clear calcdata and empty categories if required
|
|
52719
|
+
if(restyleFlags.calc || relayoutFlags.calc) {
|
|
52720
|
+
gd.calcdata = undefined;
|
|
52721
|
+
var allNames = Object.getOwnPropertyNames(newFullLayout);
|
|
52722
|
+
for(var q = 0; q < allNames.length; q++) {
|
|
52723
|
+
var name = allNames[q];
|
|
52724
|
+
var start = name.substring(0, 5);
|
|
52725
|
+
if(start === 'xaxis' || start === 'yaxis') {
|
|
52726
|
+
var emptyCategories = newFullLayout[name]._emptyCategories;
|
|
52727
|
+
if(emptyCategories) emptyCategories();
|
|
52728
|
+
}
|
|
52729
|
+
}
|
|
52620
52730
|
// otherwise do the calcdata updates and calcTransform array remaps that we skipped earlier
|
|
52621
|
-
else
|
|
52731
|
+
} else {
|
|
52732
|
+
Plots.supplyDefaultsUpdateCalc(gd.calcdata, newFullData);
|
|
52733
|
+
}
|
|
52622
52734
|
|
|
52623
52735
|
// Note: what restyle/relayout use impliedEdits and clearAxisTypes for
|
|
52624
52736
|
// must be handled by the user when using Plotly.react.
|
|
@@ -53072,7 +53184,7 @@ function animate(gd, frameOrGroupNameOrFrameList, animationOpts) {
|
|
|
53072
53184
|
}
|
|
53073
53185
|
|
|
53074
53186
|
// Execute a callback after the wrapper function has been called n times.
|
|
53075
|
-
// This is used to defer the resolution until a transition has
|
|
53187
|
+
// This is used to defer the resolution until a transition has resolved *and*
|
|
53076
53188
|
// the frame has completed. If it's not done this way, then we get a race
|
|
53077
53189
|
// condition in which the animation might resolve before a transition is complete
|
|
53078
53190
|
// or vice versa.
|
|
@@ -53768,7 +53880,7 @@ exports._guiUpdate = guiEdit(update);
|
|
|
53768
53880
|
|
|
53769
53881
|
exports._storeDirectGUIEdit = _storeDirectGUIEdit;
|
|
53770
53882
|
|
|
53771
|
-
},{"../components/color":
|
|
53883
|
+
},{"../components/color":83,"../components/drawing":105,"../constants/xmlns_namespaces":190,"../lib":212,"../lib/events":203,"../lib/queue":227,"../lib/svg_text_utils":234,"../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":16,"fast-isnumeric":18,"has-hover":49}],245:[function(_dereq_,module,exports){
|
|
53772
53884
|
/**
|
|
53773
53885
|
* Copyright 2012-2020, Plotly, Inc.
|
|
53774
53886
|
* All rights reserved.
|
|
@@ -54083,7 +54195,7 @@ module.exports = {
|
|
|
54083
54195
|
dfltConfig: dfltConfig
|
|
54084
54196
|
};
|
|
54085
54197
|
|
|
54086
|
-
},{}],
|
|
54198
|
+
},{}],246:[function(_dereq_,module,exports){
|
|
54087
54199
|
/**
|
|
54088
54200
|
* Copyright 2012-2020, Plotly, Inc.
|
|
54089
54201
|
* All rights reserved.
|
|
@@ -54794,7 +54906,7 @@ function insertAttrs(baseAttrs, newAttrs, astr) {
|
|
|
54794
54906
|
np.set(extendDeepAll(np.get() || {}, newAttrs));
|
|
54795
54907
|
}
|
|
54796
54908
|
|
|
54797
|
-
},{"../lib":
|
|
54909
|
+
},{"../lib":212,"../plots/animation_attributes":252,"../plots/attributes":254,"../plots/frame_attributes":287,"../plots/layout_attributes":290,"../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){
|
|
54798
54910
|
/**
|
|
54799
54911
|
* Copyright 2012-2020, Plotly, Inc.
|
|
54800
54912
|
* All rights reserved.
|
|
@@ -55106,7 +55218,7 @@ exports.arrayEditor = function(parentIn, containerStr, itemOut) {
|
|
|
55106
55218
|
};
|
|
55107
55219
|
};
|
|
55108
55220
|
|
|
55109
|
-
},{"../lib":
|
|
55221
|
+
},{"../lib":212,"../plots/attributes":254}],248:[function(_dereq_,module,exports){
|
|
55110
55222
|
/**
|
|
55111
55223
|
* Copyright 2012-2020, Plotly, Inc.
|
|
55112
55224
|
* All rights reserved.
|
|
@@ -55830,7 +55942,7 @@ exports.drawMarginPushers = function(gd) {
|
|
|
55830
55942
|
Registry.getComponentMethod('colorbar', 'draw')(gd);
|
|
55831
55943
|
};
|
|
55832
55944
|
|
|
55833
|
-
},{"../components/color":
|
|
55945
|
+
},{"../components/color":83,"../components/drawing":105,"../components/modebar":143,"../components/titles":178,"../constants/alignment":185,"../lib":212,"../lib/clear_gl_canvases":198,"../plots/cartesian/autorange":257,"../plots/cartesian/axes":258,"../plots/cartesian/constraints":265,"../plots/plots":299,"../registry":308,"d3":16}],249:[function(_dereq_,module,exports){
|
|
55834
55946
|
/**
|
|
55835
55947
|
* Copyright 2012-2020, Plotly, Inc.
|
|
55836
55948
|
* All rights reserved.
|
|
@@ -56292,7 +56404,7 @@ function format(opts) {
|
|
|
56292
56404
|
return opts;
|
|
56293
56405
|
}
|
|
56294
56406
|
|
|
56295
|
-
},{"../lib":
|
|
56407
|
+
},{"../lib":212,"../plots/attributes":254,"../plots/plots":299,"./plot_config":245,"./plot_schema":246,"./plot_template":247}],250:[function(_dereq_,module,exports){
|
|
56296
56408
|
/**
|
|
56297
56409
|
* Copyright 2012-2020, Plotly, Inc.
|
|
56298
56410
|
* All rights reserved.
|
|
@@ -56513,7 +56625,7 @@ function toImage(gd, opts) {
|
|
|
56513
56625
|
|
|
56514
56626
|
module.exports = toImage;
|
|
56515
56627
|
|
|
56516
|
-
},{"../lib":
|
|
56628
|
+
},{"../lib":212,"../plots/plots":299,"../snapshot/helpers":312,"../snapshot/svgtoimg":314,"../snapshot/tosvg":316,"../version":378,"./plot_api":244,"fast-isnumeric":18}],251:[function(_dereq_,module,exports){
|
|
56517
56629
|
/**
|
|
56518
56630
|
* Copyright 2012-2020, Plotly, Inc.
|
|
56519
56631
|
* All rights reserved.
|
|
@@ -56944,7 +57056,7 @@ function convertPathToAttributeString(path) {
|
|
|
56944
57056
|
return astr;
|
|
56945
57057
|
}
|
|
56946
57058
|
|
|
56947
|
-
},{"../lib":
|
|
57059
|
+
},{"../lib":212,"../plots/plots":299,"./plot_config":245,"./plot_schema":246}],252:[function(_dereq_,module,exports){
|
|
56948
57060
|
/**
|
|
56949
57061
|
* Copyright 2012-2020, Plotly, Inc.
|
|
56950
57062
|
* All rights reserved.
|
|
@@ -57056,7 +57168,7 @@ module.exports = {
|
|
|
57056
57168
|
}
|
|
57057
57169
|
};
|
|
57058
57170
|
|
|
57059
|
-
},{}],
|
|
57171
|
+
},{}],253:[function(_dereq_,module,exports){
|
|
57060
57172
|
/**
|
|
57061
57173
|
* Copyright 2012-2020, Plotly, Inc.
|
|
57062
57174
|
* All rights reserved.
|
|
@@ -57151,7 +57263,7 @@ module.exports = function handleArrayContainerDefaults(parentObjIn, parentObjOut
|
|
|
57151
57263
|
return contOut;
|
|
57152
57264
|
};
|
|
57153
57265
|
|
|
57154
|
-
},{"../lib":
|
|
57266
|
+
},{"../lib":212,"../plot_api/plot_template":247}],254:[function(_dereq_,module,exports){
|
|
57155
57267
|
/**
|
|
57156
57268
|
* Copyright 2012-2020, Plotly, Inc.
|
|
57157
57269
|
* All rights reserved.
|
|
@@ -57292,7 +57404,7 @@ module.exports = {
|
|
|
57292
57404
|
}
|
|
57293
57405
|
};
|
|
57294
57406
|
|
|
57295
|
-
},{"../components/fx/attributes":
|
|
57407
|
+
},{"../components/fx/attributes":114}],255:[function(_dereq_,module,exports){
|
|
57296
57408
|
/**
|
|
57297
57409
|
* Copyright 2012-2020, Plotly, Inc.
|
|
57298
57410
|
* All rights reserved.
|
|
@@ -57384,7 +57496,7 @@ module.exports = function alignPeriod(trace, ax, axLetter, vals) {
|
|
|
57384
57496
|
return newVals;
|
|
57385
57497
|
};
|
|
57386
57498
|
|
|
57387
|
-
},{"../../constants/numerical":
|
|
57499
|
+
},{"../../constants/numerical":189,"../../lib":212,"fast-isnumeric":18}],256:[function(_dereq_,module,exports){
|
|
57388
57500
|
/**
|
|
57389
57501
|
* Copyright 2012-2020, Plotly, Inc.
|
|
57390
57502
|
* All rights reserved.
|
|
@@ -57413,7 +57525,7 @@ module.exports = {
|
|
|
57413
57525
|
}
|
|
57414
57526
|
};
|
|
57415
57527
|
|
|
57416
|
-
},{}],
|
|
57528
|
+
},{}],257:[function(_dereq_,module,exports){
|
|
57417
57529
|
/**
|
|
57418
57530
|
* Copyright 2012-2020, Plotly, Inc.
|
|
57419
57531
|
* All rights reserved.
|
|
@@ -57430,7 +57542,9 @@ var Lib = _dereq_('../../lib');
|
|
|
57430
57542
|
var FP_SAFE = _dereq_('../../constants/numerical').FP_SAFE;
|
|
57431
57543
|
var Registry = _dereq_('../../registry');
|
|
57432
57544
|
|
|
57433
|
-
var
|
|
57545
|
+
var axIds = _dereq_('./axis_ids');
|
|
57546
|
+
var getFromId = axIds.getFromId;
|
|
57547
|
+
var isLinked = axIds.isLinked;
|
|
57434
57548
|
|
|
57435
57549
|
module.exports = {
|
|
57436
57550
|
getAutoRange: getAutoRange,
|
|
@@ -57472,8 +57586,9 @@ function getAutoRange(gd, ax) {
|
|
|
57472
57586
|
var i, j;
|
|
57473
57587
|
var newRange = [];
|
|
57474
57588
|
|
|
57475
|
-
var
|
|
57476
|
-
var
|
|
57589
|
+
var fullLayout = gd._fullLayout;
|
|
57590
|
+
var getPadMin = makePadFn(fullLayout, ax, 0);
|
|
57591
|
+
var getPadMax = makePadFn(fullLayout, ax, 1);
|
|
57477
57592
|
var extremes = concatExtremes(gd, ax);
|
|
57478
57593
|
var minArray = extremes.min;
|
|
57479
57594
|
var maxArray = extremes.max;
|
|
@@ -57533,8 +57648,8 @@ function getAutoRange(gd, ax) {
|
|
|
57533
57648
|
} else if(dv / axLen > mbest) {
|
|
57534
57649
|
// in case of padding longer than the axis
|
|
57535
57650
|
// at least include the unpadded data values.
|
|
57536
|
-
minbest = {val: minpt.val,
|
|
57537
|
-
maxbest = {val: maxpt.val,
|
|
57651
|
+
minbest = {val: minpt.val, nopad: 1};
|
|
57652
|
+
maxbest = {val: maxpt.val, nopad: 1};
|
|
57538
57653
|
mbest = dv / axLen;
|
|
57539
57654
|
}
|
|
57540
57655
|
}
|
|
@@ -57571,17 +57686,17 @@ function getAutoRange(gd, ax) {
|
|
|
57571
57686
|
} else {
|
|
57572
57687
|
if(toZero) {
|
|
57573
57688
|
if(minbest.val >= 0) {
|
|
57574
|
-
minbest = {val: 0,
|
|
57689
|
+
minbest = {val: 0, nopad: 1};
|
|
57575
57690
|
}
|
|
57576
57691
|
if(maxbest.val <= 0) {
|
|
57577
|
-
maxbest = {val: 0,
|
|
57692
|
+
maxbest = {val: 0, nopad: 1};
|
|
57578
57693
|
}
|
|
57579
57694
|
} else if(nonNegative) {
|
|
57580
57695
|
if(minbest.val - mbest * getPadMin(minbest) < 0) {
|
|
57581
|
-
minbest = {val: 0,
|
|
57696
|
+
minbest = {val: 0, nopad: 1};
|
|
57582
57697
|
}
|
|
57583
57698
|
if(maxbest.val <= 0) {
|
|
57584
|
-
maxbest = {val: 1,
|
|
57699
|
+
maxbest = {val: 1, nopad: 1};
|
|
57585
57700
|
}
|
|
57586
57701
|
}
|
|
57587
57702
|
|
|
@@ -57618,13 +57733,15 @@ function calcBreaksLength(ax, v0, v1) {
|
|
|
57618
57733
|
* calculate the pixel padding for ax._min and ax._max entries with
|
|
57619
57734
|
* optional extrapad as 5% of the total axis length
|
|
57620
57735
|
*/
|
|
57621
|
-
function makePadFn(ax, max) {
|
|
57736
|
+
function makePadFn(fullLayout, ax, max) {
|
|
57622
57737
|
// 5% padding for points that specify extrapad: true
|
|
57623
57738
|
var extrappad = 0.05 * ax._length;
|
|
57624
57739
|
|
|
57740
|
+
var anchorAxis = ax._anchorAxis || {};
|
|
57741
|
+
|
|
57625
57742
|
if(
|
|
57626
57743
|
(ax.ticklabelposition || '').indexOf('inside') !== -1 ||
|
|
57627
|
-
(
|
|
57744
|
+
(anchorAxis.ticklabelposition || '').indexOf('inside') !== -1
|
|
57628
57745
|
) {
|
|
57629
57746
|
var axReverse = ax.autorange === 'reversed';
|
|
57630
57747
|
if(!axReverse) {
|
|
@@ -57634,8 +57751,11 @@ function makePadFn(ax, max) {
|
|
|
57634
57751
|
if(axReverse) max = !max;
|
|
57635
57752
|
}
|
|
57636
57753
|
|
|
57637
|
-
|
|
57638
|
-
|
|
57754
|
+
var zero = 0;
|
|
57755
|
+
if(!isLinked(fullLayout, ax._id)) {
|
|
57756
|
+
zero = padInsideLabelsOnAnchorAxis(ax, max);
|
|
57757
|
+
}
|
|
57758
|
+
extrappad = Math.max(zero, extrappad);
|
|
57639
57759
|
|
|
57640
57760
|
// domain-constrained axes: base extrappad on the unconstrained
|
|
57641
57761
|
// domain so it's consistent as the domain changes
|
|
@@ -57644,50 +57764,17 @@ function makePadFn(ax, max) {
|
|
|
57644
57764
|
(ax.domain[1] - ax.domain[0]);
|
|
57645
57765
|
}
|
|
57646
57766
|
|
|
57647
|
-
return function getPad(pt) {
|
|
57767
|
+
return function getPad(pt) {
|
|
57768
|
+
if(pt.nopad) return 0;
|
|
57769
|
+
return pt.pad + (pt.extrapad ? extrappad : zero);
|
|
57770
|
+
};
|
|
57648
57771
|
}
|
|
57649
57772
|
|
|
57650
57773
|
var TEXTPAD = 3;
|
|
57651
57774
|
|
|
57652
|
-
function
|
|
57653
|
-
var
|
|
57654
|
-
var
|
|
57655
|
-
return ticklabelposition.indexOf(str) !== -1;
|
|
57656
|
-
};
|
|
57657
|
-
|
|
57658
|
-
if(!has('inside')) return extrappad;
|
|
57659
|
-
var isTop = has('top');
|
|
57660
|
-
var isLeft = has('left');
|
|
57661
|
-
var isRight = has('right');
|
|
57662
|
-
var isBottom = has('bottom');
|
|
57663
|
-
var isAligned = isBottom || isLeft || isTop || isRight;
|
|
57664
|
-
|
|
57665
|
-
if(
|
|
57666
|
-
(max && (isLeft || isBottom)) ||
|
|
57667
|
-
(!max && (isRight || isTop))
|
|
57668
|
-
) {
|
|
57669
|
-
return extrappad;
|
|
57670
|
-
}
|
|
57671
|
-
|
|
57672
|
-
// increase padding to make more room for inside tick labels of the axis
|
|
57673
|
-
var fontSize = ax.tickfont ? ax.tickfont.size : 12;
|
|
57674
|
-
var isX = ax._id.charAt(0) === 'x';
|
|
57675
|
-
var morePad = (isX ? 1.2 : 0.6) * fontSize;
|
|
57676
|
-
|
|
57677
|
-
if(isAligned) {
|
|
57678
|
-
morePad *= 2;
|
|
57679
|
-
morePad += (ax.tickwidth || 0) / 2;
|
|
57680
|
-
}
|
|
57681
|
-
|
|
57682
|
-
morePad += TEXTPAD;
|
|
57683
|
-
|
|
57684
|
-
extrappad = Math.max(extrappad, morePad);
|
|
57685
|
-
|
|
57686
|
-
return extrappad;
|
|
57687
|
-
}
|
|
57688
|
-
|
|
57689
|
-
function adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max) {
|
|
57690
|
-
var anchorAxis = (ax._anchorAxis || {});
|
|
57775
|
+
function padInsideLabelsOnAnchorAxis(ax, max) {
|
|
57776
|
+
var pad = 0;
|
|
57777
|
+
var anchorAxis = ax._anchorAxis || {};
|
|
57691
57778
|
if((anchorAxis.ticklabelposition || '').indexOf('inside') !== -1) {
|
|
57692
57779
|
// increase padding to make more room for inside tick labels of the counter axis
|
|
57693
57780
|
if((
|
|
@@ -57703,7 +57790,6 @@ function adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max) {
|
|
|
57703
57790
|
)) {
|
|
57704
57791
|
var isX = ax._id.charAt(0) === 'x';
|
|
57705
57792
|
|
|
57706
|
-
var morePad = 0;
|
|
57707
57793
|
if(anchorAxis._vals) {
|
|
57708
57794
|
var rad = Lib.deg2rad(anchorAxis._tickAngles[anchorAxis._id + 'tick'] || 0);
|
|
57709
57795
|
var cosA = Math.abs(Math.cos(rad));
|
|
@@ -57712,29 +57798,24 @@ function adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max) {
|
|
|
57712
57798
|
// use bounding boxes
|
|
57713
57799
|
anchorAxis._vals.forEach(function(t) {
|
|
57714
57800
|
if(t.bb) {
|
|
57715
|
-
var w = t.bb.width;
|
|
57716
|
-
var h = t.bb.height;
|
|
57801
|
+
var w = 2 * TEXTPAD + t.bb.width;
|
|
57802
|
+
var h = 2 * TEXTPAD + t.bb.height;
|
|
57717
57803
|
|
|
57718
|
-
|
|
57804
|
+
pad = Math.max(pad, isX ?
|
|
57719
57805
|
Math.max(w * cosA, h * sinA) :
|
|
57720
57806
|
Math.max(h * cosA, w * sinA)
|
|
57721
57807
|
);
|
|
57722
|
-
|
|
57723
|
-
// add extra pad around label
|
|
57724
|
-
morePad += 3;
|
|
57725
57808
|
}
|
|
57726
57809
|
});
|
|
57727
57810
|
}
|
|
57728
57811
|
|
|
57729
57812
|
if(anchorAxis.ticks === 'inside' && anchorAxis.ticklabelposition === 'inside') {
|
|
57730
|
-
|
|
57813
|
+
pad += anchorAxis.ticklen || 0;
|
|
57731
57814
|
}
|
|
57732
|
-
|
|
57733
|
-
extrappad = Math.max(extrappad, morePad);
|
|
57734
57815
|
}
|
|
57735
57816
|
}
|
|
57736
57817
|
|
|
57737
|
-
return
|
|
57818
|
+
return pad;
|
|
57738
57819
|
}
|
|
57739
57820
|
|
|
57740
57821
|
function concatExtremes(gd, ax, noMatch) {
|
|
@@ -58053,7 +58134,7 @@ function goodNumber(v) {
|
|
|
58053
58134
|
function lessOrEqual(v0, v1) { return v0 <= v1; }
|
|
58054
58135
|
function greaterOrEqual(v0, v1) { return v0 >= v1; }
|
|
58055
58136
|
|
|
58056
|
-
},{"../../constants/numerical":
|
|
58137
|
+
},{"../../constants/numerical":189,"../../lib":212,"../../registry":308,"./axis_ids":261,"fast-isnumeric":18}],258:[function(_dereq_,module,exports){
|
|
58057
58138
|
/**
|
|
58058
58139
|
* Copyright 2012-2020, Plotly, Inc.
|
|
58059
58140
|
* All rights reserved.
|
|
@@ -58112,6 +58193,10 @@ axes.setConvert = _dereq_('./set_convert');
|
|
|
58112
58193
|
var autoType = _dereq_('./axis_autotype');
|
|
58113
58194
|
|
|
58114
58195
|
var axisIds = _dereq_('./axis_ids');
|
|
58196
|
+
var idSort = axisIds.idSort;
|
|
58197
|
+
var isLinked = axisIds.isLinked;
|
|
58198
|
+
|
|
58199
|
+
// tight coupling to chart studio
|
|
58115
58200
|
axes.id2name = axisIds.id2name;
|
|
58116
58201
|
axes.name2id = axisIds.name2id;
|
|
58117
58202
|
axes.cleanId = axisIds.cleanId;
|
|
@@ -59501,9 +59586,23 @@ function formatDate(ax, out, hover, extraPrecision) {
|
|
|
59501
59586
|
// except for year headPart: turn this into "Jan 1, 2000" etc.
|
|
59502
59587
|
if(tr === 'd') dateStr += ', ' + headStr;
|
|
59503
59588
|
else dateStr = headStr + (dateStr ? ', ' + dateStr : '');
|
|
59504
|
-
} else
|
|
59505
|
-
|
|
59506
|
-
|
|
59589
|
+
} else {
|
|
59590
|
+
if(
|
|
59591
|
+
!ax._inCalcTicks ||
|
|
59592
|
+
ax._prevDateHead !== headStr
|
|
59593
|
+
) {
|
|
59594
|
+
ax._prevDateHead = headStr;
|
|
59595
|
+
dateStr += '<br>' + headStr;
|
|
59596
|
+
} else {
|
|
59597
|
+
var isInside = (ax.ticklabelposition || '').indexOf('inside') !== -1;
|
|
59598
|
+
var side = ax._realSide || ax.side; // polar mocks the side of the radial axis
|
|
59599
|
+
if(
|
|
59600
|
+
(!isInside && side === 'top') ||
|
|
59601
|
+
(isInside && side === 'bottom')
|
|
59602
|
+
) {
|
|
59603
|
+
dateStr += '<br> ';
|
|
59604
|
+
}
|
|
59605
|
+
}
|
|
59507
59606
|
}
|
|
59508
59607
|
}
|
|
59509
59608
|
|
|
@@ -60949,7 +61048,7 @@ axes.drawZeroLine = function(gd, ax, opts) {
|
|
|
60949
61048
|
// If several zerolines enter at the same time we will sort once per,
|
|
60950
61049
|
// but generally this should be a minimal overhead.
|
|
60951
61050
|
opts.layer.selectAll('path').sort(function(da, db) {
|
|
60952
|
-
return
|
|
61051
|
+
return idSort(da.id, db.id);
|
|
60953
61052
|
});
|
|
60954
61053
|
});
|
|
60955
61054
|
|
|
@@ -61247,7 +61346,8 @@ axes.drawLabels = function(gd, ax, opts) {
|
|
|
61247
61346
|
var anchorAx = ax._anchorAxis;
|
|
61248
61347
|
if(
|
|
61249
61348
|
anchorAx && anchorAx.autorange &&
|
|
61250
|
-
(ax.ticklabelposition || '').indexOf('inside') !== -1
|
|
61349
|
+
(ax.ticklabelposition || '').indexOf('inside') !== -1 &&
|
|
61350
|
+
!isLinked(fullLayout, ax._id)
|
|
61251
61351
|
) {
|
|
61252
61352
|
if(!fullLayout._insideTickLabelsAutorange) {
|
|
61253
61353
|
fullLayout._insideTickLabelsAutorange = {};
|
|
@@ -61390,27 +61490,36 @@ function drawTitle(gd, ax) {
|
|
|
61390
61490
|
var axId = ax._id;
|
|
61391
61491
|
var axLetter = axId.charAt(0);
|
|
61392
61492
|
var fontSize = ax.title.font.size;
|
|
61393
|
-
|
|
61394
61493
|
var titleStandoff;
|
|
61395
61494
|
|
|
61396
61495
|
if(ax.title.hasOwnProperty('standoff')) {
|
|
61397
61496
|
titleStandoff = ax._depth + ax.title.standoff + approxTitleDepth(ax);
|
|
61398
61497
|
} else {
|
|
61498
|
+
var isInside = (ax.ticklabelposition || '').indexOf('inside') !== -1;
|
|
61499
|
+
|
|
61399
61500
|
if(ax.type === 'multicategory') {
|
|
61400
61501
|
titleStandoff = ax._depth;
|
|
61401
61502
|
} else {
|
|
61402
|
-
var offsetBase = 1.5;
|
|
61403
|
-
|
|
61503
|
+
var offsetBase = 1.5 * fontSize;
|
|
61504
|
+
if(isInside) {
|
|
61505
|
+
offsetBase = 0.5 * fontSize;
|
|
61506
|
+
if(ax.ticks === 'outside') {
|
|
61507
|
+
offsetBase += ax.ticklen;
|
|
61508
|
+
}
|
|
61509
|
+
}
|
|
61510
|
+
titleStandoff = 10 + offsetBase + (ax.linewidth ? ax.linewidth - 1 : 0);
|
|
61404
61511
|
}
|
|
61405
61512
|
|
|
61406
|
-
if(
|
|
61407
|
-
|
|
61408
|
-
|
|
61409
|
-
|
|
61410
|
-
|
|
61411
|
-
|
|
61412
|
-
|
|
61413
|
-
|
|
61513
|
+
if(!isInside) {
|
|
61514
|
+
if(axLetter === 'x') {
|
|
61515
|
+
titleStandoff += ax.side === 'top' ?
|
|
61516
|
+
fontSize * (ax.showticklabels ? 1 : 0) :
|
|
61517
|
+
fontSize * (ax.showticklabels ? 1.5 : 0.5);
|
|
61518
|
+
} else {
|
|
61519
|
+
titleStandoff += ax.side === 'right' ?
|
|
61520
|
+
fontSize * (ax.showticklabels ? 1 : 0.5) :
|
|
61521
|
+
fontSize * (ax.showticklabels ? 0.5 : 0);
|
|
61522
|
+
}
|
|
61414
61523
|
}
|
|
61415
61524
|
}
|
|
61416
61525
|
|
|
@@ -61745,7 +61854,7 @@ function moveOutsideBreak(v, ax) {
|
|
|
61745
61854
|
return v;
|
|
61746
61855
|
}
|
|
61747
61856
|
|
|
61748
|
-
},{"../../components/color":
|
|
61857
|
+
},{"../../components/color":83,"../../components/drawing":105,"../../components/titles":178,"../../constants/alignment":185,"../../constants/numerical":189,"../../lib":212,"../../lib/svg_text_utils":234,"../../plots/plots":299,"../../registry":308,"./autorange":257,"./axis_autotype":259,"./axis_ids":261,"./clean_ticks":263,"./layout_attributes":272,"./set_convert":278,"d3":16,"fast-isnumeric":18}],259:[function(_dereq_,module,exports){
|
|
61749
61858
|
/**
|
|
61750
61859
|
* Copyright 2012-2020, Plotly, Inc.
|
|
61751
61860
|
* All rights reserved.
|
|
@@ -61876,7 +61985,7 @@ function multiCategory(a) {
|
|
|
61876
61985
|
return isArrayOrTypedArray(a[0]) && isArrayOrTypedArray(a[1]);
|
|
61877
61986
|
}
|
|
61878
61987
|
|
|
61879
|
-
},{"../../constants/numerical":
|
|
61988
|
+
},{"../../constants/numerical":189,"../../lib":212,"fast-isnumeric":18}],260:[function(_dereq_,module,exports){
|
|
61880
61989
|
/**
|
|
61881
61990
|
* Copyright 2012-2020, Plotly, Inc.
|
|
61882
61991
|
* All rights reserved.
|
|
@@ -62184,7 +62293,7 @@ function indexOfDay(v) {
|
|
|
62184
62293
|
];
|
|
62185
62294
|
}
|
|
62186
62295
|
|
|
62187
|
-
},{"../../lib":
|
|
62296
|
+
},{"../../lib":212,"../../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":18}],261:[function(_dereq_,module,exports){
|
|
62188
62297
|
/**
|
|
62189
62298
|
* Copyright 2012-2020, Plotly, Inc.
|
|
62190
62299
|
* All rights reserved.
|
|
@@ -62324,7 +62433,23 @@ exports.ref2id = function(ar) {
|
|
|
62324
62433
|
return (/^[xyz]/.test(ar)) ? ar.split(' ')[0] : false;
|
|
62325
62434
|
};
|
|
62326
62435
|
|
|
62327
|
-
|
|
62436
|
+
function isFound(axId, list) {
|
|
62437
|
+
if(list && list.length) {
|
|
62438
|
+
for(var i = 0; i < list.length; i++) {
|
|
62439
|
+
if(list[i][axId]) return true;
|
|
62440
|
+
}
|
|
62441
|
+
}
|
|
62442
|
+
return false;
|
|
62443
|
+
}
|
|
62444
|
+
|
|
62445
|
+
exports.isLinked = function(fullLayout, axId) {
|
|
62446
|
+
return (
|
|
62447
|
+
isFound(axId, fullLayout._axisMatchGroups) ||
|
|
62448
|
+
isFound(axId, fullLayout._axisConstraintGroups)
|
|
62449
|
+
);
|
|
62450
|
+
};
|
|
62451
|
+
|
|
62452
|
+
},{"../../registry":308,"./constants":264}],262:[function(_dereq_,module,exports){
|
|
62328
62453
|
/**
|
|
62329
62454
|
* Copyright 2012-2020, Plotly, Inc.
|
|
62330
62455
|
* All rights reserved.
|
|
@@ -62418,7 +62543,7 @@ module.exports = function handleCategoryOrderDefaults(containerIn, containerOut,
|
|
|
62418
62543
|
}
|
|
62419
62544
|
};
|
|
62420
62545
|
|
|
62421
|
-
},{}],
|
|
62546
|
+
},{}],263:[function(_dereq_,module,exports){
|
|
62422
62547
|
/**
|
|
62423
62548
|
* Copyright 2012-2020, Plotly, Inc.
|
|
62424
62549
|
* All rights reserved.
|
|
@@ -62510,7 +62635,7 @@ exports.tick0 = function(tick0, axType, calendar, dtick) {
|
|
|
62510
62635
|
return isNumeric(tick0) ? Number(tick0) : 0;
|
|
62511
62636
|
};
|
|
62512
62637
|
|
|
62513
|
-
},{"../../constants/numerical":
|
|
62638
|
+
},{"../../constants/numerical":189,"../../lib":212,"fast-isnumeric":18}],264:[function(_dereq_,module,exports){
|
|
62514
62639
|
/**
|
|
62515
62640
|
* Copyright 2012-2020, Plotly, Inc.
|
|
62516
62641
|
* All rights reserved.
|
|
@@ -62602,7 +62727,7 @@ module.exports = {
|
|
|
62602
62727
|
}
|
|
62603
62728
|
};
|
|
62604
62729
|
|
|
62605
|
-
},{"../../lib/regex":
|
|
62730
|
+
},{"../../lib/regex":228}],265:[function(_dereq_,module,exports){
|
|
62606
62731
|
/**
|
|
62607
62732
|
* Copyright 2012-2020, Plotly, Inc.
|
|
62608
62733
|
* All rights reserved.
|
|
@@ -63170,8 +63295,8 @@ exports.enforce = function enforce(gd) {
|
|
|
63170
63295
|
// *are* expanding to the full domain
|
|
63171
63296
|
var outerMin = rangeCenter - halfRange * factor * 1.0001;
|
|
63172
63297
|
var outerMax = rangeCenter + halfRange * factor * 1.0001;
|
|
63173
|
-
var getPadMin = autorange.makePadFn(ax, 0);
|
|
63174
|
-
var getPadMax = autorange.makePadFn(ax, 1);
|
|
63298
|
+
var getPadMin = autorange.makePadFn(fullLayout, ax, 0);
|
|
63299
|
+
var getPadMax = autorange.makePadFn(fullLayout, ax, 1);
|
|
63175
63300
|
|
|
63176
63301
|
updateDomain(ax, factor);
|
|
63177
63302
|
var m = Math.abs(ax._m);
|
|
@@ -63253,7 +63378,7 @@ function updateDomain(ax, factor) {
|
|
|
63253
63378
|
ax.setScale();
|
|
63254
63379
|
}
|
|
63255
63380
|
|
|
63256
|
-
},{"../../constants/alignment":
|
|
63381
|
+
},{"../../constants/alignment":185,"../../constants/numerical":189,"../../lib":212,"./autorange":257,"./axis_ids":261,"./layout_attributes":272,"./scale_zoom":276,"./set_convert":278}],266:[function(_dereq_,module,exports){
|
|
63257
63382
|
/**
|
|
63258
63383
|
* Copyright 2012-2020, Plotly, Inc.
|
|
63259
63384
|
* All rights reserved.
|
|
@@ -64591,7 +64716,7 @@ module.exports = {
|
|
|
64591
64716
|
attachWheelEventHandler: attachWheelEventHandler
|
|
64592
64717
|
};
|
|
64593
64718
|
|
|
64594
|
-
},{"../../components/color":
|
|
64719
|
+
},{"../../components/color":83,"../../components/dragelement":102,"../../components/dragelement/helpers":101,"../../components/drawing":105,"../../components/fx":123,"../../constants/alignment":185,"../../lib":212,"../../lib/clear_gl_canvases":198,"../../lib/setcursor":232,"../../lib/svg_text_utils":234,"../../plot_api/subroutines":248,"../../registry":308,"../plots":299,"./axes":258,"./axis_ids":261,"./constants":264,"./scale_zoom":276,"./select":277,"d3":16,"has-passive-events":50,"tinycolor2":66}],267:[function(_dereq_,module,exports){
|
|
64595
64720
|
/**
|
|
64596
64721
|
* Copyright 2012-2020, Plotly, Inc.
|
|
64597
64722
|
* All rights reserved.
|
|
@@ -64759,7 +64884,7 @@ exports.updateFx = function(gd) {
|
|
|
64759
64884
|
setCursor(fullLayout._draggers, cursor);
|
|
64760
64885
|
};
|
|
64761
64886
|
|
|
64762
|
-
},{"../../components/dragelement":
|
|
64887
|
+
},{"../../components/dragelement":102,"../../components/fx":123,"../../lib/setcursor":232,"./constants":264,"./dragbox":266,"d3":16}],268:[function(_dereq_,module,exports){
|
|
64763
64888
|
/**
|
|
64764
64889
|
* Copyright 2012-2020, Plotly, Inc.
|
|
64765
64890
|
* All rights reserved.
|
|
@@ -64795,7 +64920,7 @@ module.exports = {
|
|
|
64795
64920
|
clearSelect: clearSelect
|
|
64796
64921
|
};
|
|
64797
64922
|
|
|
64798
|
-
},{}],
|
|
64923
|
+
},{}],269:[function(_dereq_,module,exports){
|
|
64799
64924
|
/**
|
|
64800
64925
|
* Copyright 2012-2020, Plotly, Inc.
|
|
64801
64926
|
* All rights reserved.
|
|
@@ -64852,7 +64977,7 @@ module.exports = {
|
|
|
64852
64977
|
getTransform: getTransform
|
|
64853
64978
|
};
|
|
64854
64979
|
|
|
64855
|
-
},{"../../lib":
|
|
64980
|
+
},{"../../lib":212}],270:[function(_dereq_,module,exports){
|
|
64856
64981
|
/**
|
|
64857
64982
|
* Copyright 2012-2020, Plotly, Inc.
|
|
64858
64983
|
* All rights reserved.
|
|
@@ -64930,7 +65055,7 @@ module.exports = function makeIncludeComponents(containerArrayName) {
|
|
|
64930
65055
|
};
|
|
64931
65056
|
};
|
|
64932
65057
|
|
|
64933
|
-
},{"../../lib":
|
|
65058
|
+
},{"../../lib":212,"../../registry":308,"./axis_ids":261}],271:[function(_dereq_,module,exports){
|
|
64934
65059
|
/**
|
|
64935
65060
|
* Copyright 2012-2020, Plotly, Inc.
|
|
64936
65061
|
* All rights reserved.
|
|
@@ -65548,7 +65673,7 @@ exports.toSVG = function(gd) {
|
|
|
65548
65673
|
|
|
65549
65674
|
exports.updateFx = _dereq_('./graph_interact').updateFx;
|
|
65550
65675
|
|
|
65551
|
-
},{"../../components/drawing":
|
|
65676
|
+
},{"../../components/drawing":105,"../../constants/xmlns_namespaces":190,"../../lib":212,"../../registry":308,"../get_data":288,"../plots":299,"./attributes":256,"./axis_ids":261,"./constants":264,"./graph_interact":267,"./layout_attributes":272,"./layout_defaults":273,"./transition_axes":282,"d3":16}],272:[function(_dereq_,module,exports){
|
|
65552
65677
|
/**
|
|
65553
65678
|
* Copyright 2012-2020, Plotly, Inc.
|
|
65554
65679
|
* All rights reserved.
|
|
@@ -66268,7 +66393,7 @@ module.exports = {
|
|
|
66268
66393
|
}
|
|
66269
66394
|
};
|
|
66270
66395
|
|
|
66271
|
-
},{"../../components/color/attributes":
|
|
66396
|
+
},{"../../components/color/attributes":82,"../../components/drawing/attributes":104,"../../constants/docs":187,"../../constants/numerical":189,"../../lib/extend":204,"../../plot_api/plot_template":247,"../font_attributes":286,"./constants":264}],273:[function(_dereq_,module,exports){
|
|
66272
66397
|
/**
|
|
66273
66398
|
* Copyright 2012-2020, Plotly, Inc.
|
|
66274
66399
|
* All rights reserved.
|
|
@@ -66655,7 +66780,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {
|
|
|
66655
66780
|
});
|
|
66656
66781
|
};
|
|
66657
66782
|
|
|
66658
|
-
},{"../../components/color":
|
|
66783
|
+
},{"../../components/color":83,"../../components/fx/helpers":119,"../../components/fx/hovermode_defaults":122,"../../lib":212,"../../plot_api/plot_template":247,"../../registry":308,"../layout_attributes":290,"./axis_defaults":260,"./axis_ids":261,"./constants":264,"./constraints":265,"./layout_attributes":272,"./position_defaults":275,"./type_defaults":283}],274:[function(_dereq_,module,exports){
|
|
66659
66784
|
/**
|
|
66660
66785
|
* Copyright 2012-2020, Plotly, Inc.
|
|
66661
66786
|
* All rights reserved.
|
|
@@ -66720,7 +66845,7 @@ module.exports = function handleLineGridDefaults(containerIn, containerOut, coer
|
|
|
66720
66845
|
}
|
|
66721
66846
|
};
|
|
66722
66847
|
|
|
66723
|
-
},{"../../components/color/attributes":
|
|
66848
|
+
},{"../../components/color/attributes":82,"../../lib":212,"tinycolor2":66}],275:[function(_dereq_,module,exports){
|
|
66724
66849
|
/**
|
|
66725
66850
|
* Copyright 2012-2020, Plotly, Inc.
|
|
66726
66851
|
* All rights reserved.
|
|
@@ -66808,7 +66933,7 @@ module.exports = function handlePositionDefaults(containerIn, containerOut, coer
|
|
|
66808
66933
|
return containerOut;
|
|
66809
66934
|
};
|
|
66810
66935
|
|
|
66811
|
-
},{"../../lib":
|
|
66936
|
+
},{"../../lib":212,"fast-isnumeric":18}],276:[function(_dereq_,module,exports){
|
|
66812
66937
|
/**
|
|
66813
66938
|
* Copyright 2012-2020, Plotly, Inc.
|
|
66814
66939
|
* All rights reserved.
|
|
@@ -66837,7 +66962,7 @@ module.exports = function scaleZoom(ax, factor, centerFraction) {
|
|
|
66837
66962
|
ax.setScale();
|
|
66838
66963
|
};
|
|
66839
66964
|
|
|
66840
|
-
},{"../../constants/alignment":
|
|
66965
|
+
},{"../../constants/alignment":185}],277:[function(_dereq_,module,exports){
|
|
66841
66966
|
/**
|
|
66842
66967
|
* Copyright 2012-2020, Plotly, Inc.
|
|
66843
66968
|
* All rights reserved.
|
|
@@ -67780,7 +67905,7 @@ module.exports = {
|
|
|
67780
67905
|
selectOnClick: selectOnClick
|
|
67781
67906
|
};
|
|
67782
67907
|
|
|
67783
|
-
},{"../../components/color":
|
|
67908
|
+
},{"../../components/color":83,"../../components/dragelement/helpers":101,"../../components/drawing":105,"../../components/fx":123,"../../components/fx/helpers":119,"../../components/shapes/draw_newshape/display_outlines":168,"../../components/shapes/draw_newshape/helpers":169,"../../components/shapes/draw_newshape/newshapes":170,"../../lib":212,"../../lib/clear_gl_canvases":198,"../../lib/polygon":224,"../../lib/throttle":235,"../../plot_api/subroutines":248,"../../registry":308,"./axis_ids":261,"./constants":264,"./handle_outline":268,"./helpers":269,"polybooljs":57}],278:[function(_dereq_,module,exports){
|
|
67784
67909
|
/**
|
|
67785
67910
|
* Copyright 2012-2020, Plotly, Inc.
|
|
67786
67911
|
* All rights reserved.
|
|
@@ -68738,7 +68863,7 @@ module.exports = function setConvert(ax, fullLayout) {
|
|
|
68738
68863
|
delete ax._forceTick0;
|
|
68739
68864
|
};
|
|
68740
68865
|
|
|
68741
|
-
},{"../../constants/numerical":
|
|
68866
|
+
},{"../../constants/numerical":189,"../../lib":212,"./axis_ids":261,"./constants":264,"d3":16,"d3-time-format":14,"fast-isnumeric":18}],279:[function(_dereq_,module,exports){
|
|
68742
68867
|
/**
|
|
68743
68868
|
* Copyright 2012-2020, Plotly, Inc.
|
|
68744
68869
|
* All rights reserved.
|
|
@@ -68865,7 +68990,7 @@ function tickformatstopDefaults(valueIn, valueOut) {
|
|
|
68865
68990
|
}
|
|
68866
68991
|
}
|
|
68867
68992
|
|
|
68868
|
-
},{"../../components/color":
|
|
68993
|
+
},{"../../components/color":83,"../../lib":212,"../array_container_defaults":253,"./layout_attributes":272}],280:[function(_dereq_,module,exports){
|
|
68869
68994
|
/**
|
|
68870
68995
|
* Copyright 2012-2020, Plotly, Inc.
|
|
68871
68996
|
* All rights reserved.
|
|
@@ -68898,7 +69023,7 @@ module.exports = function handleTickDefaults(containerIn, containerOut, coerce,
|
|
|
68898
69023
|
}
|
|
68899
69024
|
};
|
|
68900
69025
|
|
|
68901
|
-
},{"../../lib":
|
|
69026
|
+
},{"../../lib":212,"./layout_attributes":272}],281:[function(_dereq_,module,exports){
|
|
68902
69027
|
/**
|
|
68903
69028
|
* Copyright 2012-2020, Plotly, Inc.
|
|
68904
69029
|
* All rights reserved.
|
|
@@ -68945,7 +69070,7 @@ module.exports = function handleTickValueDefaults(containerIn, containerOut, coe
|
|
|
68945
69070
|
}
|
|
68946
69071
|
};
|
|
68947
69072
|
|
|
68948
|
-
},{"../../lib":
|
|
69073
|
+
},{"../../lib":212,"./clean_ticks":263}],282:[function(_dereq_,module,exports){
|
|
68949
69074
|
/**
|
|
68950
69075
|
* Copyright 2012-2020, Plotly, Inc.
|
|
68951
69076
|
* All rights reserved.
|
|
@@ -69158,7 +69283,7 @@ module.exports = function transitionAxes(gd, edits, transitionOpts, makeOnComple
|
|
|
69158
69283
|
return Promise.resolve();
|
|
69159
69284
|
};
|
|
69160
69285
|
|
|
69161
|
-
},{"../../components/drawing":
|
|
69286
|
+
},{"../../components/drawing":105,"../../lib":212,"../../registry":308,"./axes":258,"d3":16}],283:[function(_dereq_,module,exports){
|
|
69162
69287
|
/**
|
|
69163
69288
|
* Copyright 2012-2020, Plotly, Inc.
|
|
69164
69289
|
* All rights reserved.
|
|
@@ -69298,7 +69423,7 @@ function isBoxWithoutPositionCoords(trace, axLetter) {
|
|
|
69298
69423
|
);
|
|
69299
69424
|
}
|
|
69300
69425
|
|
|
69301
|
-
},{"../../registry":
|
|
69426
|
+
},{"../../registry":308,"./axis_autotype":259}],284:[function(_dereq_,module,exports){
|
|
69302
69427
|
/**
|
|
69303
69428
|
* Copyright 2012-2020, Plotly, Inc.
|
|
69304
69429
|
* All rights reserved.
|
|
@@ -69725,7 +69850,7 @@ function crawl(attrs, callback, path, depth) {
|
|
|
69725
69850
|
});
|
|
69726
69851
|
}
|
|
69727
69852
|
|
|
69728
|
-
},{"../lib":
|
|
69853
|
+
},{"../lib":212,"../registry":308}],285:[function(_dereq_,module,exports){
|
|
69729
69854
|
/**
|
|
69730
69855
|
* Copyright 2012-2020, Plotly, Inc.
|
|
69731
69856
|
* All rights reserved.
|
|
@@ -69837,7 +69962,7 @@ exports.defaults = function(containerOut, layout, coerce, dfltDomains) {
|
|
|
69837
69962
|
if(!(y[0] < y[1])) containerOut.domain.y = dfltY.slice();
|
|
69838
69963
|
};
|
|
69839
69964
|
|
|
69840
|
-
},{"../lib/extend":
|
|
69965
|
+
},{"../lib/extend":204}],286:[function(_dereq_,module,exports){
|
|
69841
69966
|
/**
|
|
69842
69967
|
* Copyright 2012-2020, Plotly, Inc.
|
|
69843
69968
|
* All rights reserved.
|
|
@@ -69902,7 +70027,7 @@ module.exports = function(opts) {
|
|
|
69902
70027
|
return attrs;
|
|
69903
70028
|
};
|
|
69904
70029
|
|
|
69905
|
-
},{}],
|
|
70030
|
+
},{}],287:[function(_dereq_,module,exports){
|
|
69906
70031
|
/**
|
|
69907
70032
|
* Copyright 2012-2020, Plotly, Inc.
|
|
69908
70033
|
* All rights reserved.
|
|
@@ -69948,7 +70073,7 @@ module.exports = {
|
|
|
69948
70073
|
}
|
|
69949
70074
|
};
|
|
69950
70075
|
|
|
69951
|
-
},{}],
|
|
70076
|
+
},{}],288:[function(_dereq_,module,exports){
|
|
69952
70077
|
/**
|
|
69953
70078
|
* Copyright 2012-2020, Plotly, Inc.
|
|
69954
70079
|
* All rights reserved.
|
|
@@ -70077,7 +70202,7 @@ exports.getSubplotData = function getSubplotData(data, type, subplotId) {
|
|
|
70077
70202
|
return subplotData;
|
|
70078
70203
|
};
|
|
70079
70204
|
|
|
70080
|
-
},{"../registry":
|
|
70205
|
+
},{"../registry":308,"./cartesian/constants":264}],289:[function(_dereq_,module,exports){
|
|
70081
70206
|
/**
|
|
70082
70207
|
* Copyright 2012-2020, Plotly, Inc.
|
|
70083
70208
|
* All rights reserved.
|
|
@@ -70111,7 +70236,7 @@ function project(camera, v) {
|
|
|
70111
70236
|
|
|
70112
70237
|
module.exports = project;
|
|
70113
70238
|
|
|
70114
|
-
},{}],
|
|
70239
|
+
},{}],290:[function(_dereq_,module,exports){
|
|
70115
70240
|
/**
|
|
70116
70241
|
* Copyright 2012-2020, Plotly, Inc.
|
|
70117
70242
|
* All rights reserved.
|
|
@@ -70452,7 +70577,7 @@ module.exports = {
|
|
|
70452
70577
|
}
|
|
70453
70578
|
};
|
|
70454
70579
|
|
|
70455
|
-
},{"../components/color/attributes":
|
|
70580
|
+
},{"../components/color/attributes":82,"../components/shapes/draw_newshape/attributes":165,"../lib/extend":204,"./animation_attributes":252,"./font_attributes":286,"./pad_attributes":298}],291:[function(_dereq_,module,exports){
|
|
70456
70581
|
/**
|
|
70457
70582
|
* Copyright 2012-2020, Plotly, Inc.
|
|
70458
70583
|
* All rights reserved.
|
|
@@ -70686,7 +70811,7 @@ module.exports = {
|
|
|
70686
70811
|
}
|
|
70687
70812
|
};
|
|
70688
70813
|
|
|
70689
|
-
},{}],
|
|
70814
|
+
},{}],292:[function(_dereq_,module,exports){
|
|
70690
70815
|
/**
|
|
70691
70816
|
* Copyright 2012-2020, Plotly, Inc.
|
|
70692
70817
|
* All rights reserved.
|
|
@@ -70759,7 +70884,7 @@ module.exports = function convertTextOpts(textposition, iconSize) {
|
|
|
70759
70884
|
return { anchor: anchor, offset: offset };
|
|
70760
70885
|
};
|
|
70761
70886
|
|
|
70762
|
-
},{"../../lib":
|
|
70887
|
+
},{"../../lib":212}],293:[function(_dereq_,module,exports){
|
|
70763
70888
|
/**
|
|
70764
70889
|
* Copyright 2012-2020, Plotly, Inc.
|
|
70765
70890
|
* All rights reserved.
|
|
@@ -71046,7 +71171,7 @@ exports.updateFx = function(gd) {
|
|
|
71046
71171
|
}
|
|
71047
71172
|
};
|
|
71048
71173
|
|
|
71049
|
-
},{"../../components/drawing":
|
|
71174
|
+
},{"../../components/drawing":105,"../../constants/xmlns_namespaces":190,"../../lib":212,"../../lib/svg_text_utils":234,"../../plots/get_data":288,"./constants":291,"./layout_attributes":295,"./layout_defaults":296,"./mapbox":297,"d3":16,"mapbox-gl":54}],294:[function(_dereq_,module,exports){
|
|
71050
71175
|
/**
|
|
71051
71176
|
* Copyright 2012-2020, Plotly, Inc.
|
|
71052
71177
|
* All rights reserved.
|
|
@@ -71355,7 +71480,7 @@ module.exports = function createMapboxLayer(subplot, index, opts) {
|
|
|
71355
71480
|
return mapboxLayer;
|
|
71356
71481
|
};
|
|
71357
71482
|
|
|
71358
|
-
},{"../../lib":
|
|
71483
|
+
},{"../../lib":212,"../../lib/svg_text_utils":234,"./constants":291,"./convert_text_opts":292}],295:[function(_dereq_,module,exports){
|
|
71359
71484
|
/**
|
|
71360
71485
|
* Copyright 2012-2020, Plotly, Inc.
|
|
71361
71486
|
* All rights reserved.
|
|
@@ -71592,7 +71717,7 @@ attrs.uirevision = {
|
|
|
71592
71717
|
|
|
71593
71718
|
};
|
|
71594
71719
|
|
|
71595
|
-
},{"../../components/color":
|
|
71720
|
+
},{"../../components/color":83,"../../lib":212,"../../plot_api/edit_types":240,"../../plot_api/plot_template":247,"../../traces/scatter/attributes":339,"../domain":285,"../font_attributes":286,"./constants":291}],296:[function(_dereq_,module,exports){
|
|
71596
71721
|
/**
|
|
71597
71722
|
* Copyright 2012-2020, Plotly, Inc.
|
|
71598
71723
|
* All rights reserved.
|
|
@@ -71700,7 +71825,7 @@ function handleLayerDefaults(layerIn, layerOut) {
|
|
|
71700
71825
|
}
|
|
71701
71826
|
}
|
|
71702
71827
|
|
|
71703
|
-
},{"../../lib":
|
|
71828
|
+
},{"../../lib":212,"../array_container_defaults":253,"../subplot_defaults":306,"./layout_attributes":295}],297:[function(_dereq_,module,exports){
|
|
71704
71829
|
/**
|
|
71705
71830
|
* Copyright 2012-2020, Plotly, Inc.
|
|
71706
71831
|
* All rights reserved.
|
|
@@ -72511,7 +72636,7 @@ function convertCenter(center) {
|
|
|
72511
72636
|
|
|
72512
72637
|
module.exports = Mapbox;
|
|
72513
72638
|
|
|
72514
|
-
},{"../../components/dragelement":
|
|
72639
|
+
},{"../../components/dragelement":102,"../../components/dragelement/helpers":101,"../../components/fx":123,"../../lib":212,"../../lib/geo_location_utils":207,"../../registry":308,"../cartesian/axes":258,"../cartesian/select":277,"./constants":291,"./layers":294,"mapbox-gl":54}],298:[function(_dereq_,module,exports){
|
|
72515
72640
|
/**
|
|
72516
72641
|
* Copyright 2012-2020, Plotly, Inc.
|
|
72517
72642
|
* All rights reserved.
|
|
@@ -72566,7 +72691,7 @@ module.exports = function(opts) {
|
|
|
72566
72691
|
};
|
|
72567
72692
|
};
|
|
72568
72693
|
|
|
72569
|
-
},{}],
|
|
72694
|
+
},{}],299:[function(_dereq_,module,exports){
|
|
72570
72695
|
/**
|
|
72571
72696
|
* Copyright 2012-2020, Plotly, Inc.
|
|
72572
72697
|
* All rights reserved.
|
|
@@ -74435,8 +74560,13 @@ function initMargins(fullLayout) {
|
|
|
74435
74560
|
if(!fullLayout._pushmarginIds) fullLayout._pushmarginIds = {};
|
|
74436
74561
|
}
|
|
74437
74562
|
|
|
74438
|
-
|
|
74439
|
-
var
|
|
74563
|
+
// non-negotiable - this is the smallest height we will allow users to specify via explicit margins
|
|
74564
|
+
var MIN_SPECIFIED_WIDTH = 2;
|
|
74565
|
+
var MIN_SPECIFIED_HEIGHT = 2;
|
|
74566
|
+
|
|
74567
|
+
// could be exposed as an option - the smallest we will allow automargin to shrink a larger plot
|
|
74568
|
+
var MIN_REDUCED_WIDTH = 64;
|
|
74569
|
+
var MIN_REDUCED_HEIGHT = 64;
|
|
74440
74570
|
|
|
74441
74571
|
/**
|
|
74442
74572
|
* autoMargin: called by components that may need to expand the margins to
|
|
@@ -74457,20 +74587,33 @@ plots.autoMargin = function(gd, id, o) {
|
|
|
74457
74587
|
var fullLayout = gd._fullLayout;
|
|
74458
74588
|
var width = fullLayout.width;
|
|
74459
74589
|
var height = fullLayout.height;
|
|
74590
|
+
var margin = fullLayout.margin;
|
|
74591
|
+
|
|
74592
|
+
var minFinalWidth = Lib.constrain(
|
|
74593
|
+
width - margin.l - margin.r,
|
|
74594
|
+
MIN_SPECIFIED_WIDTH,
|
|
74595
|
+
MIN_REDUCED_WIDTH
|
|
74596
|
+
);
|
|
74597
|
+
|
|
74598
|
+
var minFinalHeight = Lib.constrain(
|
|
74599
|
+
height - margin.t - margin.b,
|
|
74600
|
+
MIN_SPECIFIED_HEIGHT,
|
|
74601
|
+
MIN_REDUCED_HEIGHT
|
|
74602
|
+
);
|
|
74603
|
+
|
|
74460
74604
|
var maxSpaceW = Math.max(0, width - minFinalWidth);
|
|
74461
74605
|
var maxSpaceH = Math.max(0, height - minFinalHeight);
|
|
74462
74606
|
|
|
74463
74607
|
var pushMargin = fullLayout._pushmargin;
|
|
74464
74608
|
var pushMarginIds = fullLayout._pushmarginIds;
|
|
74465
74609
|
|
|
74466
|
-
if(
|
|
74610
|
+
if(margin.autoexpand !== false) {
|
|
74467
74611
|
if(!o) {
|
|
74468
74612
|
delete pushMargin[id];
|
|
74469
74613
|
delete pushMarginIds[id];
|
|
74470
74614
|
} else {
|
|
74471
74615
|
var pad = o.pad;
|
|
74472
74616
|
if(pad === undefined) {
|
|
74473
|
-
var margin = fullLayout.margin;
|
|
74474
74617
|
// if no explicit pad is given, use 12px unless there's a
|
|
74475
74618
|
// specified margin that's smaller than that
|
|
74476
74619
|
pad = Math.min(12, margin.l, margin.r, margin.t, margin.b);
|
|
@@ -74478,15 +74621,19 @@ plots.autoMargin = function(gd, id, o) {
|
|
|
74478
74621
|
|
|
74479
74622
|
// if the item is too big, just give it enough automargin to
|
|
74480
74623
|
// make sure you can still grab it and bring it back
|
|
74481
|
-
|
|
74482
|
-
|
|
74483
|
-
|
|
74484
|
-
|
|
74624
|
+
if(maxSpaceW) {
|
|
74625
|
+
var rW = (o.l + o.r) / maxSpaceW;
|
|
74626
|
+
if(rW > 1) {
|
|
74627
|
+
o.l /= rW;
|
|
74628
|
+
o.r /= rW;
|
|
74629
|
+
}
|
|
74485
74630
|
}
|
|
74486
|
-
|
|
74487
|
-
|
|
74488
|
-
|
|
74489
|
-
|
|
74631
|
+
if(maxSpaceH) {
|
|
74632
|
+
var rH = (o.t + o.b) / maxSpaceH;
|
|
74633
|
+
if(rH > 1) {
|
|
74634
|
+
o.t /= rH;
|
|
74635
|
+
o.b /= rH;
|
|
74636
|
+
}
|
|
74490
74637
|
}
|
|
74491
74638
|
|
|
74492
74639
|
var xl = o.xl !== undefined ? o.xl : o.x;
|
|
@@ -74513,8 +74660,6 @@ plots.doAutoMargin = function(gd) {
|
|
|
74513
74660
|
var fullLayout = gd._fullLayout;
|
|
74514
74661
|
var width = fullLayout.width;
|
|
74515
74662
|
var height = fullLayout.height;
|
|
74516
|
-
var maxSpaceW = Math.max(0, width - minFinalWidth);
|
|
74517
|
-
var maxSpaceH = Math.max(0, height - minFinalHeight);
|
|
74518
74663
|
|
|
74519
74664
|
if(!fullLayout._size) fullLayout._size = {};
|
|
74520
74665
|
initMargins(fullLayout);
|
|
@@ -74587,16 +74732,35 @@ plots.doAutoMargin = function(gd) {
|
|
|
74587
74732
|
}
|
|
74588
74733
|
}
|
|
74589
74734
|
|
|
74590
|
-
var
|
|
74591
|
-
|
|
74592
|
-
|
|
74593
|
-
|
|
74735
|
+
var minFinalWidth = Lib.constrain(
|
|
74736
|
+
width - margin.l - margin.r,
|
|
74737
|
+
MIN_SPECIFIED_WIDTH,
|
|
74738
|
+
MIN_REDUCED_WIDTH
|
|
74739
|
+
);
|
|
74740
|
+
|
|
74741
|
+
var minFinalHeight = Lib.constrain(
|
|
74742
|
+
height - margin.t - margin.b,
|
|
74743
|
+
MIN_SPECIFIED_HEIGHT,
|
|
74744
|
+
MIN_REDUCED_HEIGHT
|
|
74745
|
+
);
|
|
74746
|
+
|
|
74747
|
+
var maxSpaceW = Math.max(0, width - minFinalWidth);
|
|
74748
|
+
var maxSpaceH = Math.max(0, height - minFinalHeight);
|
|
74749
|
+
|
|
74750
|
+
if(maxSpaceW) {
|
|
74751
|
+
var rW = (ml + mr) / maxSpaceW;
|
|
74752
|
+
if(rW > 1) {
|
|
74753
|
+
ml /= rW;
|
|
74754
|
+
mr /= rW;
|
|
74755
|
+
}
|
|
74594
74756
|
}
|
|
74595
74757
|
|
|
74596
|
-
|
|
74597
|
-
|
|
74598
|
-
|
|
74599
|
-
|
|
74758
|
+
if(maxSpaceH) {
|
|
74759
|
+
var rH = (mb + mt) / maxSpaceH;
|
|
74760
|
+
if(rH > 1) {
|
|
74761
|
+
mb /= rH;
|
|
74762
|
+
mt /= rH;
|
|
74763
|
+
}
|
|
74600
74764
|
}
|
|
74601
74765
|
|
|
74602
74766
|
gs.l = Math.round(ml);
|
|
@@ -75954,7 +76118,7 @@ plots.cleanBasePlot = function(desiredType, newFullData, newFullLayout, oldFullD
|
|
|
75954
76118
|
}
|
|
75955
76119
|
};
|
|
75956
76120
|
|
|
75957
|
-
},{"../components/color":
|
|
76121
|
+
},{"../components/color":83,"../constants/numerical":189,"../lib":212,"../plot_api/plot_schema":246,"../plot_api/plot_template":247,"../plots/get_data":288,"../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":290,"d3":16,"d3-time-format":14,"fast-isnumeric":18}],300:[function(_dereq_,module,exports){
|
|
75958
76122
|
/**
|
|
75959
76123
|
* Copyright 2012-2020, Plotly, Inc.
|
|
75960
76124
|
* All rights reserved.
|
|
@@ -75998,7 +76162,7 @@ module.exports = {
|
|
|
75998
76162
|
}
|
|
75999
76163
|
};
|
|
76000
76164
|
|
|
76001
|
-
},{"../../../lib/extend":
|
|
76165
|
+
},{"../../../lib/extend":204,"../../../traces/scatter/attributes":339}],301:[function(_dereq_,module,exports){
|
|
76002
76166
|
/**
|
|
76003
76167
|
* Copyright 2012-2020, Plotly, Inc.
|
|
76004
76168
|
* All rights reserved.
|
|
@@ -76120,7 +76284,7 @@ module.exports = overrideAll({
|
|
|
76120
76284
|
}
|
|
76121
76285
|
}, 'plot', 'nested');
|
|
76122
76286
|
|
|
76123
|
-
},{"../../../lib/extend":
|
|
76287
|
+
},{"../../../lib/extend":204,"../../../plot_api/edit_types":240,"../../cartesian/layout_attributes":272}],302:[function(_dereq_,module,exports){
|
|
76124
76288
|
/**
|
|
76125
76289
|
* Copyright 2012-2020, Plotly, Inc.
|
|
76126
76290
|
* All rights reserved.
|
|
@@ -76135,7 +76299,7 @@ var Polar = module.exports = _dereq_('./micropolar');
|
|
|
76135
76299
|
|
|
76136
76300
|
Polar.manager = _dereq_('./micropolar_manager');
|
|
76137
76301
|
|
|
76138
|
-
},{"./micropolar":
|
|
76302
|
+
},{"./micropolar":303,"./micropolar_manager":304}],303:[function(_dereq_,module,exports){
|
|
76139
76303
|
/**
|
|
76140
76304
|
* Copyright 2012-2020, Plotly, Inc.
|
|
76141
76305
|
* All rights reserved.
|
|
@@ -77555,7 +77719,7 @@ var µ = module.exports = { version: '0.2.2' };
|
|
|
77555
77719
|
return exports;
|
|
77556
77720
|
};
|
|
77557
77721
|
|
|
77558
|
-
},{"../../../constants/alignment":
|
|
77722
|
+
},{"../../../constants/alignment":185,"../../../lib":212,"d3":16}],304:[function(_dereq_,module,exports){
|
|
77559
77723
|
/**
|
|
77560
77724
|
* Copyright 2012-2020, Plotly, Inc.
|
|
77561
77725
|
* All rights reserved.
|
|
@@ -77641,7 +77805,7 @@ manager.fillLayout = function(_gd) {
|
|
|
77641
77805
|
_gd._fullLayout = extendDeepAll(dflts, _gd.layout);
|
|
77642
77806
|
};
|
|
77643
77807
|
|
|
77644
|
-
},{"../../../components/color":
|
|
77808
|
+
},{"../../../components/color":83,"../../../lib":212,"./micropolar":303,"./undo_manager":305,"d3":16}],305:[function(_dereq_,module,exports){
|
|
77645
77809
|
/**
|
|
77646
77810
|
* Copyright 2012-2020, Plotly, Inc.
|
|
77647
77811
|
* All rights reserved.
|
|
@@ -77707,7 +77871,7 @@ module.exports = function UndoManager() {
|
|
|
77707
77871
|
};
|
|
77708
77872
|
};
|
|
77709
77873
|
|
|
77710
|
-
},{}],
|
|
77874
|
+
},{}],306:[function(_dereq_,module,exports){
|
|
77711
77875
|
/**
|
|
77712
77876
|
* Copyright 2012-2020, Plotly, Inc.
|
|
77713
77877
|
* All rights reserved.
|
|
@@ -77792,7 +77956,7 @@ module.exports = function handleSubplotDefaults(layoutIn, layoutOut, fullData, o
|
|
|
77792
77956
|
}
|
|
77793
77957
|
};
|
|
77794
77958
|
|
|
77795
|
-
},{"../lib":
|
|
77959
|
+
},{"../lib":212,"../plot_api/plot_template":247,"./domain":285}],307:[function(_dereq_,module,exports){
|
|
77796
77960
|
/**
|
|
77797
77961
|
* Copyright 2012-2020, Plotly, Inc.
|
|
77798
77962
|
* All rights reserved.
|
|
@@ -77875,7 +78039,7 @@ exports.texttemplateAttrs = function(opts, extra) {
|
|
|
77875
78039
|
return texttemplate;
|
|
77876
78040
|
};
|
|
77877
78041
|
|
|
77878
|
-
},{"../constants/docs":
|
|
78042
|
+
},{"../constants/docs":187}],308:[function(_dereq_,module,exports){
|
|
77879
78043
|
/**
|
|
77880
78044
|
* Copyright 2012-2020, Plotly, Inc.
|
|
77881
78045
|
* All rights reserved.
|
|
@@ -78341,7 +78505,7 @@ function getTraceType(traceType) {
|
|
|
78341
78505
|
return traceType;
|
|
78342
78506
|
}
|
|
78343
78507
|
|
|
78344
|
-
},{"./lib/dom":
|
|
78508
|
+
},{"./lib/dom":202,"./lib/extend":204,"./lib/is_plain_object":213,"./lib/loggers":216,"./lib/noop":221,"./lib/push_unique":226,"./plots/attributes":254,"./plots/layout_attributes":290}],309:[function(_dereq_,module,exports){
|
|
78345
78509
|
/**
|
|
78346
78510
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78347
78511
|
* All rights reserved.
|
|
@@ -78514,7 +78678,7 @@ module.exports = function clonePlot(graphObj, options) {
|
|
|
78514
78678
|
return plotTile;
|
|
78515
78679
|
};
|
|
78516
78680
|
|
|
78517
|
-
},{"../lib":
|
|
78681
|
+
},{"../lib":212,"../registry":308}],310:[function(_dereq_,module,exports){
|
|
78518
78682
|
/**
|
|
78519
78683
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78520
78684
|
* All rights reserved.
|
|
@@ -78586,7 +78750,7 @@ function downloadImage(gd, opts) {
|
|
|
78586
78750
|
|
|
78587
78751
|
module.exports = downloadImage;
|
|
78588
78752
|
|
|
78589
|
-
},{"../lib":
|
|
78753
|
+
},{"../lib":212,"../plot_api/to_image":250,"./filesaver":311,"./helpers":312}],311:[function(_dereq_,module,exports){
|
|
78590
78754
|
/**
|
|
78591
78755
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78592
78756
|
* All rights reserved.
|
|
@@ -78666,7 +78830,7 @@ function fileSaver(url, name, format) {
|
|
|
78666
78830
|
|
|
78667
78831
|
module.exports = fileSaver;
|
|
78668
78832
|
|
|
78669
|
-
},{"../lib":
|
|
78833
|
+
},{"../lib":212,"./helpers":312}],312:[function(_dereq_,module,exports){
|
|
78670
78834
|
/**
|
|
78671
78835
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78672
78836
|
* All rights reserved.
|
|
@@ -78749,7 +78913,7 @@ exports.IMAGE_URL_PREFIX = /^data:image\/\w+;base64,/;
|
|
|
78749
78913
|
|
|
78750
78914
|
exports.MSG_IE_BAD_FORMAT = 'Sorry IE does not support downloading from canvas. Try {format:\'svg\'} instead.';
|
|
78751
78915
|
|
|
78752
|
-
},{"../registry":
|
|
78916
|
+
},{"../registry":308}],313:[function(_dereq_,module,exports){
|
|
78753
78917
|
/**
|
|
78754
78918
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78755
78919
|
* All rights reserved.
|
|
@@ -78775,7 +78939,7 @@ var Snapshot = {
|
|
|
78775
78939
|
|
|
78776
78940
|
module.exports = Snapshot;
|
|
78777
78941
|
|
|
78778
|
-
},{"./cloneplot":
|
|
78942
|
+
},{"./cloneplot":309,"./download":310,"./helpers":312,"./svgtoimg":314,"./toimage":315,"./tosvg":316}],314:[function(_dereq_,module,exports){
|
|
78779
78943
|
/**
|
|
78780
78944
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78781
78945
|
* All rights reserved.
|
|
@@ -78902,7 +79066,7 @@ function svgToImg(opts) {
|
|
|
78902
79066
|
|
|
78903
79067
|
module.exports = svgToImg;
|
|
78904
79068
|
|
|
78905
|
-
},{"../lib":
|
|
79069
|
+
},{"../lib":212,"./helpers":312,"events":12}],315:[function(_dereq_,module,exports){
|
|
78906
79070
|
/**
|
|
78907
79071
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78908
79072
|
* All rights reserved.
|
|
@@ -78979,7 +79143,7 @@ function toImage(gd, opts) {
|
|
|
78979
79143
|
|
|
78980
79144
|
module.exports = toImage;
|
|
78981
79145
|
|
|
78982
|
-
},{"../lib":
|
|
79146
|
+
},{"../lib":212,"../registry":308,"./cloneplot":309,"./helpers":312,"./svgtoimg":314,"./tosvg":316,"events":12}],316:[function(_dereq_,module,exports){
|
|
78983
79147
|
/**
|
|
78984
79148
|
* Copyright 2012-2020, Plotly, Inc.
|
|
78985
79149
|
* All rights reserved.
|
|
@@ -79168,7 +79332,7 @@ module.exports = function toSVG(gd, format, scale) {
|
|
|
79168
79332
|
return s;
|
|
79169
79333
|
};
|
|
79170
79334
|
|
|
79171
|
-
},{"../components/color":
|
|
79335
|
+
},{"../components/color":83,"../components/drawing":105,"../constants/xmlns_namespaces":190,"../lib":212,"d3":16}],317:[function(_dereq_,module,exports){
|
|
79172
79336
|
/**
|
|
79173
79337
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79174
79338
|
* All rights reserved.
|
|
@@ -79260,7 +79424,7 @@ module.exports = extendFlat({
|
|
|
79260
79424
|
})
|
|
79261
79425
|
);
|
|
79262
79426
|
|
|
79263
|
-
},{"../../components/color/attributes":
|
|
79427
|
+
},{"../../components/color/attributes":82,"../../components/colorscale/attributes":90,"../../lib/extend":204,"../../plots/attributes":254,"../../plots/template_attributes":307,"../scattergeo/attributes":367}],318:[function(_dereq_,module,exports){
|
|
79264
79428
|
/**
|
|
79265
79429
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79266
79430
|
* All rights reserved.
|
|
@@ -79321,7 +79485,7 @@ module.exports = function calc(gd, trace) {
|
|
|
79321
79485
|
return calcTrace;
|
|
79322
79486
|
};
|
|
79323
79487
|
|
|
79324
|
-
},{"../../components/colorscale/calc":
|
|
79488
|
+
},{"../../components/colorscale/calc":91,"../../constants/numerical":189,"../scatter/arrays_to_calcdata":338,"../scatter/calc_selection":341,"fast-isnumeric":18}],319:[function(_dereq_,module,exports){
|
|
79325
79489
|
/**
|
|
79326
79490
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79327
79491
|
* All rights reserved.
|
|
@@ -79346,7 +79510,7 @@ module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
|
79346
79510
|
return out;
|
|
79347
79511
|
};
|
|
79348
79512
|
|
|
79349
|
-
},{}],
|
|
79513
|
+
},{}],320:[function(_dereq_,module,exports){
|
|
79350
79514
|
/**
|
|
79351
79515
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79352
79516
|
* All rights reserved.
|
|
@@ -79441,7 +79605,7 @@ function makeHoverInfo(pointData, trace, pt) {
|
|
|
79441
79605
|
pointData.extraText = text.join('<br>');
|
|
79442
79606
|
}
|
|
79443
79607
|
|
|
79444
|
-
},{"../../lib":
|
|
79608
|
+
},{"../../lib":212,"../../plots/cartesian/axes":258,"./attributes":317}],321:[function(_dereq_,module,exports){
|
|
79445
79609
|
/**
|
|
79446
79610
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79447
79611
|
* All rights reserved.
|
|
@@ -79490,7 +79654,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
79490
79654
|
return selection;
|
|
79491
79655
|
};
|
|
79492
79656
|
|
|
79493
|
-
},{}],
|
|
79657
|
+
},{}],322:[function(_dereq_,module,exports){
|
|
79494
79658
|
/**
|
|
79495
79659
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79496
79660
|
* All rights reserved.
|
|
@@ -79593,7 +79757,7 @@ module.exports = extendFlat({
|
|
|
79593
79757
|
})
|
|
79594
79758
|
);
|
|
79595
79759
|
|
|
79596
|
-
},{"../../components/colorscale/attributes":
|
|
79760
|
+
},{"../../components/colorscale/attributes":90,"../../lib/extend":204,"../../plots/attributes":254,"../../plots/template_attributes":307,"../choropleth/attributes":317}],323:[function(_dereq_,module,exports){
|
|
79597
79761
|
/**
|
|
79598
79762
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79599
79763
|
* All rights reserved.
|
|
@@ -79749,7 +79913,7 @@ module.exports = {
|
|
|
79749
79913
|
convertOnSelect: convertOnSelect
|
|
79750
79914
|
};
|
|
79751
79915
|
|
|
79752
|
-
},{"../../components/colorscale":
|
|
79916
|
+
},{"../../components/colorscale":95,"../../components/drawing":105,"../../lib":212,"../../lib/geo_location_utils":207,"../../lib/geojson_utils":208,"fast-isnumeric":18}],324:[function(_dereq_,module,exports){
|
|
79753
79917
|
/**
|
|
79754
79918
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79755
79919
|
* All rights reserved.
|
|
@@ -79800,7 +79964,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
79800
79964
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
79801
79965
|
};
|
|
79802
79966
|
|
|
79803
|
-
},{"../../components/colorscale/defaults":
|
|
79967
|
+
},{"../../components/colorscale/defaults":93,"../../lib":212,"./attributes":322}],325:[function(_dereq_,module,exports){
|
|
79804
79968
|
/**
|
|
79805
79969
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79806
79970
|
* All rights reserved.
|
|
@@ -79862,7 +80026,7 @@ module.exports = {
|
|
|
79862
80026
|
}
|
|
79863
80027
|
};
|
|
79864
80028
|
|
|
79865
|
-
},{"../../plots/mapbox":
|
|
80029
|
+
},{"../../plots/mapbox":293,"../choropleth/calc":318,"../choropleth/event_data":319,"../choropleth/hover":320,"../choropleth/select":321,"../heatmap/colorbar":335,"./attributes":322,"./defaults":324,"./plot":326}],326:[function(_dereq_,module,exports){
|
|
79866
80030
|
/**
|
|
79867
80031
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79868
80032
|
* All rights reserved.
|
|
@@ -79989,7 +80153,7 @@ module.exports = function createChoroplethMapbox(subplot, calcTrace) {
|
|
|
79989
80153
|
return choroplethMapbox;
|
|
79990
80154
|
};
|
|
79991
80155
|
|
|
79992
|
-
},{"../../plots/mapbox/constants":
|
|
80156
|
+
},{"../../plots/mapbox/constants":291,"./convert":323}],327:[function(_dereq_,module,exports){
|
|
79993
80157
|
/**
|
|
79994
80158
|
* Copyright 2012-2020, Plotly, Inc.
|
|
79995
80159
|
* All rights reserved.
|
|
@@ -80071,7 +80235,7 @@ module.exports = extendFlat({
|
|
|
80071
80235
|
})
|
|
80072
80236
|
);
|
|
80073
80237
|
|
|
80074
|
-
},{"../../components/colorscale/attributes":
|
|
80238
|
+
},{"../../components/colorscale/attributes":90,"../../lib/extend":204,"../../plots/attributes":254,"../../plots/template_attributes":307,"../scattermapbox/attributes":369}],328:[function(_dereq_,module,exports){
|
|
80075
80239
|
/**
|
|
80076
80240
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80077
80241
|
* All rights reserved.
|
|
@@ -80130,7 +80294,7 @@ module.exports = function calc(gd, trace) {
|
|
|
80130
80294
|
return calcTrace;
|
|
80131
80295
|
};
|
|
80132
80296
|
|
|
80133
|
-
},{"../../components/colorscale/calc":
|
|
80297
|
+
},{"../../components/colorscale/calc":91,"../../constants/numerical":189,"../../lib":212,"fast-isnumeric":18}],329:[function(_dereq_,module,exports){
|
|
80134
80298
|
/**
|
|
80135
80299
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80136
80300
|
* All rights reserved.
|
|
@@ -80246,7 +80410,7 @@ module.exports = function convert(calcTrace) {
|
|
|
80246
80410
|
return opts;
|
|
80247
80411
|
};
|
|
80248
80412
|
|
|
80249
|
-
},{"../../components/color":
|
|
80413
|
+
},{"../../components/color":83,"../../components/colorscale":95,"../../constants/numerical":189,"../../lib":212,"../../lib/geojson_utils":208,"fast-isnumeric":18}],330:[function(_dereq_,module,exports){
|
|
80250
80414
|
/**
|
|
80251
80415
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80252
80416
|
* All rights reserved.
|
|
@@ -80288,7 +80452,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
80288
80452
|
colorscaleDefaults(traceIn, traceOut, layout, coerce, {prefix: '', cLetter: 'z'});
|
|
80289
80453
|
};
|
|
80290
80454
|
|
|
80291
|
-
},{"../../components/colorscale/defaults":
|
|
80455
|
+
},{"../../components/colorscale/defaults":93,"../../lib":212,"./attributes":327}],331:[function(_dereq_,module,exports){
|
|
80292
80456
|
/**
|
|
80293
80457
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80294
80458
|
* All rights reserved.
|
|
@@ -80306,7 +80470,7 @@ module.exports = function eventData(out, pt) {
|
|
|
80306
80470
|
return out;
|
|
80307
80471
|
};
|
|
80308
80472
|
|
|
80309
|
-
},{}],
|
|
80473
|
+
},{}],332:[function(_dereq_,module,exports){
|
|
80310
80474
|
/**
|
|
80311
80475
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80312
80476
|
* All rights reserved.
|
|
@@ -80374,7 +80538,7 @@ function getExtraText(trace, di, labels) {
|
|
|
80374
80538
|
return text.join('<br>');
|
|
80375
80539
|
}
|
|
80376
80540
|
|
|
80377
|
-
},{"../../lib":
|
|
80541
|
+
},{"../../lib":212,"../../plots/cartesian/axes":258,"../scattermapbox/hover":374}],333:[function(_dereq_,module,exports){
|
|
80378
80542
|
/**
|
|
80379
80543
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80380
80544
|
* All rights reserved.
|
|
@@ -80421,7 +80585,7 @@ module.exports = {
|
|
|
80421
80585
|
}
|
|
80422
80586
|
};
|
|
80423
80587
|
|
|
80424
|
-
},{"../../plots/mapbox":
|
|
80588
|
+
},{"../../plots/mapbox":293,"../heatmap/colorbar":335,"../scattermapbox/format_labels":373,"./attributes":327,"./calc":328,"./defaults":330,"./event_data":331,"./hover":332,"./plot":334}],334:[function(_dereq_,module,exports){
|
|
80425
80589
|
/**
|
|
80426
80590
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80427
80591
|
* All rights reserved.
|
|
@@ -80535,7 +80699,7 @@ module.exports = function createDensityMapbox(subplot, calcTrace) {
|
|
|
80535
80699
|
return densityMapbox;
|
|
80536
80700
|
};
|
|
80537
80701
|
|
|
80538
|
-
},{"../../plots/mapbox/constants":
|
|
80702
|
+
},{"../../plots/mapbox/constants":291,"./convert":329}],335:[function(_dereq_,module,exports){
|
|
80539
80703
|
/**
|
|
80540
80704
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80541
80705
|
* All rights reserved.
|
|
@@ -80551,7 +80715,7 @@ module.exports = {
|
|
|
80551
80715
|
max: 'zmax'
|
|
80552
80716
|
};
|
|
80553
80717
|
|
|
80554
|
-
},{}],
|
|
80718
|
+
},{}],336:[function(_dereq_,module,exports){
|
|
80555
80719
|
/**
|
|
80556
80720
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80557
80721
|
* All rights reserved.
|
|
@@ -80599,7 +80763,7 @@ exports.getRotationAngle = function(rotation) {
|
|
|
80599
80763
|
return (rotation === 'auto' ? 0 : rotation) * Math.PI / 180;
|
|
80600
80764
|
};
|
|
80601
80765
|
|
|
80602
|
-
},{"../../lib":
|
|
80766
|
+
},{"../../lib":212}],337:[function(_dereq_,module,exports){
|
|
80603
80767
|
/**
|
|
80604
80768
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80605
80769
|
* All rights reserved.
|
|
@@ -80623,7 +80787,7 @@ module.exports = function styleOne(s, pt, trace) {
|
|
|
80623
80787
|
.call(Color.stroke, lineColor);
|
|
80624
80788
|
};
|
|
80625
80789
|
|
|
80626
|
-
},{"../../components/color":
|
|
80790
|
+
},{"../../components/color":83,"./helpers":336}],338:[function(_dereq_,module,exports){
|
|
80627
80791
|
/**
|
|
80628
80792
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80629
80793
|
* All rights reserved.
|
|
@@ -80675,7 +80839,7 @@ module.exports = function arraysToCalcdata(cd, trace) {
|
|
|
80675
80839
|
}
|
|
80676
80840
|
};
|
|
80677
80841
|
|
|
80678
|
-
},{"../../lib":
|
|
80842
|
+
},{"../../lib":212}],339:[function(_dereq_,module,exports){
|
|
80679
80843
|
/**
|
|
80680
80844
|
* Copyright 2012-2020, Plotly, Inc.
|
|
80681
80845
|
* All rights reserved.
|
|
@@ -81129,7 +81293,7 @@ module.exports = {
|
|
|
81129
81293
|
}
|
|
81130
81294
|
};
|
|
81131
81295
|
|
|
81132
|
-
},{"../../components/colorscale/attributes":
|
|
81296
|
+
},{"../../components/colorscale/attributes":90,"../../components/drawing":105,"../../components/drawing/attributes":104,"../../lib/extend":204,"../../plots/font_attributes":286,"../../plots/template_attributes":307,"./constants":343}],340:[function(_dereq_,module,exports){
|
|
81133
81297
|
/**
|
|
81134
81298
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81135
81299
|
* All rights reserved.
|
|
@@ -81428,7 +81592,7 @@ module.exports = {
|
|
|
81428
81592
|
getStackOpts: getStackOpts
|
|
81429
81593
|
};
|
|
81430
81594
|
|
|
81431
|
-
},{"../../constants/numerical":
|
|
81595
|
+
},{"../../constants/numerical":189,"../../lib":212,"../../plots/cartesian/align_period":255,"../../plots/cartesian/axes":258,"./arrays_to_calcdata":338,"./calc_selection":341,"./colorscale_calc":342,"./subtypes":364,"fast-isnumeric":18}],341:[function(_dereq_,module,exports){
|
|
81432
81596
|
/**
|
|
81433
81597
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81434
81598
|
* All rights reserved.
|
|
@@ -81447,7 +81611,7 @@ module.exports = function calcSelection(cd, trace) {
|
|
|
81447
81611
|
}
|
|
81448
81612
|
};
|
|
81449
81613
|
|
|
81450
|
-
},{"../../lib":
|
|
81614
|
+
},{"../../lib":212}],342:[function(_dereq_,module,exports){
|
|
81451
81615
|
/**
|
|
81452
81616
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81453
81617
|
* All rights reserved.
|
|
@@ -81490,7 +81654,7 @@ module.exports = function calcMarkerColorscale(gd, trace) {
|
|
|
81490
81654
|
}
|
|
81491
81655
|
};
|
|
81492
81656
|
|
|
81493
|
-
},{"../../components/colorscale/calc":
|
|
81657
|
+
},{"../../components/colorscale/calc":91,"../../components/colorscale/helpers":94,"./subtypes":364}],343:[function(_dereq_,module,exports){
|
|
81494
81658
|
/**
|
|
81495
81659
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81496
81660
|
* All rights reserved.
|
|
@@ -81519,7 +81683,7 @@ module.exports = {
|
|
|
81519
81683
|
eventDataKeys: []
|
|
81520
81684
|
};
|
|
81521
81685
|
|
|
81522
|
-
},{}],
|
|
81686
|
+
},{}],344:[function(_dereq_,module,exports){
|
|
81523
81687
|
/**
|
|
81524
81688
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81525
81689
|
* All rights reserved.
|
|
@@ -81700,7 +81864,7 @@ function getInterp(calcTrace, index, position, posAttr) {
|
|
|
81700
81864
|
return pt0.s + (pt1.s - pt0.s) * (position - pt0[posAttr]) / (pt1[posAttr] - pt0[posAttr]);
|
|
81701
81865
|
}
|
|
81702
81866
|
|
|
81703
|
-
},{"./calc":
|
|
81867
|
+
},{"./calc":340}],345:[function(_dereq_,module,exports){
|
|
81704
81868
|
/**
|
|
81705
81869
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81706
81870
|
* All rights reserved.
|
|
@@ -81739,7 +81903,7 @@ module.exports = function crossTraceDefaults(fullData) {
|
|
|
81739
81903
|
}
|
|
81740
81904
|
};
|
|
81741
81905
|
|
|
81742
|
-
},{}],
|
|
81906
|
+
},{}],346:[function(_dereq_,module,exports){
|
|
81743
81907
|
/**
|
|
81744
81908
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81745
81909
|
* All rights reserved.
|
|
@@ -81832,7 +81996,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
81832
81996
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
81833
81997
|
};
|
|
81834
81998
|
|
|
81835
|
-
},{"../../lib":
|
|
81999
|
+
},{"../../lib":212,"../../registry":308,"./attributes":339,"./constants":343,"./fillcolor_defaults":347,"./line_defaults":352,"./line_shape_defaults":354,"./marker_defaults":358,"./period_defaults":359,"./stack_defaults":362,"./subtypes":364,"./text_defaults":365,"./xy_defaults":366}],347:[function(_dereq_,module,exports){
|
|
81836
82000
|
/**
|
|
81837
82001
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81838
82002
|
* All rights reserved.
|
|
@@ -81869,7 +82033,7 @@ module.exports = function fillColorDefaults(traceIn, traceOut, defaultColor, coe
|
|
|
81869
82033
|
));
|
|
81870
82034
|
};
|
|
81871
82035
|
|
|
81872
|
-
},{"../../components/color":
|
|
82036
|
+
},{"../../components/color":83,"../../lib":212}],348:[function(_dereq_,module,exports){
|
|
81873
82037
|
/**
|
|
81874
82038
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81875
82039
|
* All rights reserved.
|
|
@@ -81895,7 +82059,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
81895
82059
|
return labels;
|
|
81896
82060
|
};
|
|
81897
82061
|
|
|
81898
|
-
},{"../../plots/cartesian/axes":
|
|
82062
|
+
},{"../../plots/cartesian/axes":258}],349:[function(_dereq_,module,exports){
|
|
81899
82063
|
/**
|
|
81900
82064
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81901
82065
|
* All rights reserved.
|
|
@@ -81944,7 +82108,7 @@ module.exports = function getTraceColor(trace, di) {
|
|
|
81944
82108
|
}
|
|
81945
82109
|
};
|
|
81946
82110
|
|
|
81947
|
-
},{"../../components/color":
|
|
82111
|
+
},{"../../components/color":83,"./subtypes":364}],350:[function(_dereq_,module,exports){
|
|
81948
82112
|
/**
|
|
81949
82113
|
* Copyright 2012-2020, Plotly, Inc.
|
|
81950
82114
|
* All rights reserved.
|
|
@@ -82139,7 +82303,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
|
|
|
82139
82303
|
}
|
|
82140
82304
|
};
|
|
82141
82305
|
|
|
82142
|
-
},{"../../components/color":
|
|
82306
|
+
},{"../../components/color":83,"../../components/fx":123,"../../lib":212,"../../registry":308,"./get_trace_color":349}],351:[function(_dereq_,module,exports){
|
|
82143
82307
|
/**
|
|
82144
82308
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82145
82309
|
* All rights reserved.
|
|
@@ -82185,7 +82349,7 @@ module.exports = {
|
|
|
82185
82349
|
}
|
|
82186
82350
|
};
|
|
82187
82351
|
|
|
82188
|
-
},{"../../plots/cartesian":
|
|
82352
|
+
},{"../../plots/cartesian":271,"./arrays_to_calcdata":338,"./attributes":339,"./calc":340,"./cross_trace_calc":344,"./cross_trace_defaults":345,"./defaults":346,"./format_labels":348,"./hover":350,"./marker_colorbar":357,"./plot":360,"./select":361,"./style":363,"./subtypes":364}],352:[function(_dereq_,module,exports){
|
|
82189
82353
|
/**
|
|
82190
82354
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82191
82355
|
* All rights reserved.
|
|
@@ -82216,7 +82380,7 @@ module.exports = function lineDefaults(traceIn, traceOut, defaultColor, layout,
|
|
|
82216
82380
|
if(!(opts || {}).noDash) coerce('line.dash');
|
|
82217
82381
|
};
|
|
82218
82382
|
|
|
82219
|
-
},{"../../components/colorscale/defaults":
|
|
82383
|
+
},{"../../components/colorscale/defaults":93,"../../components/colorscale/helpers":94,"../../lib":212}],353:[function(_dereq_,module,exports){
|
|
82220
82384
|
/**
|
|
82221
82385
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82222
82386
|
* All rights reserved.
|
|
@@ -82677,7 +82841,7 @@ module.exports = function linePoints(d, opts) {
|
|
|
82677
82841
|
return segments;
|
|
82678
82842
|
};
|
|
82679
82843
|
|
|
82680
|
-
},{"../../constants/numerical":
|
|
82844
|
+
},{"../../constants/numerical":189,"../../lib":212,"./constants":343}],354:[function(_dereq_,module,exports){
|
|
82681
82845
|
/**
|
|
82682
82846
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82683
82847
|
* All rights reserved.
|
|
@@ -82696,7 +82860,7 @@ module.exports = function handleLineShapeDefaults(traceIn, traceOut, coerce) {
|
|
|
82696
82860
|
if(shape === 'spline') coerce('line.smoothing');
|
|
82697
82861
|
};
|
|
82698
82862
|
|
|
82699
|
-
},{}],
|
|
82863
|
+
},{}],355:[function(_dereq_,module,exports){
|
|
82700
82864
|
/**
|
|
82701
82865
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82702
82866
|
* All rights reserved.
|
|
@@ -82786,7 +82950,7 @@ module.exports = function linkTraces(gd, plotinfo, cdscatter) {
|
|
|
82786
82950
|
return cdscatterSorted;
|
|
82787
82951
|
};
|
|
82788
82952
|
|
|
82789
|
-
},{}],
|
|
82953
|
+
},{}],356:[function(_dereq_,module,exports){
|
|
82790
82954
|
/**
|
|
82791
82955
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82792
82956
|
* All rights reserved.
|
|
@@ -82828,7 +82992,7 @@ module.exports = function makeBubbleSizeFn(trace) {
|
|
|
82828
82992
|
};
|
|
82829
82993
|
};
|
|
82830
82994
|
|
|
82831
|
-
},{"fast-isnumeric":18}],
|
|
82995
|
+
},{"fast-isnumeric":18}],357:[function(_dereq_,module,exports){
|
|
82832
82996
|
/**
|
|
82833
82997
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82834
82998
|
* All rights reserved.
|
|
@@ -82846,7 +83010,7 @@ module.exports = {
|
|
|
82846
83010
|
max: 'cmax'
|
|
82847
83011
|
};
|
|
82848
83012
|
|
|
82849
|
-
},{}],
|
|
83013
|
+
},{}],358:[function(_dereq_,module,exports){
|
|
82850
83014
|
/**
|
|
82851
83015
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82852
83016
|
* All rights reserved.
|
|
@@ -82927,7 +83091,7 @@ module.exports = function markerDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
82927
83091
|
}
|
|
82928
83092
|
};
|
|
82929
83093
|
|
|
82930
|
-
},{"../../components/color":
|
|
83094
|
+
},{"../../components/color":83,"../../components/colorscale/defaults":93,"../../components/colorscale/helpers":94,"./subtypes":364}],359:[function(_dereq_,module,exports){
|
|
82931
83095
|
/**
|
|
82932
83096
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82933
83097
|
* All rights reserved.
|
|
@@ -82974,7 +83138,7 @@ module.exports = function handlePeriodDefaults(traceIn, traceOut, layout, coerce
|
|
|
82974
83138
|
}
|
|
82975
83139
|
};
|
|
82976
83140
|
|
|
82977
|
-
},{"../../constants/numerical":
|
|
83141
|
+
},{"../../constants/numerical":189,"../../lib":212}],360:[function(_dereq_,module,exports){
|
|
82978
83142
|
/**
|
|
82979
83143
|
* Copyright 2012-2020, Plotly, Inc.
|
|
82980
83144
|
* All rights reserved.
|
|
@@ -83468,7 +83632,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
|
|
|
83468
83632
|
join.selectAll('text')
|
|
83469
83633
|
.call(Drawing.textPointStyle, trace, gd)
|
|
83470
83634
|
.each(function(d) {
|
|
83471
|
-
// This just *has* to be totally custom
|
|
83635
|
+
// This just *has* to be totally custom because of SVG text positioning :(
|
|
83472
83636
|
// It's obviously copied from translatePoint; we just can't use that
|
|
83473
83637
|
var x = xa.c2p(d.x);
|
|
83474
83638
|
var y = ya.c2p(d.y);
|
|
@@ -83535,7 +83699,7 @@ function selectMarkers(gd, idx, plotinfo, cdscatter, cdscatterAll) {
|
|
|
83535
83699
|
});
|
|
83536
83700
|
}
|
|
83537
83701
|
|
|
83538
|
-
},{"../../components/drawing":
|
|
83702
|
+
},{"../../components/drawing":105,"../../lib":212,"../../lib/polygon":224,"../../registry":308,"./line_points":353,"./link_traces":355,"./subtypes":364,"d3":16}],361:[function(_dereq_,module,exports){
|
|
83539
83703
|
/**
|
|
83540
83704
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83541
83705
|
* All rights reserved.
|
|
@@ -83589,7 +83753,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
83589
83753
|
return selection;
|
|
83590
83754
|
};
|
|
83591
83755
|
|
|
83592
|
-
},{"./subtypes":
|
|
83756
|
+
},{"./subtypes":364}],362:[function(_dereq_,module,exports){
|
|
83593
83757
|
/**
|
|
83594
83758
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83595
83759
|
* All rights reserved.
|
|
@@ -83694,7 +83858,7 @@ module.exports = function handleStackDefaults(traceIn, traceOut, layout, coerce)
|
|
|
83694
83858
|
}
|
|
83695
83859
|
};
|
|
83696
83860
|
|
|
83697
|
-
},{}],
|
|
83861
|
+
},{}],363:[function(_dereq_,module,exports){
|
|
83698
83862
|
/**
|
|
83699
83863
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83700
83864
|
* All rights reserved.
|
|
@@ -83765,7 +83929,7 @@ module.exports = {
|
|
|
83765
83929
|
styleOnSelect: styleOnSelect
|
|
83766
83930
|
};
|
|
83767
83931
|
|
|
83768
|
-
},{"../../components/drawing":
|
|
83932
|
+
},{"../../components/drawing":105,"../../registry":308,"d3":16}],364:[function(_dereq_,module,exports){
|
|
83769
83933
|
/**
|
|
83770
83934
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83771
83935
|
* All rights reserved.
|
|
@@ -83804,7 +83968,7 @@ module.exports = {
|
|
|
83804
83968
|
}
|
|
83805
83969
|
};
|
|
83806
83970
|
|
|
83807
|
-
},{"../../lib":
|
|
83971
|
+
},{"../../lib":212}],365:[function(_dereq_,module,exports){
|
|
83808
83972
|
/**
|
|
83809
83973
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83810
83974
|
* All rights reserved.
|
|
@@ -83834,7 +83998,7 @@ module.exports = function(traceIn, traceOut, layout, coerce, opts) {
|
|
|
83834
83998
|
}
|
|
83835
83999
|
};
|
|
83836
84000
|
|
|
83837
|
-
},{"../../lib":
|
|
84001
|
+
},{"../../lib":212}],366:[function(_dereq_,module,exports){
|
|
83838
84002
|
/**
|
|
83839
84003
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83840
84004
|
* All rights reserved.
|
|
@@ -83878,7 +84042,7 @@ module.exports = function handleXYDefaults(traceIn, traceOut, layout, coerce) {
|
|
|
83878
84042
|
return len;
|
|
83879
84043
|
};
|
|
83880
84044
|
|
|
83881
|
-
},{"../../lib":
|
|
84045
|
+
},{"../../lib":212,"../../registry":308}],367:[function(_dereq_,module,exports){
|
|
83882
84046
|
/**
|
|
83883
84047
|
* Copyright 2012-2020, Plotly, Inc.
|
|
83884
84048
|
* All rights reserved.
|
|
@@ -83997,7 +84161,7 @@ module.exports = overrideAll({
|
|
|
83997
84161
|
hovertemplate: hovertemplateAttrs(),
|
|
83998
84162
|
}, 'calc', 'nested');
|
|
83999
84163
|
|
|
84000
|
-
},{"../../components/colorscale/attributes":
|
|
84164
|
+
},{"../../components/colorscale/attributes":90,"../../components/drawing/attributes":104,"../../lib/extend":204,"../../plot_api/edit_types":240,"../../plots/attributes":254,"../../plots/template_attributes":307,"../scatter/attributes":339}],368:[function(_dereq_,module,exports){
|
|
84001
84165
|
/**
|
|
84002
84166
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84003
84167
|
* All rights reserved.
|
|
@@ -84065,7 +84229,7 @@ module.exports = function calc(gd, trace) {
|
|
|
84065
84229
|
return calcTrace;
|
|
84066
84230
|
};
|
|
84067
84231
|
|
|
84068
|
-
},{"../../constants/numerical":
|
|
84232
|
+
},{"../../constants/numerical":189,"../../lib":212,"../scatter/arrays_to_calcdata":338,"../scatter/calc_selection":341,"../scatter/colorscale_calc":342,"fast-isnumeric":18}],369:[function(_dereq_,module,exports){
|
|
84069
84233
|
/**
|
|
84070
84234
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84071
84235
|
* All rights reserved.
|
|
@@ -84178,7 +84342,7 @@ module.exports = overrideAll({
|
|
|
84178
84342
|
hovertemplate: hovertemplateAttrs(),
|
|
84179
84343
|
}, 'calc', 'nested');
|
|
84180
84344
|
|
|
84181
|
-
},{"../../components/colorscale/attributes":
|
|
84345
|
+
},{"../../components/colorscale/attributes":90,"../../lib/extend":204,"../../plot_api/edit_types":240,"../../plots/attributes":254,"../../plots/mapbox/layout_attributes":295,"../../plots/template_attributes":307,"../scatter/attributes":339,"../scattergeo/attributes":367}],370:[function(_dereq_,module,exports){
|
|
84182
84346
|
/**
|
|
84183
84347
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84184
84348
|
* All rights reserved.
|
|
@@ -84513,7 +84677,7 @@ function isBADNUM(lonlat) {
|
|
|
84513
84677
|
return lonlat[0] === BADNUM;
|
|
84514
84678
|
}
|
|
84515
84679
|
|
|
84516
|
-
},{"../../components/colorscale":
|
|
84680
|
+
},{"../../components/colorscale":95,"../../components/drawing":105,"../../components/fx/helpers":119,"../../constants/numerical":189,"../../lib":212,"../../lib/geojson_utils":208,"../../lib/svg_text_utils":234,"../../plots/mapbox/convert_text_opts":292,"../scatter/make_bubble_size_func":356,"../scatter/subtypes":364,"fast-isnumeric":18}],371:[function(_dereq_,module,exports){
|
|
84517
84681
|
/**
|
|
84518
84682
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84519
84683
|
* All rights reserved.
|
|
@@ -84591,7 +84755,7 @@ function handleLonLatDefaults(traceIn, traceOut, coerce) {
|
|
|
84591
84755
|
return len;
|
|
84592
84756
|
}
|
|
84593
84757
|
|
|
84594
|
-
},{"../../lib":
|
|
84758
|
+
},{"../../lib":212,"../scatter/fillcolor_defaults":347,"../scatter/line_defaults":352,"../scatter/marker_defaults":358,"../scatter/subtypes":364,"../scatter/text_defaults":365,"./attributes":369}],372:[function(_dereq_,module,exports){
|
|
84595
84759
|
/**
|
|
84596
84760
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84597
84761
|
* All rights reserved.
|
|
@@ -84611,7 +84775,7 @@ module.exports = function eventData(out, pt) {
|
|
|
84611
84775
|
return out;
|
|
84612
84776
|
};
|
|
84613
84777
|
|
|
84614
|
-
},{}],
|
|
84778
|
+
},{}],373:[function(_dereq_,module,exports){
|
|
84615
84779
|
/**
|
|
84616
84780
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84617
84781
|
* All rights reserved.
|
|
@@ -84637,7 +84801,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
84637
84801
|
return labels;
|
|
84638
84802
|
};
|
|
84639
84803
|
|
|
84640
|
-
},{"../../plots/cartesian/axes":
|
|
84804
|
+
},{"../../plots/cartesian/axes":258}],374:[function(_dereq_,module,exports){
|
|
84641
84805
|
/**
|
|
84642
84806
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84643
84807
|
* All rights reserved.
|
|
@@ -84749,7 +84913,7 @@ function getExtraText(trace, di, labels) {
|
|
|
84749
84913
|
return text.join('<br>');
|
|
84750
84914
|
}
|
|
84751
84915
|
|
|
84752
|
-
},{"../../components/fx":
|
|
84916
|
+
},{"../../components/fx":123,"../../constants/numerical":189,"../../lib":212,"../scatter/get_trace_color":349}],375:[function(_dereq_,module,exports){
|
|
84753
84917
|
/**
|
|
84754
84918
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84755
84919
|
* All rights reserved.
|
|
@@ -84788,7 +84952,7 @@ module.exports = {
|
|
|
84788
84952
|
}
|
|
84789
84953
|
};
|
|
84790
84954
|
|
|
84791
|
-
},{"../../plots/mapbox":
|
|
84955
|
+
},{"../../plots/mapbox":293,"../scatter/marker_colorbar":357,"../scattergeo/calc":368,"./attributes":369,"./defaults":371,"./event_data":372,"./format_labels":373,"./hover":374,"./plot":376,"./select":377}],376:[function(_dereq_,module,exports){
|
|
84792
84956
|
/**
|
|
84793
84957
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84794
84958
|
* All rights reserved.
|
|
@@ -84921,7 +85085,7 @@ module.exports = function createScatterMapbox(subplot, calcTrace) {
|
|
|
84921
85085
|
return scatterMapbox;
|
|
84922
85086
|
};
|
|
84923
85087
|
|
|
84924
|
-
},{"../../plots/mapbox/constants":
|
|
85088
|
+
},{"../../plots/mapbox/constants":291,"./convert":370}],377:[function(_dereq_,module,exports){
|
|
84925
85089
|
/**
|
|
84926
85090
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84927
85091
|
* All rights reserved.
|
|
@@ -84976,7 +85140,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
84976
85140
|
return selection;
|
|
84977
85141
|
};
|
|
84978
85142
|
|
|
84979
|
-
},{"../../constants/numerical":
|
|
85143
|
+
},{"../../constants/numerical":189,"../../lib":212,"../scatter/subtypes":364}],378:[function(_dereq_,module,exports){
|
|
84980
85144
|
/**
|
|
84981
85145
|
* Copyright 2012-2020, Plotly, Inc.
|
|
84982
85146
|
* All rights reserved.
|
|
@@ -84988,7 +85152,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
84988
85152
|
'use strict';
|
|
84989
85153
|
|
|
84990
85154
|
// package version injected by `npm run preprocess`
|
|
84991
|
-
exports.version = '1.58.
|
|
85155
|
+
exports.version = '1.58.4';
|
|
84992
85156
|
|
|
84993
85157
|
},{}]},{},[5])(5)
|
|
84994
85158
|
});
|