plotly.js 2.7.0 → 2.8.0
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 +13 -0
- package/README.md +3 -3
- package/dist/README.md +26 -26
- package/dist/plot-schema.json +898 -407
- package/dist/plotly-basic.js +489 -185
- package/dist/plotly-basic.min.js +4 -4
- package/dist/plotly-cartesian.js +894 -326
- package/dist/plotly-cartesian.min.js +3 -3
- package/dist/plotly-finance.js +489 -185
- package/dist/plotly-finance.min.js +4 -4
- package/dist/plotly-geo-assets.js +2 -2
- package/dist/plotly-geo.js +486 -184
- package/dist/plotly-geo.min.js +4 -4
- package/dist/plotly-gl2d.js +502 -185
- package/dist/plotly-gl2d.min.js +2 -2
- package/dist/plotly-gl3d.js +486 -184
- package/dist/plotly-gl3d.min.js +2 -2
- package/dist/plotly-mapbox.js +486 -184
- package/dist/plotly-mapbox.min.js +2 -2
- package/dist/plotly-strict.js +1112 -544
- package/dist/plotly-strict.min.js +3 -3
- package/dist/plotly-with-meta.js +1201 -606
- package/dist/plotly.js +1166 -598
- package/dist/plotly.min.js +10 -10
- package/package.json +4 -4
- package/src/components/colorbar/attributes.js +29 -20
- package/src/components/colorbar/defaults.js +30 -8
- package/src/components/colorbar/draw.js +374 -128
- package/src/components/fx/hover.js +5 -2
- package/src/components/fx/hoverlabel_defaults.js +4 -2
- package/src/components/fx/layout_attributes.js +14 -4
- package/src/components/fx/layout_defaults.js +2 -0
- package/src/components/legend/attributes.js +7 -0
- package/src/components/legend/defaults.js +24 -7
- package/src/components/titles/index.js +8 -2
- package/src/plot_api/plot_api.js +1 -1
- package/src/plots/font_attributes.js +3 -0
- package/src/plots/layout_attributes.js +1 -0
- package/src/plots/plots.js +7 -15
- package/src/traces/contour/attributes.js +12 -0
- package/src/traces/contour/defaults.js +9 -1
- package/src/traces/heatmap/attributes.js +16 -0
- package/src/traces/heatmap/defaults.js +2 -0
- package/src/traces/heatmap/label_defaults.js +13 -0
- package/src/traces/heatmap/plot.js +203 -4
- package/src/traces/histogram2d/attributes.js +8 -0
- package/src/traces/histogram2d/defaults.js +4 -0
- package/src/traces/histogram2dcontour/attributes.js +3 -1
- package/src/traces/histogram2dcontour/defaults.js +8 -1
- package/src/traces/pie/calc.js +3 -1
- package/src/version.js +1 -1
- package/tasks/test_mock.js +1 -0
package/dist/plotly-strict.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js (strict) v2.
|
|
2
|
+
* plotly.js (strict) v2.8.0
|
|
3
3
|
* Copyright 2012-2021, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
@@ -77,7 +77,7 @@ for(var selector in rules) {
|
|
|
77
77
|
|
|
78
78
|
module.exports = _dereq_('../src/transforms/aggregate');
|
|
79
79
|
|
|
80
|
-
},{"../src/transforms/aggregate":
|
|
80
|
+
},{"../src/transforms/aggregate":928}],3:[function(_dereq_,module,exports){
|
|
81
81
|
'use strict';
|
|
82
82
|
|
|
83
83
|
module.exports = _dereq_('../src/traces/bar');
|
|
@@ -147,7 +147,7 @@ module.exports = _dereq_('../src/traces/densitymapbox');
|
|
|
147
147
|
|
|
148
148
|
module.exports = _dereq_('../src/transforms/filter');
|
|
149
149
|
|
|
150
|
-
},{"../src/transforms/filter":
|
|
150
|
+
},{"../src/transforms/filter":929}],17:[function(_dereq_,module,exports){
|
|
151
151
|
'use strict';
|
|
152
152
|
|
|
153
153
|
module.exports = _dereq_('../src/traces/funnel');
|
|
@@ -162,7 +162,7 @@ module.exports = _dereq_('../src/traces/funnelarea');
|
|
|
162
162
|
|
|
163
163
|
module.exports = _dereq_('../src/transforms/groupby');
|
|
164
164
|
|
|
165
|
-
},{"../src/transforms/groupby":
|
|
165
|
+
},{"../src/transforms/groupby":930}],20:[function(_dereq_,module,exports){
|
|
166
166
|
'use strict';
|
|
167
167
|
|
|
168
168
|
module.exports = _dereq_('../src/traces/heatmap');
|
|
@@ -172,32 +172,32 @@ module.exports = _dereq_('../src/traces/heatmap');
|
|
|
172
172
|
|
|
173
173
|
module.exports = _dereq_('../src/traces/heatmapgl');
|
|
174
174
|
|
|
175
|
-
},{"../src/traces/heatmapgl":
|
|
175
|
+
},{"../src/traces/heatmapgl":674}],22:[function(_dereq_,module,exports){
|
|
176
176
|
'use strict';
|
|
177
177
|
|
|
178
178
|
module.exports = _dereq_('../src/traces/histogram');
|
|
179
179
|
|
|
180
|
-
},{"../src/traces/histogram":
|
|
180
|
+
},{"../src/traces/histogram":686}],23:[function(_dereq_,module,exports){
|
|
181
181
|
'use strict';
|
|
182
182
|
|
|
183
183
|
module.exports = _dereq_('../src/traces/histogram2d');
|
|
184
184
|
|
|
185
|
-
},{"../src/traces/histogram2d":
|
|
185
|
+
},{"../src/traces/histogram2d":692}],24:[function(_dereq_,module,exports){
|
|
186
186
|
'use strict';
|
|
187
187
|
|
|
188
188
|
module.exports = _dereq_('../src/traces/histogram2dcontour');
|
|
189
189
|
|
|
190
|
-
},{"../src/traces/histogram2dcontour":
|
|
190
|
+
},{"../src/traces/histogram2dcontour":696}],25:[function(_dereq_,module,exports){
|
|
191
191
|
'use strict';
|
|
192
192
|
|
|
193
193
|
module.exports = _dereq_('../src/traces/icicle');
|
|
194
194
|
|
|
195
|
-
},{"../src/traces/icicle":
|
|
195
|
+
},{"../src/traces/icicle":702}],26:[function(_dereq_,module,exports){
|
|
196
196
|
'use strict';
|
|
197
197
|
|
|
198
198
|
module.exports = _dereq_('../src/traces/image');
|
|
199
199
|
|
|
200
|
-
},{"../src/traces/image":
|
|
200
|
+
},{"../src/traces/image":715}],27:[function(_dereq_,module,exports){
|
|
201
201
|
'use strict';
|
|
202
202
|
|
|
203
203
|
var Plotly = _dereq_('./core');
|
|
@@ -264,117 +264,117 @@ module.exports = Plotly;
|
|
|
264
264
|
|
|
265
265
|
module.exports = _dereq_('../src/traces/indicator');
|
|
266
266
|
|
|
267
|
-
},{"../src/traces/indicator":
|
|
267
|
+
},{"../src/traces/indicator":723}],29:[function(_dereq_,module,exports){
|
|
268
268
|
'use strict';
|
|
269
269
|
|
|
270
270
|
module.exports = _dereq_('../src/traces/isosurface');
|
|
271
271
|
|
|
272
|
-
},{"../src/traces/isosurface":
|
|
272
|
+
},{"../src/traces/isosurface":729}],30:[function(_dereq_,module,exports){
|
|
273
273
|
'use strict';
|
|
274
274
|
|
|
275
275
|
module.exports = _dereq_('../src/traces/mesh3d');
|
|
276
276
|
|
|
277
|
-
},{"../src/traces/mesh3d":
|
|
277
|
+
},{"../src/traces/mesh3d":734}],31:[function(_dereq_,module,exports){
|
|
278
278
|
'use strict';
|
|
279
279
|
|
|
280
280
|
module.exports = _dereq_('../src/traces/ohlc');
|
|
281
281
|
|
|
282
|
-
},{"../src/traces/ohlc":
|
|
282
|
+
},{"../src/traces/ohlc":739}],32:[function(_dereq_,module,exports){
|
|
283
283
|
'use strict';
|
|
284
284
|
|
|
285
285
|
module.exports = _dereq_('../src/traces/parcats');
|
|
286
286
|
|
|
287
|
-
},{"../src/traces/parcats":
|
|
287
|
+
},{"../src/traces/parcats":748}],33:[function(_dereq_,module,exports){
|
|
288
288
|
'use strict';
|
|
289
289
|
|
|
290
290
|
module.exports = _dereq_('../src/traces/pie');
|
|
291
291
|
|
|
292
|
-
},{"../src/traces/pie":
|
|
292
|
+
},{"../src/traces/pie":758}],34:[function(_dereq_,module,exports){
|
|
293
293
|
'use strict';
|
|
294
294
|
|
|
295
295
|
module.exports = _dereq_('../src/traces/pointcloud');
|
|
296
296
|
|
|
297
|
-
},{"../src/traces/pointcloud":
|
|
297
|
+
},{"../src/traces/pointcloud":767}],35:[function(_dereq_,module,exports){
|
|
298
298
|
'use strict';
|
|
299
299
|
|
|
300
300
|
module.exports = _dereq_('../src/traces/sankey');
|
|
301
301
|
|
|
302
|
-
},{"../src/traces/sankey":
|
|
302
|
+
},{"../src/traces/sankey":773}],36:[function(_dereq_,module,exports){
|
|
303
303
|
'use strict';
|
|
304
304
|
|
|
305
305
|
module.exports = _dereq_('../src/traces/scatter3d');
|
|
306
306
|
|
|
307
|
-
},{"../src/traces/scatter3d":
|
|
307
|
+
},{"../src/traces/scatter3d":811}],37:[function(_dereq_,module,exports){
|
|
308
308
|
'use strict';
|
|
309
309
|
|
|
310
310
|
module.exports = _dereq_('../src/traces/scattercarpet');
|
|
311
311
|
|
|
312
|
-
},{"../src/traces/scattercarpet":
|
|
312
|
+
},{"../src/traces/scattercarpet":818}],38:[function(_dereq_,module,exports){
|
|
313
313
|
'use strict';
|
|
314
314
|
|
|
315
315
|
module.exports = _dereq_('../src/traces/scattergeo');
|
|
316
316
|
|
|
317
|
-
},{"../src/traces/scattergeo":
|
|
317
|
+
},{"../src/traces/scattergeo":826}],39:[function(_dereq_,module,exports){
|
|
318
318
|
'use strict';
|
|
319
319
|
|
|
320
320
|
module.exports = _dereq_('../src/traces/scattermapbox');
|
|
321
321
|
|
|
322
|
-
},{"../src/traces/scattermapbox":
|
|
322
|
+
},{"../src/traces/scattermapbox":836}],40:[function(_dereq_,module,exports){
|
|
323
323
|
'use strict';
|
|
324
324
|
|
|
325
325
|
module.exports = _dereq_('../src/traces/scatterpolar');
|
|
326
326
|
|
|
327
|
-
},{"../src/traces/scatterpolar":
|
|
327
|
+
},{"../src/traces/scatterpolar":844}],41:[function(_dereq_,module,exports){
|
|
328
328
|
'use strict';
|
|
329
329
|
|
|
330
330
|
module.exports = _dereq_('../src/traces/scatterternary');
|
|
331
331
|
|
|
332
|
-
},{"../src/traces/scatterternary":
|
|
332
|
+
},{"../src/traces/scatterternary":852}],42:[function(_dereq_,module,exports){
|
|
333
333
|
'use strict';
|
|
334
334
|
|
|
335
335
|
module.exports = _dereq_('../src/transforms/sort');
|
|
336
336
|
|
|
337
|
-
},{"../src/transforms/sort":
|
|
337
|
+
},{"../src/transforms/sort":932}],43:[function(_dereq_,module,exports){
|
|
338
338
|
'use strict';
|
|
339
339
|
|
|
340
340
|
module.exports = _dereq_('../src/traces/streamtube');
|
|
341
341
|
|
|
342
|
-
},{"../src/traces/streamtube":
|
|
342
|
+
},{"../src/traces/streamtube":858}],44:[function(_dereq_,module,exports){
|
|
343
343
|
'use strict';
|
|
344
344
|
|
|
345
345
|
module.exports = _dereq_('../src/traces/sunburst');
|
|
346
346
|
|
|
347
|
-
},{"../src/traces/sunburst":
|
|
347
|
+
},{"../src/traces/sunburst":866}],45:[function(_dereq_,module,exports){
|
|
348
348
|
'use strict';
|
|
349
349
|
|
|
350
350
|
module.exports = _dereq_('../src/traces/surface');
|
|
351
351
|
|
|
352
|
-
},{"../src/traces/surface":
|
|
352
|
+
},{"../src/traces/surface":875}],46:[function(_dereq_,module,exports){
|
|
353
353
|
'use strict';
|
|
354
354
|
|
|
355
355
|
module.exports = _dereq_('../src/traces/table');
|
|
356
356
|
|
|
357
|
-
},{"../src/traces/table":
|
|
357
|
+
},{"../src/traces/table":883}],47:[function(_dereq_,module,exports){
|
|
358
358
|
'use strict';
|
|
359
359
|
|
|
360
360
|
module.exports = _dereq_('../src/traces/treemap');
|
|
361
361
|
|
|
362
|
-
},{"../src/traces/treemap":
|
|
362
|
+
},{"../src/traces/treemap":894}],48:[function(_dereq_,module,exports){
|
|
363
363
|
'use strict';
|
|
364
364
|
|
|
365
365
|
module.exports = _dereq_('../src/traces/violin');
|
|
366
366
|
|
|
367
|
-
},{"../src/traces/violin":
|
|
367
|
+
},{"../src/traces/violin":907}],49:[function(_dereq_,module,exports){
|
|
368
368
|
'use strict';
|
|
369
369
|
|
|
370
370
|
module.exports = _dereq_('../src/traces/volume');
|
|
371
371
|
|
|
372
|
-
},{"../src/traces/volume":
|
|
372
|
+
},{"../src/traces/volume":915}],50:[function(_dereq_,module,exports){
|
|
373
373
|
'use strict';
|
|
374
374
|
|
|
375
375
|
module.exports = _dereq_('../src/traces/waterfall');
|
|
376
376
|
|
|
377
|
-
},{"../src/traces/waterfall":
|
|
377
|
+
},{"../src/traces/waterfall":923}],51:[function(_dereq_,module,exports){
|
|
378
378
|
(function (global, factory) {
|
|
379
379
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, _dereq_('d3-array'), _dereq_('d3-collection'), _dereq_('d3-shape'), _dereq_('elementary-circuits-directed-graph')) :
|
|
380
380
|
typeof define === 'function' && define.amd ? define(['exports', 'd3-array', 'd3-collection', 'd3-shape', 'elementary-circuits-directed-graph'], factory) :
|
|
@@ -96736,13 +96736,11 @@ var overrideAll = _dereq_('../../plot_api/edit_types').overrideAll;
|
|
|
96736
96736
|
|
|
96737
96737
|
|
|
96738
96738
|
module.exports = overrideAll({
|
|
96739
|
-
|
|
96740
|
-
|
|
96741
|
-
|
|
96742
|
-
|
|
96743
|
-
|
|
96744
|
-
//
|
|
96745
|
-
// },
|
|
96739
|
+
orientation: {
|
|
96740
|
+
valType: 'enumerated',
|
|
96741
|
+
values: ['h', 'v'],
|
|
96742
|
+
dflt: 'v',
|
|
96743
|
+
},
|
|
96746
96744
|
thicknessmode: {
|
|
96747
96745
|
valType: 'enumerated',
|
|
96748
96746
|
values: ['fraction', 'pixels'],
|
|
@@ -96765,14 +96763,12 @@ module.exports = overrideAll({
|
|
|
96765
96763
|
},
|
|
96766
96764
|
x: {
|
|
96767
96765
|
valType: 'number',
|
|
96768
|
-
dflt: 1.02,
|
|
96769
96766
|
min: -2,
|
|
96770
96767
|
max: 3,
|
|
96771
96768
|
},
|
|
96772
96769
|
xanchor: {
|
|
96773
96770
|
valType: 'enumerated',
|
|
96774
96771
|
values: ['left', 'center', 'right'],
|
|
96775
|
-
dflt: 'left',
|
|
96776
96772
|
},
|
|
96777
96773
|
xpad: {
|
|
96778
96774
|
valType: 'number',
|
|
@@ -96781,14 +96777,12 @@ module.exports = overrideAll({
|
|
|
96781
96777
|
},
|
|
96782
96778
|
y: {
|
|
96783
96779
|
valType: 'number',
|
|
96784
|
-
dflt: 0.5,
|
|
96785
96780
|
min: -2,
|
|
96786
96781
|
max: 3,
|
|
96787
96782
|
},
|
|
96788
96783
|
yanchor: {
|
|
96789
96784
|
valType: 'enumerated',
|
|
96790
96785
|
values: ['top', 'middle', 'bottom'],
|
|
96791
|
-
dflt: 'middle',
|
|
96792
96786
|
},
|
|
96793
96787
|
ypad: {
|
|
96794
96788
|
valType: 'number',
|
|
@@ -96820,15 +96814,21 @@ module.exports = overrideAll({
|
|
|
96820
96814
|
ticks: extendFlat({}, axesAttrs.ticks, {dflt: ''}),
|
|
96821
96815
|
ticklabeloverflow: extendFlat({}, axesAttrs.ticklabeloverflow, {
|
|
96822
96816
|
}),
|
|
96817
|
+
|
|
96818
|
+
// ticklabelposition: not used directly, as values depend on orientation
|
|
96819
|
+
// left/right options are for x axes, and top/bottom options are for y axes
|
|
96823
96820
|
ticklabelposition: {
|
|
96824
96821
|
valType: 'enumerated',
|
|
96825
96822
|
values: [
|
|
96826
96823
|
'outside', 'inside',
|
|
96827
96824
|
'outside top', 'inside top',
|
|
96825
|
+
'outside left', 'inside left',
|
|
96826
|
+
'outside right', 'inside right',
|
|
96828
96827
|
'outside bottom', 'inside bottom'
|
|
96829
96828
|
],
|
|
96830
96829
|
dflt: 'outside',
|
|
96831
96830
|
},
|
|
96831
|
+
|
|
96832
96832
|
ticklen: axesAttrs.ticklen,
|
|
96833
96833
|
tickwidth: axesAttrs.tickwidth,
|
|
96834
96834
|
tickcolor: axesAttrs.tickcolor,
|
|
@@ -96855,7 +96855,6 @@ module.exports = overrideAll({
|
|
|
96855
96855
|
side: {
|
|
96856
96856
|
valType: 'enumerated',
|
|
96857
96857
|
values: ['right', 'top', 'bottom'],
|
|
96858
|
-
dflt: 'top',
|
|
96859
96858
|
}
|
|
96860
96859
|
},
|
|
96861
96860
|
|
|
@@ -96914,23 +96913,30 @@ module.exports = function colorbarDefaults(containerIn, containerOut, layout) {
|
|
|
96914
96913
|
return Lib.coerce(colorbarIn, colorbarOut, attributes, attr, dflt);
|
|
96915
96914
|
}
|
|
96916
96915
|
|
|
96916
|
+
var margin = layout.margin || {t: 0, b: 0, l: 0, r: 0};
|
|
96917
|
+
var w = layout.width - margin.l - margin.r;
|
|
96918
|
+
var h = layout.height - margin.t - margin.b;
|
|
96919
|
+
|
|
96920
|
+
var orientation = coerce('orientation');
|
|
96921
|
+
var isVertical = orientation === 'v';
|
|
96922
|
+
|
|
96917
96923
|
var thicknessmode = coerce('thicknessmode');
|
|
96918
96924
|
coerce('thickness', (thicknessmode === 'fraction') ?
|
|
96919
|
-
30 / (
|
|
96925
|
+
30 / (isVertical ? w : h) :
|
|
96920
96926
|
30
|
|
96921
96927
|
);
|
|
96922
96928
|
|
|
96923
96929
|
var lenmode = coerce('lenmode');
|
|
96924
96930
|
coerce('len', (lenmode === 'fraction') ?
|
|
96925
96931
|
1 :
|
|
96926
|
-
|
|
96932
|
+
isVertical ? h : w
|
|
96927
96933
|
);
|
|
96928
96934
|
|
|
96929
|
-
coerce('x');
|
|
96930
|
-
coerce('xanchor');
|
|
96935
|
+
coerce('x', isVertical ? 1.02 : 0.5);
|
|
96936
|
+
coerce('xanchor', isVertical ? 'left' : 'center');
|
|
96931
96937
|
coerce('xpad');
|
|
96932
|
-
coerce('y');
|
|
96933
|
-
coerce('yanchor');
|
|
96938
|
+
coerce('y', isVertical ? 0.5 : 1.02);
|
|
96939
|
+
coerce('yanchor', isVertical ? 'middle' : 'bottom');
|
|
96934
96940
|
coerce('ypad');
|
|
96935
96941
|
Lib.noneOrAll(colorbarIn, colorbarOut, ['x', 'y']);
|
|
96936
96942
|
|
|
@@ -96940,7 +96946,22 @@ module.exports = function colorbarDefaults(containerIn, containerOut, layout) {
|
|
|
96940
96946
|
coerce('borderwidth');
|
|
96941
96947
|
coerce('bgcolor');
|
|
96942
96948
|
|
|
96943
|
-
var ticklabelposition = coerce(
|
|
96949
|
+
var ticklabelposition = Lib.coerce(colorbarIn, colorbarOut, {
|
|
96950
|
+
ticklabelposition: {
|
|
96951
|
+
valType: 'enumerated',
|
|
96952
|
+
dflt: 'outside',
|
|
96953
|
+
values: isVertical ? [
|
|
96954
|
+
'outside', 'inside',
|
|
96955
|
+
'outside top', 'inside top',
|
|
96956
|
+
'outside bottom', 'inside bottom'
|
|
96957
|
+
] : [
|
|
96958
|
+
'outside', 'inside',
|
|
96959
|
+
'outside left', 'inside left',
|
|
96960
|
+
'outside right', 'inside right'
|
|
96961
|
+
]
|
|
96962
|
+
}
|
|
96963
|
+
}, 'ticklabelposition');
|
|
96964
|
+
|
|
96944
96965
|
coerce('ticklabeloverflow', ticklabelposition.indexOf('inside') !== -1 ? 'hide past domain' : 'hide past div');
|
|
96945
96966
|
|
|
96946
96967
|
handleTickValueDefaults(colorbarIn, colorbarOut, coerce, 'linear');
|
|
@@ -96962,7 +96983,7 @@ module.exports = function colorbarDefaults(containerIn, containerOut, layout) {
|
|
|
96962
96983
|
size: Lib.bigFont(tickFont.size)
|
|
96963
96984
|
});
|
|
96964
96985
|
Lib.coerceFont(coerce, 'title.font', dfltTitleFont);
|
|
96965
|
-
coerce('title.side');
|
|
96986
|
+
coerce('title.side', isVertical ? 'top' : 'right');
|
|
96966
96987
|
};
|
|
96967
96988
|
|
|
96968
96989
|
},{"../../lib":371,"../../plot_api/plot_template":410,"../../plots/cartesian/prefix_suffix_defaults":440,"../../plots/cartesian/tick_label_defaults":445,"../../plots/cartesian/tick_mark_defaults":446,"../../plots/cartesian/tick_value_defaults":447,"./attributes":235}],238:[function(_dereq_,module,exports){
|
|
@@ -97135,18 +97156,20 @@ function makeColorBarData(gd) {
|
|
|
97135
97156
|
}
|
|
97136
97157
|
|
|
97137
97158
|
function drawColorBar(g, opts, gd) {
|
|
97159
|
+
var isVertical = opts.orientation === 'v';
|
|
97138
97160
|
var len = opts.len;
|
|
97139
97161
|
var lenmode = opts.lenmode;
|
|
97140
97162
|
var thickness = opts.thickness;
|
|
97141
97163
|
var thicknessmode = opts.thicknessmode;
|
|
97142
97164
|
var outlinewidth = opts.outlinewidth;
|
|
97143
97165
|
var borderwidth = opts.borderwidth;
|
|
97166
|
+
var bgcolor = opts.bgcolor;
|
|
97144
97167
|
var xanchor = opts.xanchor;
|
|
97145
97168
|
var yanchor = opts.yanchor;
|
|
97146
97169
|
var xpad = opts.xpad;
|
|
97147
97170
|
var ypad = opts.ypad;
|
|
97148
97171
|
var optsX = opts.x;
|
|
97149
|
-
var optsY = opts.y;
|
|
97172
|
+
var optsY = isVertical ? opts.y : 1 - opts.y;
|
|
97150
97173
|
|
|
97151
97174
|
var fullLayout = gd._fullLayout;
|
|
97152
97175
|
var gs = fullLayout._size;
|
|
@@ -97177,23 +97200,35 @@ function drawColorBar(g, opts, gd) {
|
|
|
97177
97200
|
// when the colorbar itself is pushing the margins.
|
|
97178
97201
|
// but then the fractional size is calculated based on the
|
|
97179
97202
|
// actual graph size, so that the axes will size correctly.
|
|
97180
|
-
var thickPx = Math.round(thickness * (thicknessmode === 'fraction' ? gs.w : 1));
|
|
97181
|
-
var thickFrac = thickPx / gs.w;
|
|
97182
|
-
var lenPx = Math.round(len * (lenmode === 'fraction' ? gs.h : 1));
|
|
97183
|
-
var lenFrac = lenPx / gs.h;
|
|
97184
|
-
var xpadFrac = xpad / gs.w;
|
|
97185
|
-
var yExtraPx = (borderwidth + outlinewidth) / 2;
|
|
97186
|
-
var ypadFrac = ypad / gs.h;
|
|
97203
|
+
var thickPx = Math.round(thickness * (thicknessmode === 'fraction' ? (isVertical ? gs.w : gs.h) : 1));
|
|
97204
|
+
var thickFrac = thickPx / (isVertical ? gs.w : gs.h);
|
|
97205
|
+
var lenPx = Math.round(len * (lenmode === 'fraction' ? (isVertical ? gs.h : gs.w) : 1));
|
|
97206
|
+
var lenFrac = lenPx / (isVertical ? gs.h : gs.w);
|
|
97187
97207
|
|
|
97188
97208
|
// x positioning: do it initially just for left anchor,
|
|
97189
97209
|
// then fix at the end (since we don't know the width yet)
|
|
97190
|
-
var uPx = Math.round(
|
|
97191
|
-
|
|
97192
|
-
|
|
97210
|
+
var uPx = Math.round(isVertical ?
|
|
97211
|
+
optsX * gs.w + xpad :
|
|
97212
|
+
optsY * gs.h + ypad
|
|
97213
|
+
);
|
|
97193
97214
|
|
|
97194
|
-
|
|
97195
|
-
var
|
|
97196
|
-
|
|
97215
|
+
var xRatio = {center: 0.5, right: 1}[xanchor] || 0;
|
|
97216
|
+
var yRatio = {top: 1, middle: 0.5}[yanchor] || 0;
|
|
97217
|
+
|
|
97218
|
+
// for dragging... this is getting a little muddled...
|
|
97219
|
+
var uFrac = isVertical ?
|
|
97220
|
+
optsX - xRatio * thickFrac :
|
|
97221
|
+
optsY - yRatio * thickFrac;
|
|
97222
|
+
|
|
97223
|
+
// y/x positioning (for v/h) we can do correctly from the start
|
|
97224
|
+
var vFrac = isVertical ?
|
|
97225
|
+
optsY - yRatio * lenFrac :
|
|
97226
|
+
optsX - xRatio * lenFrac;
|
|
97227
|
+
|
|
97228
|
+
var vPx = Math.round(isVertical ?
|
|
97229
|
+
gs.h * (1 - vFrac) :
|
|
97230
|
+
gs.w * vFrac
|
|
97231
|
+
);
|
|
97197
97232
|
|
|
97198
97233
|
// stash a few things for makeEditable
|
|
97199
97234
|
opts._lenFrac = lenFrac;
|
|
@@ -97206,12 +97241,23 @@ function drawColorBar(g, opts, gd) {
|
|
|
97206
97241
|
|
|
97207
97242
|
// position can't go in through supplyDefaults
|
|
97208
97243
|
// because that restricts it to [0,1]
|
|
97209
|
-
ax.position =
|
|
97244
|
+
ax.position = thickFrac + (isVertical ?
|
|
97245
|
+
optsX + xpad / gs.w :
|
|
97246
|
+
optsY + ypad / gs.h
|
|
97247
|
+
);
|
|
97248
|
+
|
|
97249
|
+
var topOrBottom = ['top', 'bottom'].indexOf(titleSide) !== -1;
|
|
97210
97250
|
|
|
97211
|
-
if(
|
|
97251
|
+
if(isVertical && topOrBottom) {
|
|
97212
97252
|
ax.title.side = titleSide;
|
|
97213
|
-
ax.titlex = optsX +
|
|
97214
|
-
ax.titley = vFrac + (title.side === 'top' ? lenFrac -
|
|
97253
|
+
ax.titlex = optsX + xpad / gs.w;
|
|
97254
|
+
ax.titley = vFrac + (title.side === 'top' ? lenFrac - ypad / gs.h : ypad / gs.h);
|
|
97255
|
+
}
|
|
97256
|
+
|
|
97257
|
+
if(!isVertical && !topOrBottom) {
|
|
97258
|
+
ax.title.side = titleSide;
|
|
97259
|
+
ax.titley = optsY + ypad / gs.h;
|
|
97260
|
+
ax.titlex = vFrac + xpad / gs.w; // right side
|
|
97215
97261
|
}
|
|
97216
97262
|
|
|
97217
97263
|
if(line.color && opts.tickmode === 'auto') {
|
|
@@ -97236,9 +97282,12 @@ function drawColorBar(g, opts, gd) {
|
|
|
97236
97282
|
|
|
97237
97283
|
// set domain after init, because we may want to
|
|
97238
97284
|
// allow it outside [0,1]
|
|
97239
|
-
ax.domain = [
|
|
97240
|
-
vFrac +
|
|
97241
|
-
vFrac + lenFrac -
|
|
97285
|
+
ax.domain = isVertical ? [
|
|
97286
|
+
vFrac + ypad / gs.h,
|
|
97287
|
+
vFrac + lenFrac - ypad / gs.h
|
|
97288
|
+
] : [
|
|
97289
|
+
vFrac + xpad / gs.w,
|
|
97290
|
+
vFrac + lenFrac - xpad / gs.w
|
|
97242
97291
|
];
|
|
97243
97292
|
|
|
97244
97293
|
ax.setScale();
|
|
@@ -97248,9 +97297,13 @@ function drawColorBar(g, opts, gd) {
|
|
|
97248
97297
|
var titleCont = g.select('.' + cn.cbtitleunshift)
|
|
97249
97298
|
.attr('transform', strTranslate(-Math.round(gs.l), -Math.round(gs.t)));
|
|
97250
97299
|
|
|
97300
|
+
var ticklabelposition = ax.ticklabelposition;
|
|
97301
|
+
var titleFontSize = ax.title.font.size;
|
|
97302
|
+
|
|
97251
97303
|
var axLayer = g.select('.' + cn.cbaxis);
|
|
97252
97304
|
var titleEl;
|
|
97253
97305
|
var titleHeight = 0;
|
|
97306
|
+
var titleWidth = 0;
|
|
97254
97307
|
|
|
97255
97308
|
function drawTitle(titleClass, titleOpts) {
|
|
97256
97309
|
var dfltTitleOpts = {
|
|
@@ -97275,54 +97328,98 @@ function drawColorBar(g, opts, gd) {
|
|
|
97275
97328
|
}
|
|
97276
97329
|
|
|
97277
97330
|
function drawDummyTitle() {
|
|
97278
|
-
|
|
97279
|
-
|
|
97280
|
-
|
|
97281
|
-
|
|
97282
|
-
|
|
97283
|
-
|
|
97284
|
-
|
|
97331
|
+
// draw the title so we know how much room it needs
|
|
97332
|
+
// when we squish the axis.
|
|
97333
|
+
// On vertical colorbars this only applies to top or bottom titles, not right side.
|
|
97334
|
+
// On horizontal colorbars this only applies to right, etc.
|
|
97335
|
+
|
|
97336
|
+
if(
|
|
97337
|
+
(isVertical && topOrBottom) ||
|
|
97338
|
+
(!isVertical && !topOrBottom)
|
|
97339
|
+
) {
|
|
97340
|
+
var x, y;
|
|
97285
97341
|
|
|
97286
97342
|
if(titleSide === 'top') {
|
|
97287
|
-
|
|
97288
|
-
|
|
97289
|
-
}
|
|
97290
|
-
|
|
97291
|
-
|
|
97343
|
+
x = xpad + gs.l + gs.w * optsX;
|
|
97344
|
+
y = ypad + gs.t + gs.h * (1 - vFrac - lenFrac) + 3 + titleFontSize * 0.75;
|
|
97345
|
+
}
|
|
97346
|
+
|
|
97347
|
+
if(titleSide === 'bottom') {
|
|
97348
|
+
x = xpad + gs.l + gs.w * optsX;
|
|
97349
|
+
y = ypad + gs.t + gs.h * (1 - vFrac) - 3 - titleFontSize * 0.25;
|
|
97350
|
+
}
|
|
97351
|
+
|
|
97352
|
+
if(titleSide === 'right') {
|
|
97353
|
+
y = ypad + gs.t + gs.h * optsY + 3 + titleFontSize * 0.75;
|
|
97354
|
+
x = xpad + gs.l + gs.w * vFrac;
|
|
97292
97355
|
}
|
|
97356
|
+
|
|
97293
97357
|
drawTitle(ax._id + 'title', {
|
|
97294
|
-
attributes: {x: x, y: y, 'text-anchor': 'start'}
|
|
97358
|
+
attributes: {x: x, y: y, 'text-anchor': isVertical ? 'start' : 'middle'}
|
|
97295
97359
|
});
|
|
97296
97360
|
}
|
|
97297
97361
|
}
|
|
97298
97362
|
|
|
97299
97363
|
function drawCbTitle() {
|
|
97300
|
-
if(
|
|
97301
|
-
|
|
97302
|
-
|
|
97303
|
-
|
|
97304
|
-
|
|
97305
|
-
|
|
97306
|
-
|
|
97307
|
-
|
|
97308
|
-
|
|
97309
|
-
|
|
97310
|
-
|
|
97364
|
+
if(
|
|
97365
|
+
(isVertical && !topOrBottom) ||
|
|
97366
|
+
(!isVertical && topOrBottom)
|
|
97367
|
+
) {
|
|
97368
|
+
var pos = ax.position || 0;
|
|
97369
|
+
var mid = ax._offset + ax._length / 2;
|
|
97370
|
+
var x, y;
|
|
97371
|
+
|
|
97372
|
+
if(titleSide === 'right') {
|
|
97373
|
+
y = mid;
|
|
97374
|
+
x = gs.l + gs.w * pos + 10 + titleFontSize * (
|
|
97375
|
+
ax.showticklabels ? 1 : 0.5
|
|
97376
|
+
);
|
|
97377
|
+
} else {
|
|
97378
|
+
x = mid;
|
|
97379
|
+
|
|
97380
|
+
if(titleSide === 'bottom') {
|
|
97381
|
+
y = gs.t + gs.h * pos + 10 + (
|
|
97382
|
+
ticklabelposition.indexOf('inside') === -1 ?
|
|
97383
|
+
ax.tickfont.size :
|
|
97384
|
+
0
|
|
97385
|
+
) + (
|
|
97386
|
+
ax.ticks !== 'intside' ?
|
|
97387
|
+
opts.ticklen || 0 :
|
|
97388
|
+
0
|
|
97389
|
+
);
|
|
97390
|
+
}
|
|
97391
|
+
|
|
97392
|
+
if(titleSide === 'top') {
|
|
97393
|
+
var nlines = title.text.split('<br>').length;
|
|
97394
|
+
y = gs.t + gs.h * pos + 10 - thickPx - LINE_SPACING * titleFontSize * nlines;
|
|
97395
|
+
}
|
|
97396
|
+
}
|
|
97397
|
+
|
|
97398
|
+
drawTitle((isVertical ?
|
|
97399
|
+
// the 'h' + is a hack to get around the fact that
|
|
97400
|
+
// convertToTspans rotates any 'y...' class by 90 degrees.
|
|
97401
|
+
// TODO: find a better way to control this.
|
|
97402
|
+
'h' :
|
|
97403
|
+
'v'
|
|
97404
|
+
) + ax._id + 'title', {
|
|
97311
97405
|
avoid: {
|
|
97312
97406
|
selection: d3.select(gd).selectAll('g.' + ax._id + 'tick'),
|
|
97313
97407
|
side: titleSide,
|
|
97314
|
-
|
|
97315
|
-
|
|
97316
|
-
maxShift: fullLayout.width
|
|
97408
|
+
offsetTop: isVertical ? 0 : gs.t,
|
|
97409
|
+
offsetLeft: isVertical ? gs.l : 0,
|
|
97410
|
+
maxShift: isVertical ? fullLayout.width : fullLayout.height
|
|
97317
97411
|
},
|
|
97318
97412
|
attributes: {x: x, y: y, 'text-anchor': 'middle'},
|
|
97319
|
-
transform: {rotate:
|
|
97413
|
+
transform: {rotate: isVertical ? -90 : 0, offset: 0}
|
|
97320
97414
|
});
|
|
97321
97415
|
}
|
|
97322
97416
|
}
|
|
97323
97417
|
|
|
97324
97418
|
function drawAxis() {
|
|
97325
|
-
if(
|
|
97419
|
+
if(
|
|
97420
|
+
(!isVertical && !topOrBottom) ||
|
|
97421
|
+
(isVertical && topOrBottom)
|
|
97422
|
+
) {
|
|
97326
97423
|
// squish the axis top to make room for the title
|
|
97327
97424
|
var titleGroup = g.select('.' + cn.cbtitle);
|
|
97328
97425
|
var titleText = titleGroup.select('text');
|
|
@@ -97334,39 +97431,63 @@ function drawColorBar(g, opts, gd) {
|
|
|
97334
97431
|
if(titleText.node()) {
|
|
97335
97432
|
lineSize = parseInt(titleText.node().style.fontSize, 10) * LINE_SPACING;
|
|
97336
97433
|
}
|
|
97434
|
+
|
|
97435
|
+
var bb;
|
|
97337
97436
|
if(mathJaxNode) {
|
|
97338
|
-
|
|
97437
|
+
bb = Drawing.bBox(mathJaxNode);
|
|
97438
|
+
titleWidth = bb.width;
|
|
97439
|
+
titleHeight = bb.height;
|
|
97339
97440
|
if(titleHeight > lineSize) {
|
|
97340
97441
|
// not entirely sure how mathjax is doing
|
|
97341
97442
|
// vertical alignment, but this seems to work.
|
|
97342
97443
|
titleTrans[1] -= (titleHeight - lineSize) / 2;
|
|
97343
97444
|
}
|
|
97344
97445
|
} else if(titleText.node() && !titleText.classed(cn.jsPlaceholder)) {
|
|
97345
|
-
|
|
97446
|
+
bb = Drawing.bBox(titleText.node());
|
|
97447
|
+
titleWidth = bb.width;
|
|
97448
|
+
titleHeight = bb.height;
|
|
97346
97449
|
}
|
|
97347
|
-
if(titleHeight) {
|
|
97348
|
-
// buffer btwn colorbar and title
|
|
97349
|
-
// TODO: configurable
|
|
97350
|
-
titleHeight += 5;
|
|
97351
97450
|
|
|
97352
|
-
|
|
97353
|
-
|
|
97354
|
-
|
|
97355
|
-
|
|
97356
|
-
|
|
97357
|
-
|
|
97358
|
-
|
|
97451
|
+
if(isVertical) {
|
|
97452
|
+
if(titleHeight) {
|
|
97453
|
+
// buffer btwn colorbar and title
|
|
97454
|
+
// TODO: configurable
|
|
97455
|
+
titleHeight += 5;
|
|
97456
|
+
|
|
97457
|
+
if(titleSide === 'top') {
|
|
97458
|
+
ax.domain[1] -= titleHeight / gs.h;
|
|
97459
|
+
titleTrans[1] *= -1;
|
|
97460
|
+
} else {
|
|
97461
|
+
ax.domain[0] += titleHeight / gs.h;
|
|
97462
|
+
var nlines = svgTextUtils.lineCount(titleText);
|
|
97463
|
+
titleTrans[1] += (1 - nlines) * lineSize;
|
|
97464
|
+
}
|
|
97465
|
+
|
|
97466
|
+
titleGroup.attr('transform', strTranslate(titleTrans[0], titleTrans[1]));
|
|
97467
|
+
ax.setScale();
|
|
97359
97468
|
}
|
|
97469
|
+
} else { // horizontal colorbars
|
|
97470
|
+
if(titleWidth) {
|
|
97471
|
+
if(titleSide === 'right') {
|
|
97472
|
+
ax.domain[0] += (titleWidth + titleFontSize / 2) / gs.w;
|
|
97473
|
+
}
|
|
97360
97474
|
|
|
97361
|
-
|
|
97362
|
-
|
|
97475
|
+
titleGroup.attr('transform', strTranslate(titleTrans[0], titleTrans[1]));
|
|
97476
|
+
ax.setScale();
|
|
97477
|
+
}
|
|
97363
97478
|
}
|
|
97364
97479
|
}
|
|
97365
97480
|
|
|
97366
97481
|
g.selectAll('.' + cn.cbfills + ',.' + cn.cblines)
|
|
97367
|
-
.attr('transform',
|
|
97482
|
+
.attr('transform', isVertical ?
|
|
97483
|
+
strTranslate(0, Math.round(gs.h * (1 - ax.domain[1]))) :
|
|
97484
|
+
strTranslate(Math.round(gs.w * ax.domain[0]), 0)
|
|
97485
|
+
);
|
|
97368
97486
|
|
|
97369
|
-
axLayer.attr('transform',
|
|
97487
|
+
axLayer.attr('transform', isVertical ?
|
|
97488
|
+
strTranslate(0, Math.round(-gs.t)) :
|
|
97489
|
+
strTranslate(Math.round(-gs.l), 0)
|
|
97490
|
+
);
|
|
97370
97491
|
|
|
97371
97492
|
var fills = g.select('.' + cn.cbfills)
|
|
97372
97493
|
.selectAll('rect.' + cn.cbfill)
|
|
@@ -97392,20 +97513,22 @@ function drawColorBar(g, opts, gd) {
|
|
|
97392
97513
|
|
|
97393
97514
|
// offset the side adjoining the next rectangle so they
|
|
97394
97515
|
// overlap, to prevent antialiasing gaps
|
|
97395
|
-
|
|
97396
|
-
|
|
97516
|
+
if(isVertical) {
|
|
97517
|
+
z[1] = Lib.constrain(z[1] + (z[1] > z[0]) ? 1 : -1, zBounds[0], zBounds[1]);
|
|
97518
|
+
} /* else {
|
|
97519
|
+
// TODO: horizontal case
|
|
97520
|
+
} */
|
|
97397
97521
|
|
|
97398
97522
|
// Colorbar cannot currently support opacities so we
|
|
97399
97523
|
// use an opaque fill even when alpha channels present
|
|
97400
|
-
var fillEl = d3.select(this)
|
|
97401
|
-
|
|
97402
|
-
|
|
97403
|
-
|
|
97404
|
-
|
|
97405
|
-
});
|
|
97524
|
+
var fillEl = d3.select(this)
|
|
97525
|
+
.attr(isVertical ? 'x' : 'y', uPx)
|
|
97526
|
+
.attr(isVertical ? 'y' : 'x', d3.min(z))
|
|
97527
|
+
.attr(isVertical ? 'width' : 'height', Math.max(thickPx, 2))
|
|
97528
|
+
.attr(isVertical ? 'height' : 'width', Math.max(d3.max(z) - d3.min(z), 2));
|
|
97406
97529
|
|
|
97407
97530
|
if(opts._fillgradient) {
|
|
97408
|
-
Drawing.gradient(fillEl, gd, opts._id, 'vertical', opts._fillgradient, 'fill');
|
|
97531
|
+
Drawing.gradient(fillEl, gd, opts._id, isVertical ? 'vertical' : 'horizontalreversed', opts._fillgradient, 'fill');
|
|
97409
97532
|
} else {
|
|
97410
97533
|
// tinycolor can't handle exponents and
|
|
97411
97534
|
// at this scale, removing it makes no difference.
|
|
@@ -97421,9 +97544,15 @@ function drawColorBar(g, opts, gd) {
|
|
|
97421
97544
|
.classed(cn.cbline, true);
|
|
97422
97545
|
lines.exit().remove();
|
|
97423
97546
|
lines.each(function(d) {
|
|
97547
|
+
var a = uPx;
|
|
97548
|
+
var b = (Math.round(ax.c2p(d)) + (line.width / 2) % 1);
|
|
97549
|
+
|
|
97424
97550
|
d3.select(this)
|
|
97425
|
-
.attr('d', 'M' +
|
|
97426
|
-
(
|
|
97551
|
+
.attr('d', 'M' +
|
|
97552
|
+
(isVertical ? a + ',' + b : b + ',' + a) +
|
|
97553
|
+
(isVertical ? 'h' : 'v') +
|
|
97554
|
+
thickPx
|
|
97555
|
+
)
|
|
97427
97556
|
.call(Drawing.lineGroupStyle, line.width, lineColormap(d), line.dash);
|
|
97428
97557
|
});
|
|
97429
97558
|
|
|
@@ -97456,82 +97585,211 @@ function drawColorBar(g, opts, gd) {
|
|
|
97456
97585
|
// TODO: why are we redrawing multiple times now with this?
|
|
97457
97586
|
// I guess autoMargin doesn't like being post-promise?
|
|
97458
97587
|
function positionCB() {
|
|
97588
|
+
var bb;
|
|
97459
97589
|
var innerThickness = thickPx + outlinewidth / 2;
|
|
97460
|
-
if(
|
|
97461
|
-
|
|
97590
|
+
if(ticklabelposition.indexOf('inside') === -1) {
|
|
97591
|
+
bb = Drawing.bBox(axLayer.node());
|
|
97592
|
+
innerThickness += isVertical ? bb.width : bb.height;
|
|
97462
97593
|
}
|
|
97463
97594
|
|
|
97464
97595
|
titleEl = titleCont.select('text');
|
|
97465
97596
|
|
|
97597
|
+
var titleWidth = 0;
|
|
97598
|
+
|
|
97599
|
+
var topSideVertical = isVertical && titleSide === 'top';
|
|
97600
|
+
var rightSideHorizontal = !isVertical && titleSide === 'right';
|
|
97601
|
+
|
|
97602
|
+
var moveY = 0;
|
|
97603
|
+
|
|
97466
97604
|
if(titleEl.node() && !titleEl.classed(cn.jsPlaceholder)) {
|
|
97605
|
+
var _titleHeight;
|
|
97606
|
+
|
|
97467
97607
|
var mathJaxNode = titleCont.select('.h' + ax._id + 'title-math-group').node();
|
|
97468
|
-
|
|
97469
|
-
|
|
97470
|
-
|
|
97608
|
+
if(mathJaxNode && (
|
|
97609
|
+
(isVertical && topOrBottom) ||
|
|
97610
|
+
(!isVertical && !topOrBottom)
|
|
97611
|
+
)) {
|
|
97612
|
+
bb = Drawing.bBox(mathJaxNode);
|
|
97613
|
+
titleWidth = bb.width;
|
|
97614
|
+
_titleHeight = bb.height;
|
|
97471
97615
|
} else {
|
|
97472
97616
|
// note: the formula below works for all title sides,
|
|
97473
97617
|
// (except for top/bottom mathjax, above)
|
|
97474
97618
|
// but the weird gs.l is because the titleunshift
|
|
97475
97619
|
// transform gets removed by Drawing.bBox
|
|
97476
|
-
|
|
97620
|
+
bb = Drawing.bBox(titleCont.node());
|
|
97621
|
+
titleWidth = bb.right - gs.l - (isVertical ? uPx : vPx);
|
|
97622
|
+
_titleHeight = bb.bottom - gs.t - (isVertical ? vPx : uPx);
|
|
97623
|
+
|
|
97624
|
+
if(
|
|
97625
|
+
!isVertical && titleSide === 'top'
|
|
97626
|
+
) {
|
|
97627
|
+
innerThickness += bb.height;
|
|
97628
|
+
moveY = bb.height;
|
|
97629
|
+
}
|
|
97477
97630
|
}
|
|
97478
|
-
|
|
97631
|
+
|
|
97632
|
+
if(rightSideHorizontal) {
|
|
97633
|
+
titleEl.attr('transform', strTranslate(titleWidth / 2 + titleFontSize / 2, 0));
|
|
97634
|
+
|
|
97635
|
+
titleWidth *= 2;
|
|
97636
|
+
}
|
|
97637
|
+
|
|
97638
|
+
innerThickness = Math.max(innerThickness,
|
|
97639
|
+
isVertical ? titleWidth : _titleHeight
|
|
97640
|
+
);
|
|
97479
97641
|
}
|
|
97480
97642
|
|
|
97481
|
-
var outerThickness =
|
|
97643
|
+
var outerThickness = (isVertical ?
|
|
97644
|
+
xpad :
|
|
97645
|
+
ypad
|
|
97646
|
+
) * 2 + innerThickness + borderwidth + outlinewidth / 2;
|
|
97482
97647
|
|
|
97483
|
-
|
|
97484
|
-
|
|
97485
|
-
|
|
97486
|
-
|
|
97487
|
-
|
|
97488
|
-
|
|
97489
|
-
|
|
97648
|
+
var hColorbarMoveTitle = 0;
|
|
97649
|
+
if(!isVertical && title.text && yanchor === 'bottom' && optsY <= 0) {
|
|
97650
|
+
hColorbarMoveTitle = outerThickness / 2;
|
|
97651
|
+
|
|
97652
|
+
outerThickness += hColorbarMoveTitle;
|
|
97653
|
+
moveY += hColorbarMoveTitle;
|
|
97654
|
+
}
|
|
97655
|
+
fullLayout._hColorbarMoveTitle = hColorbarMoveTitle;
|
|
97656
|
+
fullLayout._hColorbarMoveCBTitle = moveY;
|
|
97657
|
+
|
|
97658
|
+
var extraW = borderwidth + outlinewidth;
|
|
97659
|
+
|
|
97660
|
+
g.select('.' + cn.cbbg)
|
|
97661
|
+
.attr('x', (isVertical ? uPx : vPx) - extraW / 2 - (isVertical ? xpad : 0))
|
|
97662
|
+
.attr('y', (isVertical ? vPx : uPx) - (isVertical ? lenPx : ypad + moveY - hColorbarMoveTitle))
|
|
97663
|
+
.attr(isVertical ? 'width' : 'height', Math.max(outerThickness - hColorbarMoveTitle, 2))
|
|
97664
|
+
.attr(isVertical ? 'height' : 'width', Math.max(lenPx + extraW, 2))
|
|
97665
|
+
.call(Color.fill, bgcolor)
|
|
97490
97666
|
.call(Color.stroke, opts.bordercolor)
|
|
97491
97667
|
.style('stroke-width', borderwidth);
|
|
97492
97668
|
|
|
97493
|
-
|
|
97494
|
-
|
|
97495
|
-
|
|
97496
|
-
|
|
97497
|
-
|
|
97498
|
-
|
|
97669
|
+
var moveX = rightSideHorizontal ? Math.max(titleWidth - 10, 0) : 0;
|
|
97670
|
+
|
|
97671
|
+
g.selectAll('.' + cn.cboutline)
|
|
97672
|
+
.attr('x', (isVertical ? uPx : vPx + xpad) + moveX)
|
|
97673
|
+
.attr('y', (isVertical ? vPx + ypad - lenPx : uPx) + (topSideVertical ? titleHeight : 0))
|
|
97674
|
+
.attr(isVertical ? 'width' : 'height', Math.max(thickPx, 2))
|
|
97675
|
+
.attr(isVertical ? 'height' : 'width', Math.max(lenPx - (isVertical ?
|
|
97676
|
+
2 * ypad + titleHeight :
|
|
97677
|
+
2 * xpad + moveX
|
|
97678
|
+
), 2))
|
|
97499
97679
|
.call(Color.stroke, opts.outlinecolor)
|
|
97500
97680
|
.style({
|
|
97501
97681
|
fill: 'none',
|
|
97502
97682
|
'stroke-width': outlinewidth
|
|
97503
97683
|
});
|
|
97504
97684
|
|
|
97505
|
-
|
|
97506
|
-
|
|
97507
|
-
|
|
97685
|
+
g.attr('transform', strTranslate(
|
|
97686
|
+
gs.l - (isVertical ? xRatio * outerThickness : 0),
|
|
97687
|
+
gs.t - (isVertical ? 0 : (1 - yRatio) * outerThickness - moveY)
|
|
97688
|
+
));
|
|
97689
|
+
|
|
97690
|
+
if(!isVertical && (
|
|
97691
|
+
borderwidth || (
|
|
97692
|
+
tinycolor(bgcolor).getAlpha() &&
|
|
97693
|
+
!tinycolor.equals(fullLayout.paper_bgcolor, bgcolor)
|
|
97694
|
+
)
|
|
97695
|
+
)) {
|
|
97696
|
+
// for horizontal colorbars when there is a border line or having different background color
|
|
97697
|
+
// hide/adjust x positioning for the first/last tick labels if they go outside the border
|
|
97698
|
+
var tickLabels = axLayer.selectAll('text');
|
|
97699
|
+
var numTicks = tickLabels[0].length;
|
|
97700
|
+
|
|
97701
|
+
var border = g.select('.' + cn.cbbg).node();
|
|
97702
|
+
var oBb = Drawing.bBox(border);
|
|
97703
|
+
var oTr = Drawing.getTranslate(g);
|
|
97704
|
+
|
|
97705
|
+
var TEXTPAD = 2;
|
|
97706
|
+
|
|
97707
|
+
tickLabels.each(function(d, i) {
|
|
97708
|
+
var first = 0;
|
|
97709
|
+
var last = numTicks - 1;
|
|
97710
|
+
if(i === first || i === last) {
|
|
97711
|
+
var iBb = Drawing.bBox(this);
|
|
97712
|
+
var iTr = Drawing.getTranslate(this);
|
|
97713
|
+
var deltaX;
|
|
97714
|
+
|
|
97715
|
+
if(i === last) {
|
|
97716
|
+
var iRight = iBb.right + iTr.x;
|
|
97717
|
+
var oRight = oBb.right + oTr.x + vPx - borderwidth - TEXTPAD + optsX;
|
|
97718
|
+
|
|
97719
|
+
deltaX = oRight - iRight;
|
|
97720
|
+
if(deltaX > 0) deltaX = 0;
|
|
97721
|
+
} else if(i === first) {
|
|
97722
|
+
var iLeft = iBb.left + iTr.x;
|
|
97723
|
+
var oLeft = oBb.left + oTr.x + vPx + borderwidth + TEXTPAD;
|
|
97724
|
+
|
|
97725
|
+
deltaX = oLeft - iLeft;
|
|
97726
|
+
if(deltaX < 0) deltaX = 0;
|
|
97727
|
+
}
|
|
97728
|
+
|
|
97729
|
+
if(deltaX) {
|
|
97730
|
+
if(numTicks < 3) { // adjust position
|
|
97731
|
+
this.setAttribute('transform',
|
|
97732
|
+
'translate(' + deltaX + ',0) ' +
|
|
97733
|
+
this.getAttribute('transform')
|
|
97734
|
+
);
|
|
97735
|
+
} else { // hide
|
|
97736
|
+
this.setAttribute('visibility', 'hidden');
|
|
97737
|
+
}
|
|
97738
|
+
}
|
|
97739
|
+
}
|
|
97740
|
+
});
|
|
97741
|
+
}
|
|
97508
97742
|
|
|
97509
97743
|
// auto margin adjustment
|
|
97510
97744
|
var marginOpts = {};
|
|
97745
|
+
var lFrac = FROM_TL[xanchor];
|
|
97746
|
+
var rFrac = FROM_BR[xanchor];
|
|
97511
97747
|
var tFrac = FROM_TL[yanchor];
|
|
97512
97748
|
var bFrac = FROM_BR[yanchor];
|
|
97513
|
-
if(lenmode === 'pixels') {
|
|
97514
|
-
marginOpts.y = optsY;
|
|
97515
|
-
marginOpts.t = lenPx * tFrac;
|
|
97516
|
-
marginOpts.b = lenPx * bFrac;
|
|
97517
|
-
} else {
|
|
97518
|
-
marginOpts.t = marginOpts.b = 0;
|
|
97519
|
-
marginOpts.yt = optsY + len * tFrac;
|
|
97520
|
-
marginOpts.yb = optsY - len * bFrac;
|
|
97521
|
-
}
|
|
97522
97749
|
|
|
97523
|
-
var
|
|
97524
|
-
|
|
97525
|
-
|
|
97526
|
-
|
|
97527
|
-
|
|
97528
|
-
|
|
97529
|
-
|
|
97530
|
-
|
|
97531
|
-
|
|
97532
|
-
|
|
97533
|
-
|
|
97534
|
-
|
|
97750
|
+
var extraThickness = outerThickness - thickPx;
|
|
97751
|
+
if(isVertical) {
|
|
97752
|
+
if(lenmode === 'pixels') {
|
|
97753
|
+
marginOpts.y = optsY;
|
|
97754
|
+
marginOpts.t = lenPx * tFrac;
|
|
97755
|
+
marginOpts.b = lenPx * bFrac;
|
|
97756
|
+
} else {
|
|
97757
|
+
marginOpts.t = marginOpts.b = 0;
|
|
97758
|
+
marginOpts.yt = optsY + len * tFrac;
|
|
97759
|
+
marginOpts.yb = optsY - len * bFrac;
|
|
97760
|
+
}
|
|
97761
|
+
|
|
97762
|
+
if(thicknessmode === 'pixels') {
|
|
97763
|
+
marginOpts.x = optsX;
|
|
97764
|
+
marginOpts.l = outerThickness * lFrac;
|
|
97765
|
+
marginOpts.r = outerThickness * rFrac;
|
|
97766
|
+
} else {
|
|
97767
|
+
marginOpts.l = extraThickness * lFrac;
|
|
97768
|
+
marginOpts.r = extraThickness * rFrac;
|
|
97769
|
+
marginOpts.xl = optsX - thickness * lFrac;
|
|
97770
|
+
marginOpts.xr = optsX + thickness * rFrac;
|
|
97771
|
+
}
|
|
97772
|
+
} else { // horizontal colorbars
|
|
97773
|
+
if(lenmode === 'pixels') {
|
|
97774
|
+
marginOpts.x = optsX;
|
|
97775
|
+
marginOpts.l = lenPx * lFrac;
|
|
97776
|
+
marginOpts.r = lenPx * rFrac;
|
|
97777
|
+
} else {
|
|
97778
|
+
marginOpts.l = marginOpts.r = 0;
|
|
97779
|
+
marginOpts.xl = optsX + len * lFrac;
|
|
97780
|
+
marginOpts.xr = optsX - len * rFrac;
|
|
97781
|
+
}
|
|
97782
|
+
|
|
97783
|
+
if(thicknessmode === 'pixels') {
|
|
97784
|
+
marginOpts.y = 1 - optsY;
|
|
97785
|
+
marginOpts.t = outerThickness * tFrac;
|
|
97786
|
+
marginOpts.b = outerThickness * bFrac;
|
|
97787
|
+
} else {
|
|
97788
|
+
marginOpts.t = extraThickness * tFrac;
|
|
97789
|
+
marginOpts.b = extraThickness * bFrac;
|
|
97790
|
+
marginOpts.yt = optsY - thickness * tFrac;
|
|
97791
|
+
marginOpts.yb = optsY + thickness * bFrac;
|
|
97792
|
+
}
|
|
97535
97793
|
}
|
|
97536
97794
|
|
|
97537
97795
|
Plots.autoMargin(gd, opts._id, marginOpts);
|
|
@@ -97548,6 +97806,7 @@ function drawColorBar(g, opts, gd) {
|
|
|
97548
97806
|
}
|
|
97549
97807
|
|
|
97550
97808
|
function makeEditable(g, opts, gd) {
|
|
97809
|
+
var isVertical = opts.orientation === 'v';
|
|
97551
97810
|
var fullLayout = gd._fullLayout;
|
|
97552
97811
|
var gs = fullLayout._size;
|
|
97553
97812
|
var t0, xf, yf;
|
|
@@ -97562,9 +97821,13 @@ function makeEditable(g, opts, gd) {
|
|
|
97562
97821
|
moveFn: function(dx, dy) {
|
|
97563
97822
|
g.attr('transform', t0 + strTranslate(dx, dy));
|
|
97564
97823
|
|
|
97565
|
-
xf = dragElement.align(
|
|
97824
|
+
xf = dragElement.align(
|
|
97825
|
+
(isVertical ? opts._uFrac : opts._vFrac) + (dx / gs.w),
|
|
97826
|
+
isVertical ? opts._thickFrac : opts._lenFrac,
|
|
97566
97827
|
0, 1, opts.xanchor);
|
|
97567
|
-
yf = dragElement.align(
|
|
97828
|
+
yf = dragElement.align(
|
|
97829
|
+
(isVertical ? opts._vFrac : (1 - opts._uFrac)) - (dy / gs.h),
|
|
97830
|
+
isVertical ? opts._lenFrac : opts._thickFrac,
|
|
97568
97831
|
0, 1, opts.yanchor);
|
|
97569
97832
|
|
|
97570
97833
|
var csr = dragElement.getCursor(xf, yf, opts.xanchor, opts.yanchor);
|
|
@@ -97641,6 +97904,8 @@ function calcLevels(gd, opts, zrange) {
|
|
|
97641
97904
|
function mockColorBarAxis(gd, opts, zrange) {
|
|
97642
97905
|
var fullLayout = gd._fullLayout;
|
|
97643
97906
|
|
|
97907
|
+
var isVertical = opts.orientation === 'v';
|
|
97908
|
+
|
|
97644
97909
|
var cbAxisIn = {
|
|
97645
97910
|
type: 'linear',
|
|
97646
97911
|
range: zrange,
|
|
@@ -97671,17 +97936,19 @@ function mockColorBarAxis(gd, opts, zrange) {
|
|
|
97671
97936
|
title: opts.title,
|
|
97672
97937
|
showline: true,
|
|
97673
97938
|
anchor: 'free',
|
|
97674
|
-
side: 'right',
|
|
97939
|
+
side: isVertical ? 'right' : 'bottom',
|
|
97675
97940
|
position: 1
|
|
97676
97941
|
};
|
|
97677
97942
|
|
|
97943
|
+
var letter = isVertical ? 'y' : 'x';
|
|
97944
|
+
|
|
97678
97945
|
var cbAxisOut = {
|
|
97679
97946
|
type: 'linear',
|
|
97680
|
-
_id:
|
|
97947
|
+
_id: letter + opts._id
|
|
97681
97948
|
};
|
|
97682
97949
|
|
|
97683
97950
|
var axisOptions = {
|
|
97684
|
-
letter:
|
|
97951
|
+
letter: letter,
|
|
97685
97952
|
font: fullLayout.font,
|
|
97686
97953
|
noHover: true,
|
|
97687
97954
|
noTickson: true,
|
|
@@ -100660,7 +100927,7 @@ drawing.setTextPointsScale = function(selection, xScale, yScale) {
|
|
|
100660
100927
|
});
|
|
100661
100928
|
};
|
|
100662
100929
|
|
|
100663
|
-
},{"../../components/fx/helpers":270,"../../constants/alignment":339,"../../constants/interactions":346,"../../constants/xmlns_namespaces":348,"../../lib":371,"../../lib/svg_text_utils":396,"../../registry":501,"../../traces/scatter/make_bubble_size_func":
|
|
100930
|
+
},{"../../components/fx/helpers":270,"../../constants/alignment":339,"../../constants/interactions":346,"../../constants/xmlns_namespaces":348,"../../lib":371,"../../lib/svg_text_utils":396,"../../registry":501,"../../traces/scatter/make_bubble_size_func":795,"../../traces/scatter/subtypes":803,"../color":234,"../colorscale":246,"./symbol_defs":257,"@plotly/d3":53,"fast-isnumeric":99,"tinycolor2":195}],257:[function(_dereq_,module,exports){
|
|
100664
100931
|
'use strict';
|
|
100665
100932
|
|
|
100666
100933
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -101759,7 +102026,7 @@ function errorCoords(d, xa, ya) {
|
|
|
101759
102026
|
return out;
|
|
101760
102027
|
}
|
|
101761
102028
|
|
|
101762
|
-
},{"../../traces/scatter/subtypes":
|
|
102029
|
+
},{"../../traces/scatter/subtypes":803,"../drawing":256,"@plotly/d3":53,"fast-isnumeric":99}],264:[function(_dereq_,module,exports){
|
|
101763
102030
|
'use strict';
|
|
101764
102031
|
|
|
101765
102032
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -103294,7 +103561,9 @@ function createHoverText(hoverData, opts) {
|
|
|
103294
103561
|
orientation: 'v'
|
|
103295
103562
|
}
|
|
103296
103563
|
};
|
|
103297
|
-
var mockLayoutOut = {
|
|
103564
|
+
var mockLayoutOut = {
|
|
103565
|
+
font: font
|
|
103566
|
+
};
|
|
103298
103567
|
legendSupplyDefaults(mockLayoutIn, mockLayoutOut, gd._fullData);
|
|
103299
103568
|
var mockLegend = mockLayoutOut.legend;
|
|
103300
103569
|
|
|
@@ -103335,7 +103604,8 @@ function createHoverText(hoverData, opts) {
|
|
|
103335
103604
|
|
|
103336
103605
|
// Draw unified hover label
|
|
103337
103606
|
mockLegend._inHover = true;
|
|
103338
|
-
mockLegend._groupTitleFont =
|
|
103607
|
+
mockLegend._groupTitleFont = hoverlabel.grouptitlefont;
|
|
103608
|
+
|
|
103339
103609
|
legendDraw(gd, mockLegend);
|
|
103340
103610
|
|
|
103341
103611
|
// Position the hover
|
|
@@ -104337,9 +104607,11 @@ var isUnifiedHover = _dereq_('./helpers').isUnifiedHover;
|
|
|
104337
104607
|
module.exports = function handleHoverLabelDefaults(contIn, contOut, coerce, opts) {
|
|
104338
104608
|
opts = opts || {};
|
|
104339
104609
|
|
|
104610
|
+
var hasLegend = contOut.legend;
|
|
104611
|
+
|
|
104340
104612
|
function inheritFontAttr(attr) {
|
|
104341
104613
|
if(!opts.font[attr]) {
|
|
104342
|
-
opts.font[attr] =
|
|
104614
|
+
opts.font[attr] = hasLegend ? contOut.legend.font[attr] : contOut.font[attr];
|
|
104343
104615
|
}
|
|
104344
104616
|
}
|
|
104345
104617
|
|
|
@@ -104350,7 +104622,7 @@ module.exports = function handleHoverLabelDefaults(contIn, contOut, coerce, opts
|
|
|
104350
104622
|
inheritFontAttr('family');
|
|
104351
104623
|
inheritFontAttr('color');
|
|
104352
104624
|
|
|
104353
|
-
if(
|
|
104625
|
+
if(hasLegend) {
|
|
104354
104626
|
if(!opts.bgcolor) opts.bgcolor = Color.combine(contOut.legend.bgcolor, contOut.paper_bgcolor);
|
|
104355
104627
|
if(!opts.bordercolor) opts.bordercolor = contOut.legend.bordercolor;
|
|
104356
104628
|
} else {
|
|
@@ -104459,11 +104731,13 @@ function castHoverinfo(trace, fullLayout, ptNumber) {
|
|
|
104459
104731
|
|
|
104460
104732
|
var constants = _dereq_('./constants');
|
|
104461
104733
|
|
|
104462
|
-
var fontAttrs = _dereq_('../../plots/font_attributes')
|
|
104734
|
+
var fontAttrs = _dereq_('../../plots/font_attributes');
|
|
104735
|
+
|
|
104736
|
+
var font = fontAttrs({
|
|
104463
104737
|
editType: 'none',
|
|
104464
104738
|
});
|
|
104465
|
-
|
|
104466
|
-
|
|
104739
|
+
font.family.dflt = constants.HOVERFONT;
|
|
104740
|
+
font.size.dflt = constants.HOVERFONTSIZE;
|
|
104467
104741
|
|
|
104468
104742
|
module.exports = {
|
|
104469
104743
|
clickmode: {
|
|
@@ -104519,7 +104793,10 @@ module.exports = {
|
|
|
104519
104793
|
valType: 'color',
|
|
104520
104794
|
editType: 'none',
|
|
104521
104795
|
},
|
|
104522
|
-
font:
|
|
104796
|
+
font: font,
|
|
104797
|
+
grouptitlefont: fontAttrs({
|
|
104798
|
+
editType: 'none',
|
|
104799
|
+
}),
|
|
104523
104800
|
align: {
|
|
104524
104801
|
valType: 'enumerated',
|
|
104525
104802
|
values: ['left', 'right', 'auto'],
|
|
@@ -104532,6 +104809,7 @@ module.exports = {
|
|
|
104532
104809
|
dflt: 15,
|
|
104533
104810
|
editType: 'none',
|
|
104534
104811
|
},
|
|
104812
|
+
|
|
104535
104813
|
editType: 'none'
|
|
104536
104814
|
},
|
|
104537
104815
|
selectdirection: {
|
|
@@ -104579,6 +104857,8 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
|
|
|
104579
104857
|
}
|
|
104580
104858
|
|
|
104581
104859
|
handleHoverLabelDefaults(layoutIn, layoutOut, coerce);
|
|
104860
|
+
|
|
104861
|
+
Lib.coerceFont(coerce, 'hoverlabel.grouptitlefont', layoutOut.hoverlabel.font);
|
|
104582
104862
|
};
|
|
104583
104863
|
|
|
104584
104864
|
},{"../../lib":371,"./hoverlabel_defaults":272,"./hovermode_defaults":273,"./layout_attributes":275}],277:[function(_dereq_,module,exports){
|
|
@@ -105462,6 +105742,9 @@ module.exports = {
|
|
|
105462
105742
|
font: fontAttrs({
|
|
105463
105743
|
editType: 'legend',
|
|
105464
105744
|
}),
|
|
105745
|
+
grouptitlefont: fontAttrs({
|
|
105746
|
+
editType: 'legend',
|
|
105747
|
+
}),
|
|
105465
105748
|
orientation: {
|
|
105466
105749
|
valType: 'enumerated',
|
|
105467
105750
|
values: ['v', 'h'],
|
|
@@ -105585,6 +105868,7 @@ var Registry = _dereq_('../../registry');
|
|
|
105585
105868
|
var Lib = _dereq_('../../lib');
|
|
105586
105869
|
var Template = _dereq_('../../plot_api/plot_template');
|
|
105587
105870
|
|
|
105871
|
+
var plotsAttrs = _dereq_('../../plots/attributes');
|
|
105588
105872
|
var attributes = _dereq_('./attributes');
|
|
105589
105873
|
var basePlotLayoutAttributes = _dereq_('../../plots/layout_attributes');
|
|
105590
105874
|
var helpers = _dereq_('./helpers');
|
|
@@ -105592,13 +105876,30 @@ var helpers = _dereq_('./helpers');
|
|
|
105592
105876
|
|
|
105593
105877
|
module.exports = function legendDefaults(layoutIn, layoutOut, fullData) {
|
|
105594
105878
|
var containerIn = layoutIn.legend || {};
|
|
105879
|
+
var containerOut = Template.newContainer(layoutOut, 'legend');
|
|
105880
|
+
|
|
105881
|
+
function coerce(attr, dflt) {
|
|
105882
|
+
return Lib.coerce(containerIn, containerOut, attributes, attr, dflt);
|
|
105883
|
+
}
|
|
105884
|
+
|
|
105885
|
+
var trace;
|
|
105886
|
+
var traceCoerce = function(attr, dflt) {
|
|
105887
|
+
var traceIn = trace._input;
|
|
105888
|
+
var traceOut = trace;
|
|
105889
|
+
return Lib.coerce(traceIn, traceOut, plotsAttrs, attr, dflt);
|
|
105890
|
+
};
|
|
105891
|
+
|
|
105892
|
+
var globalFont = layoutOut.font || {};
|
|
105893
|
+
var grouptitlefont = Lib.coerceFont(coerce, 'grouptitlefont', Lib.extendFlat({}, globalFont, {
|
|
105894
|
+
size: Math.round(globalFont.size * 1.1)
|
|
105895
|
+
}));
|
|
105595
105896
|
|
|
105596
105897
|
var legendTraceCount = 0;
|
|
105597
105898
|
var legendReallyHasATrace = false;
|
|
105598
105899
|
var defaultOrder = 'normal';
|
|
105599
105900
|
|
|
105600
105901
|
for(var i = 0; i < fullData.length; i++) {
|
|
105601
|
-
|
|
105902
|
+
trace = fullData[i];
|
|
105602
105903
|
|
|
105603
105904
|
if(!trace.visible) continue;
|
|
105604
105905
|
|
|
@@ -105625,6 +105926,8 @@ module.exports = function legendDefaults(layoutIn, layoutOut, fullData) {
|
|
|
105625
105926
|
legendTraceCount++;
|
|
105626
105927
|
}
|
|
105627
105928
|
}
|
|
105929
|
+
|
|
105930
|
+
Lib.coerceFont(traceCoerce, 'legendgrouptitle.font', grouptitlefont);
|
|
105628
105931
|
}
|
|
105629
105932
|
|
|
105630
105933
|
if((Registry.traceIs(trace, 'bar') && layoutOut.barmode === 'stack') ||
|
|
@@ -105643,13 +105946,10 @@ module.exports = function legendDefaults(layoutIn, layoutOut, fullData) {
|
|
|
105643
105946
|
basePlotLayoutAttributes, 'showlegend',
|
|
105644
105947
|
legendReallyHasATrace && legendTraceCount > 1);
|
|
105645
105948
|
|
|
105646
|
-
|
|
105647
|
-
|
|
105648
|
-
var containerOut = Template.newContainer(layoutOut, 'legend');
|
|
105949
|
+
// delete legend
|
|
105950
|
+
if(showLegend === false) layoutOut.legend = undefined;
|
|
105649
105951
|
|
|
105650
|
-
|
|
105651
|
-
return Lib.coerce(containerIn, containerOut, attributes, attr, dflt);
|
|
105652
|
-
}
|
|
105952
|
+
if(showLegend === false && !containerIn.uirevision) return;
|
|
105653
105953
|
|
|
105654
105954
|
coerce('uirevision', layoutOut.uirevision);
|
|
105655
105955
|
|
|
@@ -105711,7 +106011,7 @@ module.exports = function legendDefaults(layoutIn, layoutOut, fullData) {
|
|
|
105711
106011
|
}
|
|
105712
106012
|
};
|
|
105713
106013
|
|
|
105714
|
-
},{"../../lib":371,"../../plot_api/plot_template":410,"../../plots/layout_attributes":477,"../../registry":501,"./attributes":284,"./helpers":290}],287:[function(_dereq_,module,exports){
|
|
106014
|
+
},{"../../lib":371,"../../plot_api/plot_template":410,"../../plots/attributes":417,"../../plots/layout_attributes":477,"../../registry":501,"./attributes":284,"./helpers":290}],287:[function(_dereq_,module,exports){
|
|
105715
106015
|
'use strict';
|
|
105716
106016
|
|
|
105717
106017
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -107684,7 +107984,7 @@ function dimAttr(v, dflt, max) {
|
|
|
107684
107984
|
return v;
|
|
107685
107985
|
}
|
|
107686
107986
|
|
|
107687
|
-
},{"../../lib":371,"../../registry":501,"../../traces/pie/helpers":
|
|
107987
|
+
},{"../../lib":371,"../../registry":501,"../../traces/pie/helpers":757,"../../traces/pie/style_one":763,"../../traces/scatter/subtypes":803,"../color":234,"../colorscale/helpers":245,"../drawing":256,"./constants":285,"@plotly/d3":53}],293:[function(_dereq_,module,exports){
|
|
107688
107988
|
'use strict';
|
|
107689
107989
|
|
|
107690
107990
|
var constants = _dereq_('./constants');
|
|
@@ -108918,7 +109218,7 @@ function fillCustomButton(customButtons) {
|
|
|
108918
109218
|
return customButtons;
|
|
108919
109219
|
}
|
|
108920
109220
|
|
|
108921
|
-
},{"../../plots/cartesian/axis_ids":425,"../../registry":501,"../../traces/scatter/subtypes":
|
|
109221
|
+
},{"../../plots/cartesian/axis_ids":425,"../../registry":501,"../../traces/scatter/subtypes":803,"../fx/helpers":270,"./buttons":294,"./constants":295,"./modebar":299}],299:[function(_dereq_,module,exports){
|
|
108922
109222
|
'use strict';
|
|
108923
109223
|
|
|
108924
109224
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -110847,7 +111147,7 @@ module.exports = templatedArray('shape', {
|
|
|
110847
111147
|
editType: 'arraydraw'
|
|
110848
111148
|
});
|
|
110849
111149
|
|
|
110850
|
-
},{"../../constants/axis_placeable_objects":340,"../../lib/extend":361,"../../plot_api/plot_template":410,"../../traces/scatter/attributes":
|
|
111150
|
+
},{"../../constants/axis_placeable_objects":340,"../../lib/extend":361,"../../plot_api/plot_template":410,"../../traces/scatter/attributes":778,"../annotations/attributes":217,"../drawing/attributes":255}],315:[function(_dereq_,module,exports){
|
|
110851
111151
|
'use strict';
|
|
110852
111152
|
|
|
110853
111153
|
var Lib = _dereq_('../../lib');
|
|
@@ -114163,8 +114463,10 @@ function draw(gd, titleClass, options) {
|
|
|
114163
114463
|
|
|
114164
114464
|
var elShouldExist = txt || editable;
|
|
114165
114465
|
|
|
114466
|
+
var hColorbarMoveTitle;
|
|
114166
114467
|
if(!group) {
|
|
114167
114468
|
group = Lib.ensureSingle(fullLayout._infolayer, 'g', 'g-' + titleClass);
|
|
114469
|
+
hColorbarMoveTitle = fullLayout._hColorbarMoveTitle;
|
|
114168
114470
|
}
|
|
114169
114471
|
|
|
114170
114472
|
var el = group.selectAll('text')
|
|
@@ -114188,13 +114490,17 @@ function draw(gd, titleClass, options) {
|
|
|
114188
114490
|
function drawTitle(titleEl) {
|
|
114189
114491
|
var transformVal;
|
|
114190
114492
|
|
|
114493
|
+
if(!transform && hColorbarMoveTitle) {
|
|
114494
|
+
transform = {};
|
|
114495
|
+
}
|
|
114496
|
+
|
|
114191
114497
|
if(transform) {
|
|
114192
114498
|
transformVal = '';
|
|
114193
114499
|
if(transform.rotate) {
|
|
114194
114500
|
transformVal += 'rotate(' + [transform.rotate, attributes.x, attributes.y] + ')';
|
|
114195
114501
|
}
|
|
114196
|
-
if(transform.offset) {
|
|
114197
|
-
transformVal += strTranslate(0, transform.offset);
|
|
114502
|
+
if(transform.offset || hColorbarMoveTitle) {
|
|
114503
|
+
transformVal += strTranslate(0, (transform.offset || 0) - (hColorbarMoveTitle || 0));
|
|
114198
114504
|
}
|
|
114199
114505
|
} else {
|
|
114200
114506
|
transformVal = null;
|
|
@@ -116031,7 +116337,7 @@ exports.Fx = {
|
|
|
116031
116337
|
exports.Snapshot = _dereq_('./snapshot');
|
|
116032
116338
|
exports.PlotSchema = _dereq_('./plot_api/plot_schema');
|
|
116033
116339
|
|
|
116034
|
-
},{"../build/plotcss":1,"./components/annotations":225,"./components/annotations3d":230,"./components/colorbar":240,"./components/colorscale":246,"./components/errorbars":262,"./components/fx":274,"./components/grid":278,"./components/images":283,"./components/legend":291,"./components/modebar":297,"./components/rangeselector":305,"./components/rangeslider":312,"./components/shapes":326,"./components/sliders":331,"./components/updatemenus":337,"./fonts/ploticon":350,"./locale-en":401,"./locale-en-us":400,"./plot_api":405,"./plot_api/plot_schema":409,"./plots/plots":486,"./registry":501,"./snapshot":506,"./traces/scatter":
|
|
116340
|
+
},{"../build/plotcss":1,"./components/annotations":225,"./components/annotations3d":230,"./components/colorbar":240,"./components/colorscale":246,"./components/errorbars":262,"./components/fx":274,"./components/grid":278,"./components/images":283,"./components/legend":291,"./components/modebar":297,"./components/rangeselector":305,"./components/rangeslider":312,"./components/shapes":326,"./components/sliders":331,"./components/updatemenus":337,"./fonts/ploticon":350,"./locale-en":401,"./locale-en-us":400,"./plot_api":405,"./plot_api/plot_schema":409,"./plots/plots":486,"./registry":501,"./snapshot":506,"./traces/scatter":790,"./version":933,"native-promise-only":144}],350:[function(_dereq_,module,exports){
|
|
116035
116341
|
'use strict';
|
|
116036
116342
|
|
|
116037
116343
|
module.exports = {
|
|
@@ -126391,7 +126697,7 @@ function cleanDeprecatedAttributeKeys(aobj) {
|
|
|
126391
126697
|
if((key === 'title' || oldAxisTitleRegex.test(key) || colorbarRegex.test(key)) &&
|
|
126392
126698
|
(typeof value === 'string' || typeof value === 'number')) {
|
|
126393
126699
|
replace(key, key.replace('title', 'title.text'));
|
|
126394
|
-
} else if(key.indexOf('titlefont') > -1) {
|
|
126700
|
+
} else if(key.indexOf('titlefont') > -1 && key.indexOf('grouptitlefont') === -1) {
|
|
126395
126701
|
replace(key, key.replace('titlefont', 'title.font'));
|
|
126396
126702
|
} else if(key.indexOf('titleposition') > -1) {
|
|
126397
126703
|
replace(key, key.replace('titleposition', 'title.position'));
|
|
@@ -131116,7 +131422,7 @@ function toImage(gd, opts) {
|
|
|
131116
131422
|
|
|
131117
131423
|
module.exports = toImage;
|
|
131118
131424
|
|
|
131119
|
-
},{"../lib":371,"../plots/plots":486,"../snapshot/helpers":505,"../snapshot/svgtoimg":507,"../snapshot/tosvg":509,"../version":
|
|
131425
|
+
},{"../lib":371,"../plots/plots":486,"../snapshot/helpers":505,"../snapshot/svgtoimg":507,"../snapshot/tosvg":509,"../version":933,"./plot_api":407,"fast-isnumeric":99}],414:[function(_dereq_,module,exports){
|
|
131120
131426
|
'use strict';
|
|
131121
131427
|
|
|
131122
131428
|
var Lib = _dereq_('../lib');
|
|
@@ -144259,6 +144565,9 @@ module.exports = function(opts) {
|
|
|
144259
144565
|
// TODO - that's uber hacky... better solution?
|
|
144260
144566
|
};
|
|
144261
144567
|
|
|
144568
|
+
if(opts.autoSize) attrs.size.dflt = 'auto';
|
|
144569
|
+
if(opts.autoColor) attrs.color.dflt = 'auto';
|
|
144570
|
+
|
|
144262
144571
|
if(opts.arrayOk) {
|
|
144263
144572
|
attrs.family.arrayOk = true;
|
|
144264
144573
|
attrs.size.arrayOk = true;
|
|
@@ -147858,7 +148167,7 @@ proto.hoverFormatter = function(axisName, val) {
|
|
|
147858
148167
|
return Axes.tickText(axis, axis.c2l(val), 'hover').text;
|
|
147859
148168
|
};
|
|
147860
148169
|
|
|
147861
|
-
},{"../../../stackgl_modules":
|
|
148170
|
+
},{"../../../stackgl_modules":934,"../../components/dragelement/helpers":252,"../../components/fx":274,"../../lib/show_no_webgl_msg":392,"../../plots/cartesian/axes":421,"../../registry":501,"../cartesian/autorange":420,"../cartesian/constants":428,"../cartesian/constraints":429,"./camera":461,"./convert":462,"webgl-context":199}],465:[function(_dereq_,module,exports){
|
|
147862
148171
|
'use strict';
|
|
147863
148172
|
|
|
147864
148173
|
var overrideAll = _dereq_('../../plot_api/edit_types').overrideAll;
|
|
@@ -149905,7 +150214,7 @@ proto.make4thDimension = function() {
|
|
|
149905
150214
|
|
|
149906
150215
|
module.exports = Scene;
|
|
149907
150216
|
|
|
149908
|
-
},{"../../../stackgl_modules":
|
|
150217
|
+
},{"../../../stackgl_modules":934,"../../components/fx":274,"../../lib":371,"../../lib/show_no_webgl_msg":392,"../../lib/str2rgbarray":395,"../../plots/cartesian/axes":421,"../../registry":501,"./layout/convert":469,"./layout/spikes":472,"./layout/tick_marks":473,"./project":474,"has-passive-events":132,"webgl-context":199}],476:[function(_dereq_,module,exports){
|
|
149909
150218
|
'use strict';
|
|
149910
150219
|
|
|
149911
150220
|
module.exports = function zip3(x, y, z, len) {
|
|
@@ -150096,6 +150405,7 @@ module.exports = {
|
|
|
150096
150405
|
valType: 'boolean',
|
|
150097
150406
|
editType: 'legend',
|
|
150098
150407
|
},
|
|
150408
|
+
|
|
150099
150409
|
colorway: {
|
|
150100
150410
|
valType: 'colorlist',
|
|
150101
150411
|
dflt: colorAttrs.defaults,
|
|
@@ -151209,7 +151519,7 @@ attrs.uirevision = {
|
|
|
151209
151519
|
editType: 'none',
|
|
151210
151520
|
};
|
|
151211
151521
|
|
|
151212
|
-
},{"../../components/color":234,"../../lib":371,"../../plot_api/edit_types":403,"../../plot_api/plot_template":410,"../../traces/scatter/attributes":
|
|
151522
|
+
},{"../../components/color":234,"../../lib":371,"../../plot_api/edit_types":403,"../../plot_api/plot_template":410,"../../traces/scatter/attributes":778,"../domain":451,"../font_attributes":452,"./constants":478}],483:[function(_dereq_,module,exports){
|
|
151213
151523
|
'use strict';
|
|
151214
151524
|
|
|
151215
151525
|
var Lib = _dereq_('../../lib');
|
|
@@ -153478,13 +153788,7 @@ plots.supplyTraceDefaults = function(traceIn, traceOut, colorIndex, layout, trac
|
|
|
153478
153788
|
);
|
|
153479
153789
|
|
|
153480
153790
|
coerce('legendgroup');
|
|
153481
|
-
|
|
153482
|
-
if(titleText) {
|
|
153483
|
-
Lib.coerceFont(coerce, 'legendgrouptitle.font', Lib.extendFlat({}, layout.font, {
|
|
153484
|
-
size: Math.round(layout.font.size * 1.1) // default to larger font size
|
|
153485
|
-
}));
|
|
153486
|
-
}
|
|
153487
|
-
|
|
153791
|
+
coerce('legendgrouptitle.text');
|
|
153488
153792
|
coerce('legendrank');
|
|
153489
153793
|
|
|
153490
153794
|
traceOut._dfltShowLegend = true;
|
|
@@ -153632,16 +153936,14 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut, formatObj) {
|
|
|
153632
153936
|
|
|
153633
153937
|
coerce('autotypenumbers');
|
|
153634
153938
|
|
|
153635
|
-
var
|
|
153636
|
-
|
|
153637
|
-
coerce('title.text', layoutOut._dfltTitle.plot);
|
|
153939
|
+
var font = Lib.coerceFont(coerce, 'font');
|
|
153940
|
+
var fontSize = font.size;
|
|
153638
153941
|
|
|
153639
|
-
Lib.coerceFont(coerce, 'title.font', {
|
|
153640
|
-
|
|
153641
|
-
|
|
153642
|
-
color: globalFont.color
|
|
153643
|
-
});
|
|
153942
|
+
Lib.coerceFont(coerce, 'title.font', Lib.extendFlat({}, font, {
|
|
153943
|
+
size: Math.round(fontSize * 1.4)
|
|
153944
|
+
}));
|
|
153644
153945
|
|
|
153946
|
+
coerce('title.text', layoutOut._dfltTitle.plot);
|
|
153645
153947
|
coerce('title.xref');
|
|
153646
153948
|
coerce('title.yref');
|
|
153647
153949
|
coerce('title.x');
|
|
@@ -160947,7 +161249,7 @@ module.exports = {
|
|
|
160947
161249
|
}
|
|
160948
161250
|
};
|
|
160949
161251
|
|
|
160950
|
-
},{"../../components/colorscale/attributes":241,"../../components/drawing/attributes":255,"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../../plots/font_attributes":452,"../../plots/template_attributes":496,"../scatter/attributes":
|
|
161252
|
+
},{"../../components/colorscale/attributes":241,"../../components/drawing/attributes":255,"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../../plots/font_attributes":452,"../../plots/template_attributes":496,"../scatter/attributes":778,"./constants":513}],512:[function(_dereq_,module,exports){
|
|
160951
161253
|
'use strict';
|
|
160952
161254
|
|
|
160953
161255
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -161022,7 +161324,7 @@ module.exports = function calc(gd, trace) {
|
|
|
161022
161324
|
return cd;
|
|
161023
161325
|
};
|
|
161024
161326
|
|
|
161025
|
-
},{"../../components/colorscale/calc":242,"../../components/colorscale/helpers":245,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421,"../scatter/calc_selection":
|
|
161327
|
+
},{"../../components/colorscale/calc":242,"../../components/colorscale/helpers":245,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421,"../scatter/calc_selection":780,"./arrays_to_calcdata":510}],513:[function(_dereq_,module,exports){
|
|
161026
161328
|
'use strict';
|
|
161027
161329
|
|
|
161028
161330
|
module.exports = {
|
|
@@ -161989,7 +162291,7 @@ module.exports = {
|
|
|
161989
162291
|
handleText: handleText
|
|
161990
162292
|
};
|
|
161991
162293
|
|
|
161992
|
-
},{"../../components/color":234,"../../lib":371,"../../plots/cartesian/constraints":429,"../../registry":501,"../scatter/period_defaults":
|
|
162294
|
+
},{"../../components/color":234,"../../lib":371,"../../plots/cartesian/constraints":429,"../../registry":501,"../scatter/period_defaults":798,"../scatter/xy_defaults":805,"./attributes":511,"./style_defaults":526}],516:[function(_dereq_,module,exports){
|
|
161993
162295
|
'use strict';
|
|
161994
162296
|
|
|
161995
162297
|
module.exports = function eventData(out, pt, trace) {
|
|
@@ -162334,7 +162636,7 @@ module.exports = {
|
|
|
162334
162636
|
}
|
|
162335
162637
|
};
|
|
162336
162638
|
|
|
162337
|
-
},{"../../plots/cartesian":435,"../scatter/marker_colorbar":
|
|
162639
|
+
},{"../../plots/cartesian":435,"../scatter/marker_colorbar":796,"./arrays_to_calcdata":510,"./attributes":511,"./calc":512,"./cross_trace_calc":514,"./defaults":515,"./event_data":516,"./hover":518,"./layout_attributes":520,"./layout_defaults":521,"./plot":522,"./select":523,"./style":525}],520:[function(_dereq_,module,exports){
|
|
162338
162640
|
'use strict';
|
|
162339
162641
|
|
|
162340
162642
|
|
|
@@ -163700,7 +164002,7 @@ module.exports = {
|
|
|
163700
164002
|
// error_y
|
|
163701
164003
|
};
|
|
163702
164004
|
|
|
163703
|
-
},{"../../lib/extend":361,"../../plots/template_attributes":496,"../bar/attributes":511,"../scatterpolar/attributes":
|
|
164005
|
+
},{"../../lib/extend":361,"../../plots/template_attributes":496,"../bar/attributes":511,"../scatterpolar/attributes":839}],529:[function(_dereq_,module,exports){
|
|
163704
164006
|
'use strict';
|
|
163705
164007
|
|
|
163706
164008
|
var hasColorscale = _dereq_('../../components/colorscale/helpers').hasColorscale;
|
|
@@ -163804,7 +164106,7 @@ module.exports = {
|
|
|
163804
164106
|
crossTraceCalc: crossTraceCalc
|
|
163805
164107
|
};
|
|
163806
164108
|
|
|
163807
|
-
},{"../../components/colorscale/calc":242,"../../components/colorscale/helpers":245,"../../lib":371,"../../registry":501,"../bar/arrays_to_calcdata":510,"../bar/cross_trace_calc":514,"../scatter/calc_selection":
|
|
164109
|
+
},{"../../components/colorscale/calc":242,"../../components/colorscale/helpers":245,"../../lib":371,"../../registry":501,"../bar/arrays_to_calcdata":510,"../bar/cross_trace_calc":514,"../scatter/calc_selection":780}],530:[function(_dereq_,module,exports){
|
|
163808
164110
|
'use strict';
|
|
163809
164111
|
|
|
163810
164112
|
var Lib = _dereq_('../../lib');
|
|
@@ -163855,7 +164157,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
163855
164157
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
163856
164158
|
};
|
|
163857
164159
|
|
|
163858
|
-
},{"../../lib":371,"../bar/style_defaults":526,"../scatterpolar/defaults":
|
|
164160
|
+
},{"../../lib":371,"../bar/style_defaults":526,"../scatterpolar/defaults":841,"./attributes":528}],531:[function(_dereq_,module,exports){
|
|
163859
164161
|
'use strict';
|
|
163860
164162
|
|
|
163861
164163
|
var Fx = _dereq_('../../components/fx');
|
|
@@ -163922,7 +164224,7 @@ module.exports = function hoverPoints(pointData, xval, yval) {
|
|
|
163922
164224
|
return [pointData];
|
|
163923
164225
|
};
|
|
163924
164226
|
|
|
163925
|
-
},{"../../components/fx":274,"../../lib":371,"../../plots/polar/helpers":488,"../bar/hover":518,"../scatterpolar/hover":
|
|
164227
|
+
},{"../../components/fx":274,"../../lib":371,"../../plots/polar/helpers":488,"../bar/hover":518,"../scatterpolar/hover":843}],532:[function(_dereq_,module,exports){
|
|
163926
164228
|
'use strict';
|
|
163927
164229
|
|
|
163928
164230
|
module.exports = {
|
|
@@ -163953,7 +164255,7 @@ module.exports = {
|
|
|
163953
164255
|
}
|
|
163954
164256
|
};
|
|
163955
164257
|
|
|
163956
|
-
},{"../../plots/polar":489,"../bar/select":523,"../bar/style":525,"../scatter/marker_colorbar":
|
|
164258
|
+
},{"../../plots/polar":489,"../bar/select":523,"../bar/style":525,"../scatter/marker_colorbar":796,"../scatterpolar/format_labels":842,"./attributes":528,"./calc":529,"./defaults":530,"./hover":531,"./layout_attributes":533,"./layout_defaults":534,"./plot":535}],533:[function(_dereq_,module,exports){
|
|
163957
164259
|
'use strict';
|
|
163958
164260
|
|
|
163959
164261
|
module.exports = {
|
|
@@ -164334,7 +164636,7 @@ module.exports = {
|
|
|
164334
164636
|
}
|
|
164335
164637
|
};
|
|
164336
164638
|
|
|
164337
|
-
},{"../../components/color/attributes":233,"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../bar/attributes":511,"../scatter/attributes":
|
|
164639
|
+
},{"../../components/color/attributes":233,"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../bar/attributes":511,"../scatter/attributes":778}],537:[function(_dereq_,module,exports){
|
|
164338
164640
|
'use strict';
|
|
164339
164641
|
|
|
164340
164642
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -165315,7 +165617,7 @@ module.exports = {
|
|
|
165315
165617
|
handlePointsDefaults: handlePointsDefaults
|
|
165316
165618
|
};
|
|
165317
165619
|
|
|
165318
|
-
},{"../../components/color":234,"../../lib":371,"../../plots/cartesian/axis_autotype":422,"../../registry":501,"../bar/defaults":515,"../scatter/period_defaults":
|
|
165620
|
+
},{"../../components/color":234,"../../lib":371,"../../plots/cartesian/axis_autotype":422,"../../registry":501,"../bar/defaults":515,"../scatter/period_defaults":798,"./attributes":536}],540:[function(_dereq_,module,exports){
|
|
165319
165621
|
'use strict';
|
|
165320
165622
|
|
|
165321
165623
|
module.exports = function eventData(out, pt) {
|
|
@@ -166203,7 +166505,7 @@ module.exports = {
|
|
|
166203
166505
|
hoverlabel: OHLCattrs.hoverlabel,
|
|
166204
166506
|
};
|
|
166205
166507
|
|
|
166206
|
-
},{"../../lib":371,"../../plots/cartesian/axis_format_attributes":424,"../box/attributes":536,"../ohlc/attributes":
|
|
166508
|
+
},{"../../lib":371,"../../plots/cartesian/axis_format_attributes":424,"../box/attributes":536,"../ohlc/attributes":735}],549:[function(_dereq_,module,exports){
|
|
166207
166509
|
'use strict';
|
|
166208
166510
|
|
|
166209
166511
|
var Lib = _dereq_('../../lib');
|
|
@@ -166247,7 +166549,7 @@ function ptFunc(o, h, l, c) {
|
|
|
166247
166549
|
};
|
|
166248
166550
|
}
|
|
166249
166551
|
|
|
166250
|
-
},{"../../lib":371,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421,"../ohlc/calc":
|
|
166552
|
+
},{"../../lib":371,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421,"../ohlc/calc":736}],550:[function(_dereq_,module,exports){
|
|
166251
166553
|
'use strict';
|
|
166252
166554
|
|
|
166253
166555
|
var Lib = _dereq_('../../lib');
|
|
@@ -166289,7 +166591,7 @@ function handleDirection(traceIn, traceOut, coerce, direction) {
|
|
|
166289
166591
|
coerce(direction + '.fillcolor', Color.addOpacity(lineColor, 0.5));
|
|
166290
166592
|
}
|
|
166291
166593
|
|
|
166292
|
-
},{"../../components/color":234,"../../lib":371,"../ohlc/ohlc_defaults":
|
|
166594
|
+
},{"../../components/color":234,"../../lib":371,"../ohlc/ohlc_defaults":740,"../scatter/period_defaults":798,"./attributes":548}],551:[function(_dereq_,module,exports){
|
|
166293
166595
|
'use strict';
|
|
166294
166596
|
|
|
166295
166597
|
module.exports = {
|
|
@@ -166313,7 +166615,7 @@ module.exports = {
|
|
|
166313
166615
|
selectPoints: _dereq_('../ohlc/select')
|
|
166314
166616
|
};
|
|
166315
166617
|
|
|
166316
|
-
},{"../../plots/cartesian":435,"../box/cross_trace_calc":538,"../box/layout_attributes":543,"../box/layout_defaults":544,"../box/plot":545,"../box/style":547,"../ohlc/hover":
|
|
166618
|
+
},{"../../plots/cartesian":435,"../box/cross_trace_calc":538,"../box/layout_attributes":543,"../box/layout_defaults":544,"../box/plot":545,"../box/style":547,"../ohlc/hover":738,"../ohlc/select":742,"./attributes":548,"./calc":549,"./defaults":550}],552:[function(_dereq_,module,exports){
|
|
166317
166619
|
'use strict';
|
|
166318
166620
|
|
|
166319
166621
|
var handleAxisDefaults = _dereq_('./axis_defaults');
|
|
@@ -169513,7 +169815,7 @@ module.exports = extendFlat({
|
|
|
169513
169815
|
})
|
|
169514
169816
|
);
|
|
169515
169817
|
|
|
169516
|
-
},{"../../components/color/attributes":233,"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/template_attributes":496,"../scattergeo/attributes":
|
|
169818
|
+
},{"../../components/color/attributes":233,"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/template_attributes":496,"../scattergeo/attributes":820}],580:[function(_dereq_,module,exports){
|
|
169517
169819
|
'use strict';
|
|
169518
169820
|
|
|
169519
169821
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -169566,7 +169868,7 @@ module.exports = function calc(gd, trace) {
|
|
|
169566
169868
|
return calcTrace;
|
|
169567
169869
|
};
|
|
169568
169870
|
|
|
169569
|
-
},{"../../components/colorscale/calc":242,"../../constants/numerical":347,"../scatter/arrays_to_calcdata":
|
|
169871
|
+
},{"../../components/colorscale/calc":242,"../../constants/numerical":347,"../scatter/arrays_to_calcdata":777,"../scatter/calc_selection":780,"fast-isnumeric":99}],581:[function(_dereq_,module,exports){
|
|
169570
169872
|
'use strict';
|
|
169571
169873
|
|
|
169572
169874
|
var Lib = _dereq_('../../lib');
|
|
@@ -170506,7 +170808,7 @@ attrs.transforms = undefined;
|
|
|
170506
170808
|
|
|
170507
170809
|
module.exports = attrs;
|
|
170508
170810
|
|
|
170509
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../mesh3d/attributes":
|
|
170811
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../mesh3d/attributes":730}],594:[function(_dereq_,module,exports){
|
|
170510
170812
|
'use strict';
|
|
170511
170813
|
|
|
170512
170814
|
var colorscaleCalc = _dereq_('../../components/colorscale/calc');
|
|
@@ -170681,7 +170983,7 @@ function createConeTrace(scene, data) {
|
|
|
170681
170983
|
|
|
170682
170984
|
module.exports = createConeTrace;
|
|
170683
170985
|
|
|
170684
|
-
},{"../../../stackgl_modules":
|
|
170986
|
+
},{"../../../stackgl_modules":934,"../../components/colorscale":246,"../../lib":371,"../../lib/gl_format_color":367,"../../plots/gl3d/zip3":476}],596:[function(_dereq_,module,exports){
|
|
170685
170987
|
'use strict';
|
|
170686
170988
|
|
|
170687
170989
|
var Lib = _dereq_('../../lib');
|
|
@@ -170811,6 +171113,10 @@ module.exports = extendFlat({
|
|
|
170811
171113
|
yhoverformat: axisHoverFormat('y'),
|
|
170812
171114
|
zhoverformat: axisHoverFormat('z', 1),
|
|
170813
171115
|
hovertemplate: heatmapAttrs.hovertemplate,
|
|
171116
|
+
texttemplate: extendFlat({}, heatmapAttrs.texttemplate, {
|
|
171117
|
+
}),
|
|
171118
|
+
textfont: extendFlat({}, heatmapAttrs.textfont, {
|
|
171119
|
+
}),
|
|
170814
171120
|
hoverongaps: heatmapAttrs.hoverongaps,
|
|
170815
171121
|
connectgaps: extendFlat({}, heatmapAttrs.connectgaps, {
|
|
170816
171122
|
}),
|
|
@@ -170926,7 +171232,7 @@ module.exports = extendFlat({
|
|
|
170926
171232
|
})
|
|
170927
171233
|
);
|
|
170928
171234
|
|
|
170929
|
-
},{"../../components/colorscale/attributes":241,"../../components/drawing/attributes":255,"../../constants/filter_ops":343,"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../../plots/font_attributes":452,"../heatmap/attributes":655,"../scatter/attributes":
|
|
171235
|
+
},{"../../components/colorscale/attributes":241,"../../components/drawing/attributes":255,"../../constants/filter_ops":343,"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../../plots/font_attributes":452,"../heatmap/attributes":655,"../scatter/attributes":778}],599:[function(_dereq_,module,exports){
|
|
170930
171236
|
'use strict';
|
|
170931
171237
|
|
|
170932
171238
|
var Colorscale = _dereq_('../../components/colorscale');
|
|
@@ -171445,6 +171751,7 @@ var handlePeriodDefaults = _dereq_('../scatter/period_defaults');
|
|
|
171445
171751
|
var handleConstraintDefaults = _dereq_('./constraint_defaults');
|
|
171446
171752
|
var handleContoursDefaults = _dereq_('./contours_defaults');
|
|
171447
171753
|
var handleStyleDefaults = _dereq_('./style_defaults');
|
|
171754
|
+
var handleHeatmapLabelDefaults = _dereq_('../heatmap/label_defaults');
|
|
171448
171755
|
var attributes = _dereq_('./attributes');
|
|
171449
171756
|
|
|
171450
171757
|
|
|
@@ -171469,8 +171776,8 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
171469
171776
|
|
|
171470
171777
|
coerce('text');
|
|
171471
171778
|
coerce('hovertext');
|
|
171472
|
-
coerce('hovertemplate');
|
|
171473
171779
|
coerce('hoverongaps');
|
|
171780
|
+
coerce('hovertemplate');
|
|
171474
171781
|
|
|
171475
171782
|
var isConstraint = (coerce('contours.type') === 'constraint');
|
|
171476
171783
|
coerce('connectgaps', Lib.isArray1D(traceOut.z));
|
|
@@ -171481,9 +171788,16 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
171481
171788
|
handleContoursDefaults(traceIn, traceOut, coerce, coerce2);
|
|
171482
171789
|
handleStyleDefaults(traceIn, traceOut, coerce, layout);
|
|
171483
171790
|
}
|
|
171791
|
+
|
|
171792
|
+
if(
|
|
171793
|
+
traceOut.contours &&
|
|
171794
|
+
traceOut.contours.coloring === 'heatmap'
|
|
171795
|
+
) {
|
|
171796
|
+
handleHeatmapLabelDefaults(coerce, layout);
|
|
171797
|
+
}
|
|
171484
171798
|
};
|
|
171485
171799
|
|
|
171486
|
-
},{"../../lib":371,"../heatmap/xyz_defaults":
|
|
171800
|
+
},{"../../lib":371,"../heatmap/label_defaults":665,"../heatmap/xyz_defaults":670,"../scatter/period_defaults":798,"./attributes":598,"./constraint_defaults":603,"./contours_defaults":605,"./style_defaults":619}],608:[function(_dereq_,module,exports){
|
|
171487
171801
|
'use strict';
|
|
171488
171802
|
|
|
171489
171803
|
var Lib = _dereq_('../../lib');
|
|
@@ -172757,7 +173071,7 @@ function makeClipMask(cd0) {
|
|
|
172757
173071
|
return z;
|
|
172758
173072
|
}
|
|
172759
173073
|
|
|
172760
|
-
},{"../../components/colorscale":246,"../../components/drawing":256,"../../lib":371,"../../lib/svg_text_utils":396,"../../plots/cartesian/axes":421,"../../plots/cartesian/set_convert":443,"../heatmap/plot":
|
|
173074
|
+
},{"../../components/colorscale":246,"../../components/drawing":256,"../../lib":371,"../../lib/svg_text_utils":396,"../../plots/cartesian/axes":421,"../../plots/cartesian/set_convert":443,"../heatmap/plot":667,"./close_boundaries":600,"./constants":602,"./convert_to_constraints":606,"./empty_pathinfo":608,"./find_all_paths":610,"./make_crossings":615,"@plotly/d3":53}],617:[function(_dereq_,module,exports){
|
|
172761
173075
|
'use strict';
|
|
172762
173076
|
|
|
172763
173077
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -172925,7 +173239,7 @@ module.exports = function style(gd) {
|
|
|
172925
173239
|
heatmapStyle(gd);
|
|
172926
173240
|
};
|
|
172927
173241
|
|
|
172928
|
-
},{"../../components/drawing":256,"../heatmap/style":
|
|
173242
|
+
},{"../../components/drawing":256,"../heatmap/style":668,"./make_color_map":614,"@plotly/d3":53}],619:[function(_dereq_,module,exports){
|
|
172929
173243
|
'use strict';
|
|
172930
173244
|
|
|
172931
173245
|
var colorscaleDefaults = _dereq_('../../components/colorscale/defaults');
|
|
@@ -173138,7 +173452,7 @@ function heatmappishCalc(gd, trace) {
|
|
|
173138
173452
|
return [cd0];
|
|
173139
173453
|
}
|
|
173140
173454
|
|
|
173141
|
-
},{"../../components/colorscale/calc":242,"../../lib":371,"../carpet/lookup_carpetid":571,"../contour/set_contours":617,"../heatmap/clean_2d_array":657,"../heatmap/convert_column_xyz":659,"../heatmap/find_empties":661,"../heatmap/interp2d":664,"../heatmap/make_bound_array":
|
|
173455
|
+
},{"../../components/colorscale/calc":242,"../../lib":371,"../carpet/lookup_carpetid":571,"../contour/set_contours":617,"../heatmap/clean_2d_array":657,"../heatmap/convert_column_xyz":659,"../heatmap/find_empties":661,"../heatmap/interp2d":664,"../heatmap/make_bound_array":666,"./defaults":622}],622:[function(_dereq_,module,exports){
|
|
173142
173456
|
'use strict';
|
|
173143
173457
|
|
|
173144
173458
|
var Lib = _dereq_('../../lib');
|
|
@@ -173198,7 +173512,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
173198
173512
|
}
|
|
173199
173513
|
};
|
|
173200
173514
|
|
|
173201
|
-
},{"../../lib":371,"../contour/constraint_defaults":603,"../contour/contours_defaults":605,"../contour/style_defaults":619,"../heatmap/xyz_defaults":
|
|
173515
|
+
},{"../../lib":371,"../contour/constraint_defaults":603,"../contour/contours_defaults":605,"../contour/style_defaults":619,"../heatmap/xyz_defaults":670,"./attributes":620}],623:[function(_dereq_,module,exports){
|
|
173202
173516
|
'use strict';
|
|
173203
173517
|
|
|
173204
173518
|
module.exports = {
|
|
@@ -173759,7 +174073,7 @@ module.exports = extendFlat({
|
|
|
173759
174073
|
})
|
|
173760
174074
|
);
|
|
173761
174075
|
|
|
173762
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/template_attributes":496,"../scattermapbox/attributes":
|
|
174076
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/template_attributes":496,"../scattermapbox/attributes":830}],626:[function(_dereq_,module,exports){
|
|
173763
174077
|
'use strict';
|
|
173764
174078
|
|
|
173765
174079
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -173992,7 +174306,7 @@ module.exports = function hoverPoints(pointData, xval, yval) {
|
|
|
173992
174306
|
return [newPointData];
|
|
173993
174307
|
};
|
|
173994
174308
|
|
|
173995
|
-
},{"../../plots/cartesian/axes":421,"../scattermapbox/hover":
|
|
174309
|
+
},{"../../plots/cartesian/axes":421,"../scattermapbox/hover":835}],631:[function(_dereq_,module,exports){
|
|
173996
174310
|
'use strict';
|
|
173997
174311
|
|
|
173998
174312
|
module.exports = {
|
|
@@ -174030,7 +174344,7 @@ module.exports = {
|
|
|
174030
174344
|
}
|
|
174031
174345
|
};
|
|
174032
174346
|
|
|
174033
|
-
},{"../../plots/mapbox":480,"../heatmap/colorbar":658,"../scattermapbox/format_labels":
|
|
174347
|
+
},{"../../plots/mapbox":480,"../heatmap/colorbar":658,"../scattermapbox/format_labels":834,"./attributes":625,"./calc":626,"./defaults":628,"./event_data":629,"./hover":630,"./plot":632}],632:[function(_dereq_,module,exports){
|
|
174034
174348
|
'use strict';
|
|
174035
174349
|
|
|
174036
174350
|
var convert = _dereq_('./convert');
|
|
@@ -174262,7 +174576,7 @@ function funnelMarker() {
|
|
|
174262
174576
|
return marker;
|
|
174263
174577
|
}
|
|
174264
174578
|
|
|
174265
|
-
},{"../../components/color":234,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../bar/attributes":511,"../scatter/attributes":
|
|
174579
|
+
},{"../../components/color":234,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../bar/attributes":511,"../scatter/attributes":778,"./constants":636}],635:[function(_dereq_,module,exports){
|
|
174266
174580
|
'use strict';
|
|
174267
174581
|
|
|
174268
174582
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -174362,7 +174676,7 @@ function fixNum(a) {
|
|
|
174362
174676
|
return (a === BADNUM) ? 0 : a;
|
|
174363
174677
|
}
|
|
174364
174678
|
|
|
174365
|
-
},{"../../constants/numerical":347,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421,"../scatter/calc_selection":
|
|
174679
|
+
},{"../../constants/numerical":347,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421,"../scatter/calc_selection":780,"./arrays_to_calcdata":633}],636:[function(_dereq_,module,exports){
|
|
174366
174680
|
'use strict';
|
|
174367
174681
|
|
|
174368
174682
|
module.exports = {
|
|
@@ -174530,7 +174844,7 @@ module.exports = {
|
|
|
174530
174844
|
crossTraceDefaults: crossTraceDefaults
|
|
174531
174845
|
};
|
|
174532
174846
|
|
|
174533
|
-
},{"../../components/color":234,"../../lib":371,"../bar/defaults":515,"../scatter/period_defaults":
|
|
174847
|
+
},{"../../components/color":234,"../../lib":371,"../bar/defaults":515,"../scatter/period_defaults":798,"../scatter/xy_defaults":805,"./attributes":634}],639:[function(_dereq_,module,exports){
|
|
174534
174848
|
'use strict';
|
|
174535
174849
|
|
|
174536
174850
|
module.exports = function eventData(out, pt /* , trace, cd, pointNumber */) {
|
|
@@ -175000,7 +175314,7 @@ module.exports = {
|
|
|
175000
175314
|
}
|
|
175001
175315
|
};
|
|
175002
175316
|
|
|
175003
|
-
},{"../../lib/extend":361,"../../plots/attributes":417,"../../plots/domain":451,"../../plots/template_attributes":496,"../pie/attributes":
|
|
175317
|
+
},{"../../lib/extend":361,"../../plots/attributes":417,"../../plots/domain":451,"../../plots/template_attributes":496,"../pie/attributes":752}],647:[function(_dereq_,module,exports){
|
|
175004
175318
|
'use strict';
|
|
175005
175319
|
|
|
175006
175320
|
var plots = _dereq_('../../plots/plots');
|
|
@@ -175033,7 +175347,7 @@ module.exports = {
|
|
|
175033
175347
|
crossTraceCalc: crossTraceCalc
|
|
175034
175348
|
};
|
|
175035
175349
|
|
|
175036
|
-
},{"../pie/calc":
|
|
175350
|
+
},{"../pie/calc":754}],649:[function(_dereq_,module,exports){
|
|
175037
175351
|
'use strict';
|
|
175038
175352
|
|
|
175039
175353
|
var Lib = _dereq_('../../lib');
|
|
@@ -175107,7 +175421,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
175107
175421
|
coerce('baseratio');
|
|
175108
175422
|
};
|
|
175109
175423
|
|
|
175110
|
-
},{"../../lib":371,"../../plots/domain":451,"../bar/defaults":515,"../pie/defaults":
|
|
175424
|
+
},{"../../lib":371,"../../plots/domain":451,"../bar/defaults":515,"../pie/defaults":755,"./attributes":646}],650:[function(_dereq_,module,exports){
|
|
175111
175425
|
'use strict';
|
|
175112
175426
|
|
|
175113
175427
|
module.exports = {
|
|
@@ -175132,7 +175446,7 @@ module.exports = {
|
|
|
175132
175446
|
}
|
|
175133
175447
|
};
|
|
175134
175448
|
|
|
175135
|
-
},{"../pie/style_one":
|
|
175449
|
+
},{"../pie/style_one":763,"./attributes":646,"./base_plot":647,"./calc":648,"./defaults":649,"./layout_attributes":651,"./layout_defaults":652,"./plot":653,"./style":654}],651:[function(_dereq_,module,exports){
|
|
175136
175450
|
'use strict';
|
|
175137
175451
|
|
|
175138
175452
|
var hiddenlabels = _dereq_('../pie/layout_attributes').hiddenlabels;
|
|
@@ -175151,7 +175465,7 @@ module.exports = {
|
|
|
175151
175465
|
}
|
|
175152
175466
|
};
|
|
175153
175467
|
|
|
175154
|
-
},{"../pie/layout_attributes":
|
|
175468
|
+
},{"../pie/layout_attributes":759}],652:[function(_dereq_,module,exports){
|
|
175155
175469
|
'use strict';
|
|
175156
175470
|
|
|
175157
175471
|
var Lib = _dereq_('../../lib');
|
|
@@ -175458,7 +175772,7 @@ function setCoords(cd) {
|
|
|
175458
175772
|
}
|
|
175459
175773
|
}
|
|
175460
175774
|
|
|
175461
|
-
},{"../../components/drawing":256,"../../lib":371,"../../lib/svg_text_utils":396,"../bar/plot":522,"../bar/uniform_text":527,"../pie/helpers":
|
|
175775
|
+
},{"../../components/drawing":256,"../../lib":371,"../../lib/svg_text_utils":396,"../bar/plot":522,"../bar/uniform_text":527,"../pie/helpers":757,"../pie/plot":761,"@plotly/d3":53}],654:[function(_dereq_,module,exports){
|
|
175462
175776
|
'use strict';
|
|
175463
175777
|
|
|
175464
175778
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -175483,13 +175797,15 @@ module.exports = function style(gd) {
|
|
|
175483
175797
|
});
|
|
175484
175798
|
};
|
|
175485
175799
|
|
|
175486
|
-
},{"../bar/uniform_text":527,"../pie/style_one":
|
|
175800
|
+
},{"../bar/uniform_text":527,"../pie/style_one":763,"@plotly/d3":53}],655:[function(_dereq_,module,exports){
|
|
175487
175801
|
'use strict';
|
|
175488
175802
|
|
|
175489
175803
|
var scatterAttrs = _dereq_('../scatter/attributes');
|
|
175490
175804
|
var baseAttrs = _dereq_('../../plots/attributes');
|
|
175805
|
+
var fontAttrs = _dereq_('../../plots/font_attributes');
|
|
175491
175806
|
var axisHoverFormat = _dereq_('../../plots/cartesian/axis_format_attributes').axisHoverFormat;
|
|
175492
175807
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
175808
|
+
var texttemplateAttrs = _dereq_('../../plots/template_attributes').texttemplateAttrs;
|
|
175493
175809
|
var colorScaleAttrs = _dereq_('../../components/colorscale/attributes');
|
|
175494
175810
|
|
|
175495
175811
|
var extendFlat = _dereq_('../../lib/extend').extendFlat;
|
|
@@ -175568,6 +175884,19 @@ module.exports = extendFlat({
|
|
|
175568
175884
|
zhoverformat: axisHoverFormat('z', 1),
|
|
175569
175885
|
|
|
175570
175886
|
hovertemplate: hovertemplateAttrs(),
|
|
175887
|
+
texttemplate: texttemplateAttrs({
|
|
175888
|
+
arrayOk: false,
|
|
175889
|
+
editType: 'plot'
|
|
175890
|
+
}, {
|
|
175891
|
+
keys: ['x', 'y', 'z', 'text']
|
|
175892
|
+
}),
|
|
175893
|
+
textfont: fontAttrs({
|
|
175894
|
+
editType: 'plot',
|
|
175895
|
+
autoSize: true,
|
|
175896
|
+
autoColor: true,
|
|
175897
|
+
colorEditType: 'style',
|
|
175898
|
+
}),
|
|
175899
|
+
|
|
175571
175900
|
showlegend: extendFlat({}, baseAttrs.showlegend, {dflt: false})
|
|
175572
175901
|
}, {
|
|
175573
175902
|
transforms: undefined
|
|
@@ -175575,7 +175904,7 @@ module.exports = extendFlat({
|
|
|
175575
175904
|
colorScaleAttrs('', {cLetter: 'z', autoColorDflt: false})
|
|
175576
175905
|
);
|
|
175577
175906
|
|
|
175578
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../scatter/attributes":
|
|
175907
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/font_attributes":452,"../../plots/template_attributes":496,"../scatter/attributes":778}],656:[function(_dereq_,module,exports){
|
|
175579
175908
|
'use strict';
|
|
175580
175909
|
|
|
175581
175910
|
var Registry = _dereq_('../../registry');
|
|
@@ -175776,7 +176105,7 @@ function dropZonBreaks(x, y, z) {
|
|
|
175776
176105
|
return newZ;
|
|
175777
176106
|
}
|
|
175778
176107
|
|
|
175779
|
-
},{"../../components/colorscale/calc":242,"../../constants/numerical":347,"../../lib":371,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421,"../../registry":501,"../histogram2d/calc":
|
|
176108
|
+
},{"../../components/colorscale/calc":242,"../../constants/numerical":347,"../../lib":371,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421,"../../registry":501,"../histogram2d/calc":689,"./clean_2d_array":657,"./convert_column_xyz":659,"./find_empties":661,"./interp2d":664,"./make_bound_array":666}],657:[function(_dereq_,module,exports){
|
|
175780
176109
|
'use strict';
|
|
175781
176110
|
|
|
175782
176111
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -175940,6 +176269,7 @@ module.exports = function convertColumnData(trace, ax1, ax2, var1Name, var2Name,
|
|
|
175940
176269
|
var Lib = _dereq_('../../lib');
|
|
175941
176270
|
|
|
175942
176271
|
var handleXYZDefaults = _dereq_('./xyz_defaults');
|
|
176272
|
+
var handleHeatmapLabelDefaults = _dereq_('./label_defaults');
|
|
175943
176273
|
var handlePeriodDefaults = _dereq_('../scatter/period_defaults');
|
|
175944
176274
|
var handleStyleDefaults = _dereq_('./style_defaults');
|
|
175945
176275
|
var colorscaleDefaults = _dereq_('../../components/colorscale/defaults');
|
|
@@ -175965,6 +176295,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
175965
176295
|
coerce('hovertext');
|
|
175966
176296
|
coerce('hovertemplate');
|
|
175967
176297
|
|
|
176298
|
+
handleHeatmapLabelDefaults(coerce, layout);
|
|
175968
176299
|
handleStyleDefaults(traceIn, traceOut, coerce, layout);
|
|
175969
176300
|
|
|
175970
176301
|
coerce('hoverongaps');
|
|
@@ -175973,7 +176304,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
175973
176304
|
colorscaleDefaults(traceIn, traceOut, layout, coerce, {prefix: '', cLetter: 'z'});
|
|
175974
176305
|
};
|
|
175975
176306
|
|
|
175976
|
-
},{"../../components/colorscale/defaults":244,"../../lib":371,"../scatter/period_defaults":
|
|
176307
|
+
},{"../../components/colorscale/defaults":244,"../../lib":371,"../scatter/period_defaults":798,"./attributes":655,"./label_defaults":665,"./style_defaults":669,"./xyz_defaults":670}],661:[function(_dereq_,module,exports){
|
|
175977
176308
|
'use strict';
|
|
175978
176309
|
|
|
175979
176310
|
var maxRowLength = _dereq_('../../lib').maxRowLength;
|
|
@@ -176223,7 +176554,7 @@ module.exports = {
|
|
|
176223
176554
|
}
|
|
176224
176555
|
};
|
|
176225
176556
|
|
|
176226
|
-
},{"../../plots/cartesian":435,"./attributes":655,"./calc":656,"./colorbar":658,"./defaults":660,"./hover":662,"./plot":
|
|
176557
|
+
},{"../../plots/cartesian":435,"./attributes":655,"./calc":656,"./colorbar":658,"./defaults":660,"./hover":662,"./plot":667,"./style":668}],664:[function(_dereq_,module,exports){
|
|
176227
176558
|
'use strict';
|
|
176228
176559
|
|
|
176229
176560
|
var Lib = _dereq_('../../lib');
|
|
@@ -176351,6 +176682,21 @@ function iterateInterp2d(z, emptyPoints, overshoot) {
|
|
|
176351
176682
|
},{"../../lib":371}],665:[function(_dereq_,module,exports){
|
|
176352
176683
|
'use strict';
|
|
176353
176684
|
|
|
176685
|
+
var Lib = _dereq_('../../lib');
|
|
176686
|
+
|
|
176687
|
+
module.exports = function handleHeatmapLabelDefaults(coerce, layout) {
|
|
176688
|
+
coerce('texttemplate');
|
|
176689
|
+
|
|
176690
|
+
var fontDflt = Lib.extendFlat({}, layout.font, {
|
|
176691
|
+
color: 'auto',
|
|
176692
|
+
size: 'auto'
|
|
176693
|
+
});
|
|
176694
|
+
Lib.coerceFont(coerce, 'textfont', fontDflt);
|
|
176695
|
+
};
|
|
176696
|
+
|
|
176697
|
+
},{"../../lib":371}],666:[function(_dereq_,module,exports){
|
|
176698
|
+
'use strict';
|
|
176699
|
+
|
|
176354
176700
|
var Registry = _dereq_('../../registry');
|
|
176355
176701
|
var isArrayOrTypedArray = _dereq_('../../lib').isArrayOrTypedArray;
|
|
176356
176702
|
|
|
@@ -176428,16 +176774,34 @@ module.exports = function makeBoundArray(trace, arrayIn, v0In, dvIn, numbricks,
|
|
|
176428
176774
|
return arrayOut;
|
|
176429
176775
|
};
|
|
176430
176776
|
|
|
176431
|
-
},{"../../lib":371,"../../registry":501}],
|
|
176777
|
+
},{"../../lib":371,"../../registry":501}],667:[function(_dereq_,module,exports){
|
|
176432
176778
|
'use strict';
|
|
176433
176779
|
|
|
176434
176780
|
var d3 = _dereq_('@plotly/d3');
|
|
176435
176781
|
var tinycolor = _dereq_('tinycolor2');
|
|
176436
176782
|
|
|
176437
176783
|
var Registry = _dereq_('../../registry');
|
|
176784
|
+
var Drawing = _dereq_('../../components/drawing');
|
|
176785
|
+
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
176438
176786
|
var Lib = _dereq_('../../lib');
|
|
176787
|
+
var svgTextUtils = _dereq_('../../lib/svg_text_utils');
|
|
176788
|
+
var formatLabels = _dereq_('../scatter/format_labels');
|
|
176789
|
+
var Color = _dereq_('../../components/color');
|
|
176790
|
+
var extractOpts = _dereq_('../../components/colorscale').extractOpts;
|
|
176439
176791
|
var makeColorScaleFuncFromTrace = _dereq_('../../components/colorscale').makeColorScaleFuncFromTrace;
|
|
176440
176792
|
var xmlnsNamespaces = _dereq_('../../constants/xmlns_namespaces');
|
|
176793
|
+
var alignmentConstants = _dereq_('../../constants/alignment');
|
|
176794
|
+
var LINE_SPACING = alignmentConstants.LINE_SPACING;
|
|
176795
|
+
|
|
176796
|
+
var labelClass = 'heatmap-label';
|
|
176797
|
+
|
|
176798
|
+
function selectLabels(plotGroup) {
|
|
176799
|
+
return plotGroup.selectAll('g.' + labelClass);
|
|
176800
|
+
}
|
|
176801
|
+
|
|
176802
|
+
function removeLabels(plotGroup) {
|
|
176803
|
+
selectLabels(plotGroup).remove();
|
|
176804
|
+
}
|
|
176441
176805
|
|
|
176442
176806
|
module.exports = function(gd, plotinfo, cdheatmaps, heatmapLayer) {
|
|
176443
176807
|
var xa = plotinfo.xaxis;
|
|
@@ -176447,6 +176811,8 @@ module.exports = function(gd, plotinfo, cdheatmaps, heatmapLayer) {
|
|
|
176447
176811
|
var plotGroup = d3.select(this);
|
|
176448
176812
|
var cd0 = cd[0];
|
|
176449
176813
|
var trace = cd0.trace;
|
|
176814
|
+
var xGap = trace.xgap || 0;
|
|
176815
|
+
var yGap = trace.ygap || 0;
|
|
176450
176816
|
|
|
176451
176817
|
var z = cd0.z;
|
|
176452
176818
|
var x = cd0.x;
|
|
@@ -176462,7 +176828,7 @@ module.exports = function(gd, plotinfo, cdheatmaps, heatmapLayer) {
|
|
|
176462
176828
|
var xrev = false;
|
|
176463
176829
|
var yrev = false;
|
|
176464
176830
|
|
|
176465
|
-
var left, right, temp, top, bottom, i;
|
|
176831
|
+
var left, right, temp, top, bottom, i, j, k;
|
|
176466
176832
|
|
|
176467
176833
|
// TODO: if there are multiple overlapping categorical heatmaps,
|
|
176468
176834
|
// or if we allow category sorting, then the categories may not be
|
|
@@ -176543,6 +176909,8 @@ module.exports = function(gd, plotinfo, cdheatmaps, heatmapLayer) {
|
|
|
176543
176909
|
if(isOffScreen) {
|
|
176544
176910
|
var noImage = plotGroup.selectAll('image').data([]);
|
|
176545
176911
|
noImage.exit().remove();
|
|
176912
|
+
|
|
176913
|
+
removeLabels(plotGroup);
|
|
176546
176914
|
return;
|
|
176547
176915
|
}
|
|
176548
176916
|
|
|
@@ -176598,7 +176966,7 @@ module.exports = function(gd, plotinfo, cdheatmaps, heatmapLayer) {
|
|
|
176598
176966
|
var gcount = 0;
|
|
176599
176967
|
var bcount = 0;
|
|
176600
176968
|
|
|
176601
|
-
var xb,
|
|
176969
|
+
var xb, xi, v, row, c;
|
|
176602
176970
|
|
|
176603
176971
|
function setColor(v, pixsize) {
|
|
176604
176972
|
if(v !== undefined) {
|
|
@@ -176709,8 +177077,6 @@ module.exports = function(gd, plotinfo, cdheatmaps, heatmapLayer) {
|
|
|
176709
177077
|
} else { // zsmooth = false -> filling potentially large bricks works fastest with fillRect
|
|
176710
177078
|
// gaps do not need to be exact integers, but if they *are* we will get
|
|
176711
177079
|
// cleaner edges by rounding at least one edge
|
|
176712
|
-
var xGap = trace.xgap;
|
|
176713
|
-
var yGap = trace.ygap;
|
|
176714
177080
|
var xGapLeft = Math.floor(xGap / 2);
|
|
176715
177081
|
var yGapTop = Math.floor(yGap / 2);
|
|
176716
177082
|
|
|
@@ -176763,6 +177129,185 @@ module.exports = function(gd, plotinfo, cdheatmaps, heatmapLayer) {
|
|
|
176763
177129
|
y: top,
|
|
176764
177130
|
'xlink:href': canvas.toDataURL('image/png')
|
|
176765
177131
|
});
|
|
177132
|
+
|
|
177133
|
+
removeLabels(plotGroup);
|
|
177134
|
+
|
|
177135
|
+
var texttemplate = trace.texttemplate;
|
|
177136
|
+
if(texttemplate) {
|
|
177137
|
+
// dummy axis for formatting the z value
|
|
177138
|
+
var cOpts = extractOpts(trace);
|
|
177139
|
+
var dummyAx = {
|
|
177140
|
+
type: 'linear',
|
|
177141
|
+
range: [cOpts.min, cOpts.max],
|
|
177142
|
+
_separators: xa._separators,
|
|
177143
|
+
_numFormat: xa._numFormat
|
|
177144
|
+
};
|
|
177145
|
+
|
|
177146
|
+
var aHistogram2dContour = trace.type === 'histogram2dcontour';
|
|
177147
|
+
var aContour = trace.type === 'contour';
|
|
177148
|
+
var iStart = aContour ? 1 : 0;
|
|
177149
|
+
var iStop = aContour ? m - 1 : m;
|
|
177150
|
+
var jStart = aContour ? 1 : 0;
|
|
177151
|
+
var jStop = aContour ? n - 1 : n;
|
|
177152
|
+
|
|
177153
|
+
var textData = [];
|
|
177154
|
+
for(i = iStart; i < iStop; i++) {
|
|
177155
|
+
var yVal;
|
|
177156
|
+
if(aContour) {
|
|
177157
|
+
yVal = cd0.y[i];
|
|
177158
|
+
} else if(aHistogram2dContour) {
|
|
177159
|
+
if(i === 0 || i === m - 1) continue;
|
|
177160
|
+
yVal = cd0.y[i];
|
|
177161
|
+
} else if(cd0.yCenter) {
|
|
177162
|
+
yVal = cd0.yCenter[i];
|
|
177163
|
+
} else {
|
|
177164
|
+
if(i + 1 === m && cd0.y[i + 1] === undefined) continue;
|
|
177165
|
+
yVal = (cd0.y[i] + cd0.y[i + 1]) / 2;
|
|
177166
|
+
}
|
|
177167
|
+
|
|
177168
|
+
var _y = Math.round(ya.c2p(yVal));
|
|
177169
|
+
if(0 > _y || _y > ya._length) continue;
|
|
177170
|
+
|
|
177171
|
+
for(j = jStart; j < jStop; j++) {
|
|
177172
|
+
var xVal;
|
|
177173
|
+
if(aContour) {
|
|
177174
|
+
xVal = cd0.x[j];
|
|
177175
|
+
} else if(aHistogram2dContour) {
|
|
177176
|
+
if(j === 0 || j === n - 1) continue;
|
|
177177
|
+
xVal = cd0.x[j];
|
|
177178
|
+
} else if(cd0.xCenter) {
|
|
177179
|
+
xVal = cd0.xCenter[j];
|
|
177180
|
+
} else {
|
|
177181
|
+
if(j + 1 === n && cd0.x[j + 1] === undefined) continue;
|
|
177182
|
+
xVal = (cd0.x[j] + cd0.x[j + 1]) / 2;
|
|
177183
|
+
}
|
|
177184
|
+
|
|
177185
|
+
var _x = Math.round(xa.c2p(xVal));
|
|
177186
|
+
if(0 > _x || _x > xa._length) continue;
|
|
177187
|
+
|
|
177188
|
+
var obj = formatLabels({
|
|
177189
|
+
x: xVal,
|
|
177190
|
+
y: yVal
|
|
177191
|
+
}, trace, gd._fullLayout);
|
|
177192
|
+
|
|
177193
|
+
obj.x = xVal;
|
|
177194
|
+
obj.y = yVal;
|
|
177195
|
+
|
|
177196
|
+
var zVal = cd0.z[i][j];
|
|
177197
|
+
if(zVal === undefined) {
|
|
177198
|
+
obj.z = '';
|
|
177199
|
+
obj.zLabel = '';
|
|
177200
|
+
} else {
|
|
177201
|
+
obj.z = zVal;
|
|
177202
|
+
obj.zLabel = Axes.tickText(dummyAx, zVal, 'hover').text;
|
|
177203
|
+
}
|
|
177204
|
+
|
|
177205
|
+
var theText = cd0.text && cd0.text[i] && cd0.text[i][j];
|
|
177206
|
+
if(theText === undefined || theText === false) theText = '';
|
|
177207
|
+
obj.text = theText;
|
|
177208
|
+
|
|
177209
|
+
var _t = Lib.texttemplateString(texttemplate, obj, gd._fullLayout._d3locale, obj, trace._meta || {});
|
|
177210
|
+
if(!_t) continue;
|
|
177211
|
+
|
|
177212
|
+
var lines = _t.split('<br>');
|
|
177213
|
+
var nL = lines.length;
|
|
177214
|
+
var nC = 0;
|
|
177215
|
+
for(k = 0; k < nL; k++) {
|
|
177216
|
+
nC = Math.max(nC, lines[k].length);
|
|
177217
|
+
}
|
|
177218
|
+
|
|
177219
|
+
textData.push({
|
|
177220
|
+
l: nL, // number of lines
|
|
177221
|
+
c: nC, // maximum number of chars in a line
|
|
177222
|
+
t: _t, // text
|
|
177223
|
+
x: _x,
|
|
177224
|
+
y: _y,
|
|
177225
|
+
z: zVal
|
|
177226
|
+
});
|
|
177227
|
+
}
|
|
177228
|
+
}
|
|
177229
|
+
|
|
177230
|
+
var font = trace.textfont;
|
|
177231
|
+
var fontFamily = font.family;
|
|
177232
|
+
var fontSize = font.size;
|
|
177233
|
+
|
|
177234
|
+
if(!fontSize || fontSize === 'auto') {
|
|
177235
|
+
var minW = Infinity;
|
|
177236
|
+
var minH = Infinity;
|
|
177237
|
+
var maxL = 0;
|
|
177238
|
+
var maxC = 0;
|
|
177239
|
+
|
|
177240
|
+
for(k = 0; k < textData.length; k++) {
|
|
177241
|
+
var d = textData[k];
|
|
177242
|
+
maxL = Math.max(maxL, d.l);
|
|
177243
|
+
maxC = Math.max(maxC, d.c);
|
|
177244
|
+
|
|
177245
|
+
if(k < textData.length - 1) {
|
|
177246
|
+
var nextD = textData[k + 1];
|
|
177247
|
+
var dx = Math.abs(nextD.x - d.x);
|
|
177248
|
+
var dy = Math.abs(nextD.y - d.y);
|
|
177249
|
+
|
|
177250
|
+
if(dx) minW = Math.min(minW, dx);
|
|
177251
|
+
if(dy) minH = Math.min(minH, dy);
|
|
177252
|
+
}
|
|
177253
|
+
}
|
|
177254
|
+
|
|
177255
|
+
if(
|
|
177256
|
+
!isFinite(minW) ||
|
|
177257
|
+
!isFinite(minH)
|
|
177258
|
+
) {
|
|
177259
|
+
fontSize = 12;
|
|
177260
|
+
} else {
|
|
177261
|
+
minW -= xGap;
|
|
177262
|
+
minH -= yGap;
|
|
177263
|
+
|
|
177264
|
+
minW /= maxC;
|
|
177265
|
+
minH /= maxL;
|
|
177266
|
+
|
|
177267
|
+
minW /= LINE_SPACING / 2;
|
|
177268
|
+
minH /= LINE_SPACING;
|
|
177269
|
+
|
|
177270
|
+
fontSize = Math.min(
|
|
177271
|
+
Math.floor(minW),
|
|
177272
|
+
Math.floor(minH)
|
|
177273
|
+
);
|
|
177274
|
+
}
|
|
177275
|
+
}
|
|
177276
|
+
if(fontSize <= 0 || !isFinite(fontSize)) return;
|
|
177277
|
+
|
|
177278
|
+
var xFn = function(d) { return d.x; };
|
|
177279
|
+
var yFn = function(d) {
|
|
177280
|
+
return d.y - fontSize * ((d.l * LINE_SPACING) / 2 - 1);
|
|
177281
|
+
};
|
|
177282
|
+
|
|
177283
|
+
var labels = selectLabels(plotGroup).data(textData);
|
|
177284
|
+
|
|
177285
|
+
labels
|
|
177286
|
+
.enter()
|
|
177287
|
+
.append('g')
|
|
177288
|
+
.classed(labelClass, 1)
|
|
177289
|
+
.append('text')
|
|
177290
|
+
.attr('text-anchor', 'middle')
|
|
177291
|
+
.each(function(d) {
|
|
177292
|
+
var thisLabel = d3.select(this);
|
|
177293
|
+
|
|
177294
|
+
var fontColor = font.color;
|
|
177295
|
+
if(!fontColor || fontColor === 'auto') {
|
|
177296
|
+
fontColor = Color.contrast(
|
|
177297
|
+
'rgba(' +
|
|
177298
|
+
sclFunc(d.z).join() +
|
|
177299
|
+
')'
|
|
177300
|
+
);
|
|
177301
|
+
}
|
|
177302
|
+
|
|
177303
|
+
thisLabel
|
|
177304
|
+
.attr('data-notex', 1)
|
|
177305
|
+
.call(svgTextUtils.positionText, xFn(d), yFn(d))
|
|
177306
|
+
.call(Drawing.font, fontFamily, fontSize, fontColor)
|
|
177307
|
+
.text(d.t)
|
|
177308
|
+
.call(svgTextUtils.convertToTspans, gd);
|
|
177309
|
+
});
|
|
177310
|
+
}
|
|
176766
177311
|
});
|
|
176767
177312
|
};
|
|
176768
177313
|
|
|
@@ -176824,7 +177369,7 @@ function putColor(pixels, pxIndex, c) {
|
|
|
176824
177369
|
pixels[pxIndex + 3] = Math.round(c[3] * 255);
|
|
176825
177370
|
}
|
|
176826
177371
|
|
|
176827
|
-
},{"../../components/colorscale":246,"../../constants/xmlns_namespaces":348,"../../lib":371,"../../registry":501,"@plotly/d3":53,"tinycolor2":195}],
|
|
177372
|
+
},{"../../components/color":234,"../../components/colorscale":246,"../../components/drawing":256,"../../constants/alignment":339,"../../constants/xmlns_namespaces":348,"../../lib":371,"../../lib/svg_text_utils":396,"../../plots/cartesian/axes":421,"../../registry":501,"../scatter/format_labels":787,"@plotly/d3":53,"tinycolor2":195}],668:[function(_dereq_,module,exports){
|
|
176828
177373
|
'use strict';
|
|
176829
177374
|
|
|
176830
177375
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -176836,7 +177381,7 @@ module.exports = function style(gd) {
|
|
|
176836
177381
|
});
|
|
176837
177382
|
};
|
|
176838
177383
|
|
|
176839
|
-
},{"@plotly/d3":53}],
|
|
177384
|
+
},{"@plotly/d3":53}],669:[function(_dereq_,module,exports){
|
|
176840
177385
|
'use strict';
|
|
176841
177386
|
|
|
176842
177387
|
module.exports = function handleStyleDefaults(traceIn, traceOut, coerce) {
|
|
@@ -176850,7 +177395,7 @@ module.exports = function handleStyleDefaults(traceIn, traceOut, coerce) {
|
|
|
176850
177395
|
coerce('zhoverformat');
|
|
176851
177396
|
};
|
|
176852
177397
|
|
|
176853
|
-
},{}],
|
|
177398
|
+
},{}],670:[function(_dereq_,module,exports){
|
|
176854
177399
|
'use strict';
|
|
176855
177400
|
|
|
176856
177401
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -176941,7 +177486,7 @@ function isValidZ(z) {
|
|
|
176941
177486
|
return (allRowsAreArrays && oneRowIsFilled && hasOneNumber);
|
|
176942
177487
|
}
|
|
176943
177488
|
|
|
176944
|
-
},{"../../lib":371,"../../registry":501,"fast-isnumeric":99}],
|
|
177489
|
+
},{"../../lib":371,"../../registry":501,"fast-isnumeric":99}],671:[function(_dereq_,module,exports){
|
|
176945
177490
|
'use strict';
|
|
176946
177491
|
|
|
176947
177492
|
var heatmapAttrs = _dereq_('../heatmap/attributes');
|
|
@@ -176979,7 +177524,7 @@ extendFlat(
|
|
|
176979
177524
|
|
|
176980
177525
|
module.exports = overrideAll(attrs, 'calc', 'nested');
|
|
176981
177526
|
|
|
176982
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plot_api/edit_types":403,"../heatmap/attributes":655}],
|
|
177527
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plot_api/edit_types":403,"../heatmap/attributes":655}],672:[function(_dereq_,module,exports){
|
|
176983
177528
|
'use strict';
|
|
176984
177529
|
|
|
176985
177530
|
var createHeatmap2D = _dereq_('../../../stackgl_modules').gl_heatmap2d;
|
|
@@ -177122,7 +177667,7 @@ function createHeatmap(scene, fullTrace, calcTrace) {
|
|
|
177122
177667
|
|
|
177123
177668
|
module.exports = createHeatmap;
|
|
177124
177669
|
|
|
177125
|
-
},{"../../../stackgl_modules":
|
|
177670
|
+
},{"../../../stackgl_modules":934,"../../lib/str2rgbarray":395,"../../plots/cartesian/axes":421}],673:[function(_dereq_,module,exports){
|
|
177126
177671
|
'use strict';
|
|
177127
177672
|
|
|
177128
177673
|
var Lib = _dereq_('../../lib');
|
|
@@ -177149,7 +177694,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
177149
177694
|
colorscaleDefaults(traceIn, traceOut, layout, coerce, {prefix: '', cLetter: 'z'});
|
|
177150
177695
|
};
|
|
177151
177696
|
|
|
177152
|
-
},{"../../components/colorscale/defaults":244,"../../lib":371,"../heatmap/xyz_defaults":
|
|
177697
|
+
},{"../../components/colorscale/defaults":244,"../../lib":371,"../heatmap/xyz_defaults":670,"./attributes":671}],674:[function(_dereq_,module,exports){
|
|
177153
177698
|
'use strict';
|
|
177154
177699
|
|
|
177155
177700
|
var deprecationWarning = [
|
|
@@ -177175,7 +177720,7 @@ module.exports = {
|
|
|
177175
177720
|
}
|
|
177176
177721
|
};
|
|
177177
177722
|
|
|
177178
|
-
},{"../../plots/gl2d":463,"../heatmap/calc":656,"../heatmap/colorbar":658,"./attributes":
|
|
177723
|
+
},{"../../plots/gl2d":463,"../heatmap/calc":656,"../heatmap/colorbar":658,"./attributes":671,"./convert":672,"./defaults":673}],675:[function(_dereq_,module,exports){
|
|
177179
177724
|
'use strict';
|
|
177180
177725
|
|
|
177181
177726
|
var barAttrs = _dereq_('../bar/attributes');
|
|
@@ -177325,7 +177870,7 @@ module.exports = {
|
|
|
177325
177870
|
}
|
|
177326
177871
|
};
|
|
177327
177872
|
|
|
177328
|
-
},{"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../../plots/font_attributes":452,"../../plots/template_attributes":496,"../bar/attributes":511,"./bin_attributes":
|
|
177873
|
+
},{"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../../plots/font_attributes":452,"../../plots/template_attributes":496,"../bar/attributes":511,"./bin_attributes":677,"./constants":681}],676:[function(_dereq_,module,exports){
|
|
177329
177874
|
'use strict';
|
|
177330
177875
|
|
|
177331
177876
|
|
|
@@ -177341,7 +177886,7 @@ module.exports = function doAvg(size, counts) {
|
|
|
177341
177886
|
return total;
|
|
177342
177887
|
};
|
|
177343
177888
|
|
|
177344
|
-
},{}],
|
|
177889
|
+
},{}],677:[function(_dereq_,module,exports){
|
|
177345
177890
|
'use strict';
|
|
177346
177891
|
|
|
177347
177892
|
module.exports = function makeBinAttrs(axLetter, match) {
|
|
@@ -177362,7 +177907,7 @@ module.exports = function makeBinAttrs(axLetter, match) {
|
|
|
177362
177907
|
};
|
|
177363
177908
|
};
|
|
177364
177909
|
|
|
177365
|
-
},{}],
|
|
177910
|
+
},{}],678:[function(_dereq_,module,exports){
|
|
177366
177911
|
'use strict';
|
|
177367
177912
|
|
|
177368
177913
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -177427,7 +177972,7 @@ module.exports = {
|
|
|
177427
177972
|
}
|
|
177428
177973
|
};
|
|
177429
177974
|
|
|
177430
|
-
},{"fast-isnumeric":99}],
|
|
177975
|
+
},{"fast-isnumeric":99}],679:[function(_dereq_,module,exports){
|
|
177431
177976
|
'use strict';
|
|
177432
177977
|
|
|
177433
177978
|
var numConstants = _dereq_('../../constants/numerical');
|
|
@@ -177594,7 +178139,7 @@ function dateParts(v, pa, calendar) {
|
|
|
177594
178139
|
return parts;
|
|
177595
178140
|
}
|
|
177596
178141
|
|
|
177597
|
-
},{"../../constants/numerical":347,"../../plots/cartesian/axes":421}],
|
|
178142
|
+
},{"../../constants/numerical":347,"../../plots/cartesian/axes":421}],680:[function(_dereq_,module,exports){
|
|
177598
178143
|
'use strict';
|
|
177599
178144
|
|
|
177600
178145
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -178165,14 +178710,14 @@ module.exports = {
|
|
|
178165
178710
|
calcAllAutoBins: calcAllAutoBins
|
|
178166
178711
|
};
|
|
178167
178712
|
|
|
178168
|
-
},{"../../lib":371,"../../plots/cartesian/axes":421,"../../registry":501,"../bar/arrays_to_calcdata":510,"./average":
|
|
178713
|
+
},{"../../lib":371,"../../plots/cartesian/axes":421,"../../registry":501,"../bar/arrays_to_calcdata":510,"./average":676,"./bin_functions":678,"./bin_label_vals":679,"./norm_functions":687,"fast-isnumeric":99}],681:[function(_dereq_,module,exports){
|
|
178169
178714
|
'use strict';
|
|
178170
178715
|
|
|
178171
178716
|
module.exports = {
|
|
178172
178717
|
eventDataKeys: ['binNumber']
|
|
178173
178718
|
};
|
|
178174
178719
|
|
|
178175
|
-
},{}],
|
|
178720
|
+
},{}],682:[function(_dereq_,module,exports){
|
|
178176
178721
|
'use strict';
|
|
178177
178722
|
|
|
178178
178723
|
var Lib = _dereq_('../../lib');
|
|
@@ -178441,7 +178986,7 @@ module.exports = function crossTraceDefaults(fullData, fullLayout) {
|
|
|
178441
178986
|
}
|
|
178442
178987
|
};
|
|
178443
178988
|
|
|
178444
|
-
},{"../../lib":371,"../../plots/cartesian/axis_ids":425,"../../plots/cartesian/constraints":429,"../../registry":501,"../bar/defaults":515}],
|
|
178989
|
+
},{"../../lib":371,"../../plots/cartesian/axis_ids":425,"../../plots/cartesian/constraints":429,"../../registry":501,"../bar/defaults":515}],683:[function(_dereq_,module,exports){
|
|
178445
178990
|
'use strict';
|
|
178446
178991
|
|
|
178447
178992
|
var Registry = _dereq_('../../registry');
|
|
@@ -178520,7 +179065,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
178520
179065
|
errorBarsSupplyDefaults(traceIn, traceOut, lineColor || Color.defaultLine, {axis: 'x', inherit: 'y'});
|
|
178521
179066
|
};
|
|
178522
179067
|
|
|
178523
|
-
},{"../../components/color":234,"../../lib":371,"../../registry":501,"../bar/defaults":515,"../bar/style_defaults":526,"./attributes":
|
|
179068
|
+
},{"../../components/color":234,"../../lib":371,"../../registry":501,"../bar/defaults":515,"../bar/style_defaults":526,"./attributes":675}],684:[function(_dereq_,module,exports){
|
|
178524
179069
|
'use strict';
|
|
178525
179070
|
|
|
178526
179071
|
module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
@@ -178561,7 +179106,7 @@ module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
|
178561
179106
|
return out;
|
|
178562
179107
|
};
|
|
178563
179108
|
|
|
178564
|
-
},{}],
|
|
179109
|
+
},{}],685:[function(_dereq_,module,exports){
|
|
178565
179110
|
'use strict';
|
|
178566
179111
|
|
|
178567
179112
|
var barHover = _dereq_('../bar/hover').hoverPoints;
|
|
@@ -178585,7 +179130,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode, opts) {
|
|
|
178585
179130
|
return pts;
|
|
178586
179131
|
};
|
|
178587
179132
|
|
|
178588
|
-
},{"../../plots/cartesian/axes":421,"../bar/hover":518}],
|
|
179133
|
+
},{"../../plots/cartesian/axes":421,"../bar/hover":518}],686:[function(_dereq_,module,exports){
|
|
178589
179134
|
'use strict';
|
|
178590
179135
|
|
|
178591
179136
|
/**
|
|
@@ -178626,7 +179171,7 @@ module.exports = {
|
|
|
178626
179171
|
}
|
|
178627
179172
|
};
|
|
178628
179173
|
|
|
178629
|
-
},{"../../plots/cartesian":435,"../bar/cross_trace_calc":514,"../bar/layout_attributes":520,"../bar/layout_defaults":521,"../bar/plot":522,"../bar/select":523,"../bar/style":525,"../scatter/marker_colorbar":
|
|
179174
|
+
},{"../../plots/cartesian":435,"../bar/cross_trace_calc":514,"../bar/layout_attributes":520,"../bar/layout_defaults":521,"../bar/plot":522,"../bar/select":523,"../bar/style":525,"../scatter/marker_colorbar":796,"./attributes":675,"./calc":680,"./cross_trace_defaults":682,"./defaults":683,"./event_data":684,"./hover":685}],687:[function(_dereq_,module,exports){
|
|
178630
179175
|
'use strict';
|
|
178631
179176
|
|
|
178632
179177
|
|
|
@@ -178652,7 +179197,7 @@ module.exports = {
|
|
|
178652
179197
|
}
|
|
178653
179198
|
};
|
|
178654
179199
|
|
|
178655
|
-
},{}],
|
|
179200
|
+
},{}],688:[function(_dereq_,module,exports){
|
|
178656
179201
|
'use strict';
|
|
178657
179202
|
|
|
178658
179203
|
var histogramAttrs = _dereq_('../histogram/attributes');
|
|
@@ -178661,6 +179206,7 @@ var heatmapAttrs = _dereq_('../heatmap/attributes');
|
|
|
178661
179206
|
var baseAttrs = _dereq_('../../plots/attributes');
|
|
178662
179207
|
var axisHoverFormat = _dereq_('../../plots/cartesian/axis_format_attributes').axisHoverFormat;
|
|
178663
179208
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
179209
|
+
var texttemplateAttrs = _dereq_('../../plots/template_attributes').texttemplateAttrs;
|
|
178664
179210
|
var colorScaleAttrs = _dereq_('../../components/colorscale/attributes');
|
|
178665
179211
|
|
|
178666
179212
|
var extendFlat = _dereq_('../../lib/extend').extendFlat;
|
|
@@ -178705,12 +179251,19 @@ module.exports = extendFlat(
|
|
|
178705
179251
|
yhoverformat: axisHoverFormat('y'),
|
|
178706
179252
|
zhoverformat: axisHoverFormat('z', 1),
|
|
178707
179253
|
hovertemplate: hovertemplateAttrs({}, {keys: 'z'}),
|
|
179254
|
+
texttemplate: texttemplateAttrs({
|
|
179255
|
+
arrayOk: false,
|
|
179256
|
+
editType: 'plot'
|
|
179257
|
+
}, {
|
|
179258
|
+
keys: 'z'
|
|
179259
|
+
}),
|
|
179260
|
+
textfont: heatmapAttrs.textfont,
|
|
178708
179261
|
showlegend: extendFlat({}, baseAttrs.showlegend, {dflt: false})
|
|
178709
179262
|
},
|
|
178710
179263
|
colorScaleAttrs('', {cLetter: 'z', autoColorDflt: false})
|
|
178711
179264
|
);
|
|
178712
179265
|
|
|
178713
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../heatmap/attributes":655,"../histogram/attributes":
|
|
179266
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../heatmap/attributes":655,"../histogram/attributes":675,"../histogram/bin_attributes":677}],689:[function(_dereq_,module,exports){
|
|
178714
179267
|
'use strict';
|
|
178715
179268
|
|
|
178716
179269
|
var Lib = _dereq_('../../lib');
|
|
@@ -178921,7 +179474,7 @@ function getRanges(edges, uniqueVals, gapLow, gapHigh, ax, calendar) {
|
|
|
178921
179474
|
return out;
|
|
178922
179475
|
}
|
|
178923
179476
|
|
|
178924
|
-
},{"../../lib":371,"../../plots/cartesian/axes":421,"../histogram/average":
|
|
179477
|
+
},{"../../lib":371,"../../plots/cartesian/axes":421,"../histogram/average":676,"../histogram/bin_functions":678,"../histogram/bin_label_vals":679,"../histogram/calc":680,"../histogram/norm_functions":687}],690:[function(_dereq_,module,exports){
|
|
178925
179478
|
'use strict';
|
|
178926
179479
|
|
|
178927
179480
|
var Lib = _dereq_('../../lib');
|
|
@@ -178929,6 +179482,7 @@ var Lib = _dereq_('../../lib');
|
|
|
178929
179482
|
var handleSampleDefaults = _dereq_('./sample_defaults');
|
|
178930
179483
|
var handleStyleDefaults = _dereq_('../heatmap/style_defaults');
|
|
178931
179484
|
var colorscaleDefaults = _dereq_('../../components/colorscale/defaults');
|
|
179485
|
+
var handleHeatmapLabelDefaults = _dereq_('../heatmap/label_defaults');
|
|
178932
179486
|
var attributes = _dereq_('./attributes');
|
|
178933
179487
|
|
|
178934
179488
|
|
|
@@ -178943,11 +179497,14 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
178943
179497
|
handleStyleDefaults(traceIn, traceOut, coerce, layout);
|
|
178944
179498
|
colorscaleDefaults(traceIn, traceOut, layout, coerce, {prefix: '', cLetter: 'z'});
|
|
178945
179499
|
coerce('hovertemplate');
|
|
179500
|
+
|
|
179501
|
+
handleHeatmapLabelDefaults(coerce, layout);
|
|
179502
|
+
|
|
178946
179503
|
coerce('xhoverformat');
|
|
178947
179504
|
coerce('yhoverformat');
|
|
178948
179505
|
};
|
|
178949
179506
|
|
|
178950
|
-
},{"../../components/colorscale/defaults":244,"../../lib":371,"../heatmap/style_defaults":
|
|
179507
|
+
},{"../../components/colorscale/defaults":244,"../../lib":371,"../heatmap/label_defaults":665,"../heatmap/style_defaults":669,"./attributes":688,"./sample_defaults":693}],691:[function(_dereq_,module,exports){
|
|
178951
179508
|
'use strict';
|
|
178952
179509
|
|
|
178953
179510
|
var heatmapHover = _dereq_('../heatmap/hover');
|
|
@@ -178973,7 +179530,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode, opts) {
|
|
|
178973
179530
|
return pts;
|
|
178974
179531
|
};
|
|
178975
179532
|
|
|
178976
|
-
},{"../../plots/cartesian/axes":421,"../heatmap/hover":662}],
|
|
179533
|
+
},{"../../plots/cartesian/axes":421,"../heatmap/hover":662}],692:[function(_dereq_,module,exports){
|
|
178977
179534
|
'use strict';
|
|
178978
179535
|
|
|
178979
179536
|
module.exports = {
|
|
@@ -178996,7 +179553,7 @@ module.exports = {
|
|
|
178996
179553
|
}
|
|
178997
179554
|
};
|
|
178998
179555
|
|
|
178999
|
-
},{"../../plots/cartesian":435,"../heatmap/calc":656,"../heatmap/colorbar":658,"../heatmap/plot":
|
|
179556
|
+
},{"../../plots/cartesian":435,"../heatmap/calc":656,"../heatmap/colorbar":658,"../heatmap/plot":667,"../heatmap/style":668,"../histogram/cross_trace_defaults":682,"../histogram/event_data":684,"./attributes":688,"./defaults":690,"./hover":691}],693:[function(_dereq_,module,exports){
|
|
179000
179557
|
'use strict';
|
|
179001
179558
|
|
|
179002
179559
|
var Registry = _dereq_('../../registry');
|
|
@@ -179033,7 +179590,7 @@ module.exports = function handleSampleDefaults(traceIn, traceOut, coerce, layout
|
|
|
179033
179590
|
coerce('autobiny');
|
|
179034
179591
|
};
|
|
179035
179592
|
|
|
179036
|
-
},{"../../lib":371,"../../registry":501}],
|
|
179593
|
+
},{"../../lib":371,"../../registry":501}],694:[function(_dereq_,module,exports){
|
|
179037
179594
|
'use strict';
|
|
179038
179595
|
|
|
179039
179596
|
var histogram2dAttrs = _dereq_('../histogram2d/attributes');
|
|
@@ -179077,7 +179634,9 @@ module.exports = extendFlat({
|
|
|
179077
179634
|
xhoverformat: axisHoverFormat('x'),
|
|
179078
179635
|
yhoverformat: axisHoverFormat('y'),
|
|
179079
179636
|
zhoverformat: axisHoverFormat('z', 1),
|
|
179080
|
-
hovertemplate: histogram2dAttrs.hovertemplate
|
|
179637
|
+
hovertemplate: histogram2dAttrs.hovertemplate,
|
|
179638
|
+
texttemplate: contourAttrs.texttemplate,
|
|
179639
|
+
textfont: contourAttrs.textfont
|
|
179081
179640
|
},
|
|
179082
179641
|
colorScaleAttrs('', {
|
|
179083
179642
|
cLetter: 'z',
|
|
@@ -179085,7 +179644,7 @@ module.exports = extendFlat({
|
|
|
179085
179644
|
})
|
|
179086
179645
|
);
|
|
179087
179646
|
|
|
179088
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../contour/attributes":598,"../histogram2d/attributes":
|
|
179647
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../contour/attributes":598,"../histogram2d/attributes":688}],695:[function(_dereq_,module,exports){
|
|
179089
179648
|
'use strict';
|
|
179090
179649
|
|
|
179091
179650
|
var Lib = _dereq_('../../lib');
|
|
@@ -179093,6 +179652,7 @@ var Lib = _dereq_('../../lib');
|
|
|
179093
179652
|
var handleSampleDefaults = _dereq_('../histogram2d/sample_defaults');
|
|
179094
179653
|
var handleContoursDefaults = _dereq_('../contour/contours_defaults');
|
|
179095
179654
|
var handleStyleDefaults = _dereq_('../contour/style_defaults');
|
|
179655
|
+
var handleHeatmapLabelDefaults = _dereq_('../heatmap/label_defaults');
|
|
179096
179656
|
var attributes = _dereq_('./attributes');
|
|
179097
179657
|
|
|
179098
179658
|
|
|
@@ -179110,12 +179670,18 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
179110
179670
|
|
|
179111
179671
|
handleContoursDefaults(traceIn, traceOut, coerce, coerce2);
|
|
179112
179672
|
handleStyleDefaults(traceIn, traceOut, coerce, layout);
|
|
179113
|
-
coerce('hovertemplate');
|
|
179114
179673
|
coerce('xhoverformat');
|
|
179115
179674
|
coerce('yhoverformat');
|
|
179675
|
+
coerce('hovertemplate');
|
|
179676
|
+
if(
|
|
179677
|
+
traceOut.contours &&
|
|
179678
|
+
traceOut.contours.coloring === 'heatmap'
|
|
179679
|
+
) {
|
|
179680
|
+
handleHeatmapLabelDefaults(coerce, layout);
|
|
179681
|
+
}
|
|
179116
179682
|
};
|
|
179117
179683
|
|
|
179118
|
-
},{"../../lib":371,"../contour/contours_defaults":605,"../contour/style_defaults":619,"../histogram2d/sample_defaults":
|
|
179684
|
+
},{"../../lib":371,"../contour/contours_defaults":605,"../contour/style_defaults":619,"../heatmap/label_defaults":665,"../histogram2d/sample_defaults":693,"./attributes":694}],696:[function(_dereq_,module,exports){
|
|
179119
179685
|
'use strict';
|
|
179120
179686
|
|
|
179121
179687
|
module.exports = {
|
|
@@ -179137,7 +179703,7 @@ module.exports = {
|
|
|
179137
179703
|
}
|
|
179138
179704
|
};
|
|
179139
179705
|
|
|
179140
|
-
},{"../../plots/cartesian":435,"../contour/calc":599,"../contour/colorbar":601,"../contour/hover":611,"../contour/plot":616,"../contour/style":618,"../histogram/cross_trace_defaults":
|
|
179706
|
+
},{"../../plots/cartesian":435,"../contour/calc":599,"../contour/colorbar":601,"../contour/hover":611,"../contour/plot":616,"../contour/style":618,"../histogram/cross_trace_defaults":682,"./attributes":694,"./defaults":695}],697:[function(_dereq_,module,exports){
|
|
179141
179707
|
'use strict';
|
|
179142
179708
|
|
|
179143
179709
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
@@ -179224,7 +179790,7 @@ module.exports = {
|
|
|
179224
179790
|
domain: domainAttrs({name: 'icicle', trace: true, editType: 'calc'}),
|
|
179225
179791
|
};
|
|
179226
179792
|
|
|
179227
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/domain":451,"../../plots/template_attributes":496,"../pie/attributes":
|
|
179793
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/domain":451,"../../plots/template_attributes":496,"../pie/attributes":752,"../sunburst/attributes":859,"../treemap/attributes":885,"../treemap/constants":888}],698:[function(_dereq_,module,exports){
|
|
179228
179794
|
'use strict';
|
|
179229
179795
|
|
|
179230
179796
|
var plots = _dereq_('../../plots/plots');
|
|
@@ -179239,7 +179805,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
|
|
|
179239
179805
|
plots.cleanBasePlot(exports.name, newFullData, newFullLayout, oldFullData, oldFullLayout);
|
|
179240
179806
|
};
|
|
179241
179807
|
|
|
179242
|
-
},{"../../plots/plots":486}],
|
|
179808
|
+
},{"../../plots/plots":486}],699:[function(_dereq_,module,exports){
|
|
179243
179809
|
'use strict';
|
|
179244
179810
|
|
|
179245
179811
|
var calc = _dereq_('../sunburst/calc');
|
|
@@ -179252,7 +179818,7 @@ exports.crossTraceCalc = function(gd) {
|
|
|
179252
179818
|
return calc._runCrossTraceCalc('icicle', gd);
|
|
179253
179819
|
};
|
|
179254
179820
|
|
|
179255
|
-
},{"../sunburst/calc":
|
|
179821
|
+
},{"../sunburst/calc":861}],700:[function(_dereq_,module,exports){
|
|
179256
179822
|
'use strict';
|
|
179257
179823
|
|
|
179258
179824
|
var Lib = _dereq_('../../lib');
|
|
@@ -179355,7 +179921,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
179355
179921
|
traceOut._length = null;
|
|
179356
179922
|
};
|
|
179357
179923
|
|
|
179358
|
-
},{"../../components/color":234,"../../components/colorscale":246,"../../lib":371,"../../plots/domain":451,"../bar/constants":513,"../bar/defaults":515,"./attributes":
|
|
179924
|
+
},{"../../components/color":234,"../../components/colorscale":246,"../../lib":371,"../../plots/domain":451,"../bar/constants":513,"../bar/defaults":515,"./attributes":697}],701:[function(_dereq_,module,exports){
|
|
179359
179925
|
'use strict';
|
|
179360
179926
|
|
|
179361
179927
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -179563,7 +180129,7 @@ module.exports = function drawDescendants(gd, cd, entry, slices, opts) {
|
|
|
179563
180129
|
return nextOfPrevEntry;
|
|
179564
180130
|
};
|
|
179565
180131
|
|
|
179566
|
-
},{"../../components/drawing":256,"../../lib":371,"../../lib/svg_text_utils":396,"../sunburst/fx":
|
|
180132
|
+
},{"../../components/drawing":256,"../../lib":371,"../../lib/svg_text_utils":396,"../sunburst/fx":864,"../sunburst/helpers":865,"../sunburst/plot":869,"../treemap/constants":888,"./partition":705,"./style":707,"@plotly/d3":53}],702:[function(_dereq_,module,exports){
|
|
179567
180133
|
'use strict';
|
|
179568
180134
|
|
|
179569
180135
|
module.exports = {
|
|
@@ -179590,7 +180156,7 @@ module.exports = {
|
|
|
179590
180156
|
}
|
|
179591
180157
|
};
|
|
179592
180158
|
|
|
179593
|
-
},{"../scatter/marker_colorbar":
|
|
180159
|
+
},{"../scatter/marker_colorbar":796,"./attributes":697,"./base_plot":698,"./calc":699,"./defaults":700,"./layout_attributes":703,"./layout_defaults":704,"./plot":706,"./style":707}],703:[function(_dereq_,module,exports){
|
|
179594
180160
|
'use strict';
|
|
179595
180161
|
|
|
179596
180162
|
module.exports = {
|
|
@@ -179605,7 +180171,7 @@ module.exports = {
|
|
|
179605
180171
|
}
|
|
179606
180172
|
};
|
|
179607
180173
|
|
|
179608
|
-
},{}],
|
|
180174
|
+
},{}],704:[function(_dereq_,module,exports){
|
|
179609
180175
|
'use strict';
|
|
179610
180176
|
|
|
179611
180177
|
var Lib = _dereq_('../../lib');
|
|
@@ -179619,7 +180185,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
|
|
|
179619
180185
|
coerce('extendiciclecolors');
|
|
179620
180186
|
};
|
|
179621
180187
|
|
|
179622
|
-
},{"../../lib":371,"./layout_attributes":
|
|
180188
|
+
},{"../../lib":371,"./layout_attributes":703}],705:[function(_dereq_,module,exports){
|
|
179623
180189
|
'use strict';
|
|
179624
180190
|
|
|
179625
180191
|
var d3Hierarchy = _dereq_('d3-hierarchy');
|
|
@@ -179655,7 +180221,7 @@ module.exports = function partition(entry, size, opts) {
|
|
|
179655
180221
|
return result;
|
|
179656
180222
|
};
|
|
179657
180223
|
|
|
179658
|
-
},{"../treemap/flip_tree":
|
|
180224
|
+
},{"../treemap/flip_tree":893,"d3-hierarchy":87}],706:[function(_dereq_,module,exports){
|
|
179659
180225
|
'use strict';
|
|
179660
180226
|
|
|
179661
180227
|
var draw = _dereq_('../treemap/draw');
|
|
@@ -179668,7 +180234,7 @@ module.exports = function _plot(gd, cdmodule, transitionOpts, makeOnCompleteCall
|
|
|
179668
180234
|
});
|
|
179669
180235
|
};
|
|
179670
180236
|
|
|
179671
|
-
},{"../treemap/draw":
|
|
180237
|
+
},{"../treemap/draw":890,"./draw_descendants":701}],707:[function(_dereq_,module,exports){
|
|
179672
180238
|
'use strict';
|
|
179673
180239
|
|
|
179674
180240
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -179711,7 +180277,7 @@ module.exports = {
|
|
|
179711
180277
|
styleOne: styleOne
|
|
179712
180278
|
};
|
|
179713
180279
|
|
|
179714
|
-
},{"../../components/color":234,"../../lib":371,"../bar/uniform_text":527,"@plotly/d3":53}],
|
|
180280
|
+
},{"../../components/color":234,"../../lib":371,"../bar/uniform_text":527,"@plotly/d3":53}],708:[function(_dereq_,module,exports){
|
|
179715
180281
|
'use strict';
|
|
179716
180282
|
|
|
179717
180283
|
var baseAttrs = _dereq_('../../plots/attributes');
|
|
@@ -179807,7 +180373,7 @@ module.exports = extendFlat({
|
|
|
179807
180373
|
transforms: undefined
|
|
179808
180374
|
});
|
|
179809
180375
|
|
|
179810
|
-
},{"../../lib/extend":361,"../../plots/attributes":417,"../../plots/template_attributes":496,"./constants":
|
|
180376
|
+
},{"../../lib/extend":361,"../../plots/attributes":417,"../../plots/template_attributes":496,"./constants":710}],709:[function(_dereq_,module,exports){
|
|
179811
180377
|
'use strict';
|
|
179812
180378
|
|
|
179813
180379
|
var Lib = _dereq_('../../lib');
|
|
@@ -179897,7 +180463,7 @@ function makeScaler(trace) {
|
|
|
179897
180463
|
};
|
|
179898
180464
|
}
|
|
179899
180465
|
|
|
179900
|
-
},{"../../lib":371,"../../plots/cartesian/axes":421,"./constants":
|
|
180466
|
+
},{"../../lib":371,"../../plots/cartesian/axes":421,"./constants":710,"./helpers":713,"fast-isnumeric":99}],710:[function(_dereq_,module,exports){
|
|
179901
180467
|
'use strict';
|
|
179902
180468
|
|
|
179903
180469
|
module.exports = {
|
|
@@ -179963,7 +180529,7 @@ module.exports = {
|
|
|
179963
180529
|
].join('; ')
|
|
179964
180530
|
};
|
|
179965
180531
|
|
|
179966
|
-
},{}],
|
|
180532
|
+
},{}],711:[function(_dereq_,module,exports){
|
|
179967
180533
|
'use strict';
|
|
179968
180534
|
|
|
179969
180535
|
var Lib = _dereq_('../../lib');
|
|
@@ -180013,7 +180579,7 @@ module.exports = function supplyDefaults(traceIn, traceOut) {
|
|
|
180013
180579
|
traceOut._length = null;
|
|
180014
180580
|
};
|
|
180015
180581
|
|
|
180016
|
-
},{"../../lib":371,"../../snapshot/helpers":505,"./attributes":
|
|
180582
|
+
},{"../../lib":371,"../../snapshot/helpers":505,"./attributes":708,"./constants":710}],712:[function(_dereq_,module,exports){
|
|
180017
180583
|
'use strict';
|
|
180018
180584
|
|
|
180019
180585
|
module.exports = function eventData(out, pt) {
|
|
@@ -180027,7 +180593,7 @@ module.exports = function eventData(out, pt) {
|
|
|
180027
180593
|
return out;
|
|
180028
180594
|
};
|
|
180029
180595
|
|
|
180030
|
-
},{}],
|
|
180596
|
+
},{}],713:[function(_dereq_,module,exports){
|
|
180031
180597
|
'use strict';
|
|
180032
180598
|
|
|
180033
180599
|
var probeSync = _dereq_('probe-image-size/sync');
|
|
@@ -180040,7 +180606,7 @@ exports.getImageSize = function(src) {
|
|
|
180040
180606
|
return probeSync(buff);
|
|
180041
180607
|
};
|
|
180042
180608
|
|
|
180043
|
-
},{"../../snapshot/helpers":505,"buffer/":70,"probe-image-size/sync":170}],
|
|
180609
|
+
},{"../../snapshot/helpers":505,"buffer/":70,"probe-image-size/sync":170}],714:[function(_dereq_,module,exports){
|
|
180044
180610
|
'use strict';
|
|
180045
180611
|
|
|
180046
180612
|
var Fx = _dereq_('../../components/fx');
|
|
@@ -180132,7 +180698,7 @@ module.exports = function hoverPoints(pointData, xval, yval) {
|
|
|
180132
180698
|
})];
|
|
180133
180699
|
};
|
|
180134
180700
|
|
|
180135
|
-
},{"../../components/fx":274,"../../lib":371,"./constants":
|
|
180701
|
+
},{"../../components/fx":274,"../../lib":371,"./constants":710}],715:[function(_dereq_,module,exports){
|
|
180136
180702
|
'use strict';
|
|
180137
180703
|
|
|
180138
180704
|
module.exports = {
|
|
@@ -180153,7 +180719,7 @@ module.exports = {
|
|
|
180153
180719
|
}
|
|
180154
180720
|
};
|
|
180155
180721
|
|
|
180156
|
-
},{"../../plots/cartesian":435,"./attributes":
|
|
180722
|
+
},{"../../plots/cartesian":435,"./attributes":708,"./calc":709,"./defaults":711,"./event_data":712,"./hover":714,"./plot":716,"./style":717}],716:[function(_dereq_,module,exports){
|
|
180157
180723
|
'use strict';
|
|
180158
180724
|
|
|
180159
180725
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -180376,7 +180942,7 @@ module.exports = function plot(gd, plotinfo, cdimage, imageLayer) {
|
|
|
180376
180942
|
});
|
|
180377
180943
|
};
|
|
180378
180944
|
|
|
180379
|
-
},{"../../constants/xmlns_namespaces":348,"../../lib":371,"./constants":
|
|
180945
|
+
},{"../../constants/xmlns_namespaces":348,"../../lib":371,"./constants":710,"@plotly/d3":53}],717:[function(_dereq_,module,exports){
|
|
180380
180946
|
'use strict';
|
|
180381
180947
|
|
|
180382
180948
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -180388,7 +180954,7 @@ module.exports = function style(gd) {
|
|
|
180388
180954
|
});
|
|
180389
180955
|
};
|
|
180390
180956
|
|
|
180391
|
-
},{"@plotly/d3":53}],
|
|
180957
|
+
},{"@plotly/d3":53}],718:[function(_dereq_,module,exports){
|
|
180392
180958
|
'use strict';
|
|
180393
180959
|
|
|
180394
180960
|
var extendFlat = _dereq_('../../lib/extend').extendFlat;
|
|
@@ -180641,7 +181207,7 @@ module.exports = {
|
|
|
180641
181207
|
}
|
|
180642
181208
|
};
|
|
180643
181209
|
|
|
180644
|
-
},{"../../components/color/attributes":233,"../../constants/delta.js":341,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plot_api/plot_template":410,"../../plots/cartesian/axis_format_attributes":424,"../../plots/cartesian/layout_attributes":436,"../../plots/domain":451,"../../plots/font_attributes":452}],
|
|
181210
|
+
},{"../../components/color/attributes":233,"../../constants/delta.js":341,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plot_api/plot_template":410,"../../plots/cartesian/axis_format_attributes":424,"../../plots/cartesian/layout_attributes":436,"../../plots/domain":451,"../../plots/font_attributes":452}],719:[function(_dereq_,module,exports){
|
|
180645
181211
|
'use strict';
|
|
180646
181212
|
|
|
180647
181213
|
var plots = _dereq_('../../plots/plots');
|
|
@@ -180656,7 +181222,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
|
|
|
180656
181222
|
plots.cleanBasePlot(exports.name, newFullData, newFullLayout, oldFullData, oldFullLayout);
|
|
180657
181223
|
};
|
|
180658
181224
|
|
|
180659
|
-
},{"../../plots/plots":486}],
|
|
181225
|
+
},{"../../plots/plots":486}],720:[function(_dereq_,module,exports){
|
|
180660
181226
|
'use strict';
|
|
180661
181227
|
|
|
180662
181228
|
// var Lib = require('../../lib');
|
|
@@ -180685,7 +181251,7 @@ module.exports = {
|
|
|
180685
181251
|
calc: calc
|
|
180686
181252
|
};
|
|
180687
181253
|
|
|
180688
|
-
},{}],
|
|
181254
|
+
},{}],721:[function(_dereq_,module,exports){
|
|
180689
181255
|
'use strict';
|
|
180690
181256
|
|
|
180691
181257
|
module.exports = {
|
|
@@ -180699,7 +181265,7 @@ module.exports = {
|
|
|
180699
181265
|
horizontalPadding: 10
|
|
180700
181266
|
};
|
|
180701
181267
|
|
|
180702
|
-
},{}],
|
|
181268
|
+
},{}],722:[function(_dereq_,module,exports){
|
|
180703
181269
|
'use strict';
|
|
180704
181270
|
|
|
180705
181271
|
var Lib = _dereq_('../../lib');
|
|
@@ -180860,7 +181426,7 @@ module.exports = {
|
|
|
180860
181426
|
supplyDefaults: supplyDefaults
|
|
180861
181427
|
};
|
|
180862
181428
|
|
|
180863
|
-
},{"../../lib":371,"../../plot_api/plot_template":410,"../../plots/array_container_defaults":416,"../../plots/cartesian/prefix_suffix_defaults":440,"../../plots/cartesian/tick_label_defaults":445,"../../plots/cartesian/tick_mark_defaults":446,"../../plots/cartesian/tick_value_defaults":447,"../../plots/domain":451,"./attributes":
|
|
181429
|
+
},{"../../lib":371,"../../plot_api/plot_template":410,"../../plots/array_container_defaults":416,"../../plots/cartesian/prefix_suffix_defaults":440,"../../plots/cartesian/tick_label_defaults":445,"../../plots/cartesian/tick_mark_defaults":446,"../../plots/cartesian/tick_value_defaults":447,"../../plots/domain":451,"./attributes":718,"./constants.js":721}],723:[function(_dereq_,module,exports){
|
|
180864
181430
|
'use strict';
|
|
180865
181431
|
|
|
180866
181432
|
module.exports = {
|
|
@@ -180881,7 +181447,7 @@ module.exports = {
|
|
|
180881
181447
|
}
|
|
180882
181448
|
};
|
|
180883
181449
|
|
|
180884
|
-
},{"./attributes":
|
|
181450
|
+
},{"./attributes":718,"./base_plot":719,"./calc":720,"./defaults":722,"./plot":724}],724:[function(_dereq_,module,exports){
|
|
180885
181451
|
'use strict';
|
|
180886
181452
|
|
|
180887
181453
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -181755,7 +182321,7 @@ function cache(trace, name, initialValue, value, key, fn) {
|
|
|
181755
182321
|
return v;
|
|
181756
182322
|
}
|
|
181757
182323
|
|
|
181758
|
-
},{"../../components/color":234,"../../components/drawing":256,"../../constants/alignment":339,"../../lib":371,"../../lib/svg_text_utils":396,"../../plots/cartesian/axes":421,"../../plots/cartesian/axis_defaults":423,"../../plots/cartesian/layout_attributes":436,"../../plots/cartesian/position_defaults":439,"./constants":
|
|
182324
|
+
},{"../../components/color":234,"../../components/drawing":256,"../../constants/alignment":339,"../../lib":371,"../../lib/svg_text_utils":396,"../../plots/cartesian/axes":421,"../../plots/cartesian/axis_defaults":423,"../../plots/cartesian/layout_attributes":436,"../../plots/cartesian/position_defaults":439,"./constants":721,"@plotly/d3":53,"d3-interpolate":88}],725:[function(_dereq_,module,exports){
|
|
181759
182325
|
'use strict';
|
|
181760
182326
|
|
|
181761
182327
|
var colorScaleAttrs = _dereq_('../../components/colorscale/attributes');
|
|
@@ -181909,7 +182475,7 @@ attrs.flatshading.dflt = true; attrs.lighting.facenormalsepsilon.dflt = 0;
|
|
|
181909
182475
|
attrs.x.editType = attrs.y.editType = attrs.z.editType = attrs.value.editType = 'calc+clearAxisTypes';
|
|
181910
182476
|
attrs.transforms = undefined;
|
|
181911
182477
|
|
|
181912
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../mesh3d/attributes":
|
|
182478
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../mesh3d/attributes":730}],726:[function(_dereq_,module,exports){
|
|
181913
182479
|
'use strict';
|
|
181914
182480
|
|
|
181915
182481
|
var colorscaleCalc = _dereq_('../../components/colorscale/calc');
|
|
@@ -181956,7 +182522,7 @@ module.exports = function calc(gd, trace) {
|
|
|
181956
182522
|
});
|
|
181957
182523
|
};
|
|
181958
182524
|
|
|
181959
|
-
},{"../../components/colorscale/calc":242,"../streamtube/calc":
|
|
182525
|
+
},{"../../components/colorscale/calc":242,"../streamtube/calc":855}],727:[function(_dereq_,module,exports){
|
|
181960
182526
|
'use strict';
|
|
181961
182527
|
|
|
181962
182528
|
var createMesh = _dereq_('../../../stackgl_modules').gl_mesh3d;
|
|
@@ -183004,7 +183570,7 @@ module.exports = {
|
|
|
183004
183570
|
createIsosurfaceTrace: createIsosurfaceTrace,
|
|
183005
183571
|
};
|
|
183006
183572
|
|
|
183007
|
-
},{"../../../stackgl_modules":
|
|
183573
|
+
},{"../../../stackgl_modules":934,"../../components/colorscale":246,"../../lib/gl_format_color":367,"../../lib/str2rgbarray":395,"../../plots/gl3d/zip3":476}],728:[function(_dereq_,module,exports){
|
|
183008
183574
|
'use strict';
|
|
183009
183575
|
|
|
183010
183576
|
var Lib = _dereq_('../../lib');
|
|
@@ -183116,7 +183682,7 @@ module.exports = {
|
|
|
183116
183682
|
supplyIsoDefaults: supplyIsoDefaults
|
|
183117
183683
|
};
|
|
183118
183684
|
|
|
183119
|
-
},{"../../components/colorscale/defaults":244,"../../lib":371,"../../registry":501,"./attributes":
|
|
183685
|
+
},{"../../components/colorscale/defaults":244,"../../lib":371,"../../registry":501,"./attributes":725}],729:[function(_dereq_,module,exports){
|
|
183120
183686
|
'use strict';
|
|
183121
183687
|
|
|
183122
183688
|
module.exports = {
|
|
@@ -183137,7 +183703,7 @@ module.exports = {
|
|
|
183137
183703
|
}
|
|
183138
183704
|
};
|
|
183139
183705
|
|
|
183140
|
-
},{"../../plots/gl3d":465,"./attributes":
|
|
183706
|
+
},{"../../plots/gl3d":465,"./attributes":725,"./calc":726,"./convert":727,"./defaults":728}],730:[function(_dereq_,module,exports){
|
|
183141
183707
|
'use strict';
|
|
183142
183708
|
|
|
183143
183709
|
var colorScaleAttrs = _dereq_('../../components/colorscale/attributes');
|
|
@@ -183285,7 +183851,7 @@ colorScaleAttrs('', {
|
|
|
183285
183851
|
showlegend: extendFlat({}, baseAttrs.showlegend, {dflt: false})
|
|
183286
183852
|
});
|
|
183287
183853
|
|
|
183288
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../surface/attributes":
|
|
183854
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../surface/attributes":871}],731:[function(_dereq_,module,exports){
|
|
183289
183855
|
'use strict';
|
|
183290
183856
|
|
|
183291
183857
|
var colorscaleCalc = _dereq_('../../components/colorscale/calc');
|
|
@@ -183300,7 +183866,7 @@ module.exports = function calc(gd, trace) {
|
|
|
183300
183866
|
}
|
|
183301
183867
|
};
|
|
183302
183868
|
|
|
183303
|
-
},{"../../components/colorscale/calc":242}],
|
|
183869
|
+
},{"../../components/colorscale/calc":242}],732:[function(_dereq_,module,exports){
|
|
183304
183870
|
'use strict';
|
|
183305
183871
|
|
|
183306
183872
|
var createMesh = _dereq_('../../../stackgl_modules').gl_mesh3d;
|
|
@@ -183495,7 +184061,7 @@ function createMesh3DTrace(scene, data) {
|
|
|
183495
184061
|
|
|
183496
184062
|
module.exports = createMesh3DTrace;
|
|
183497
184063
|
|
|
183498
|
-
},{"../../../stackgl_modules":
|
|
184064
|
+
},{"../../../stackgl_modules":934,"../../components/colorscale":246,"../../lib/gl_format_color":367,"../../lib/str2rgbarray":395,"../../plots/gl3d/zip3":476}],733:[function(_dereq_,module,exports){
|
|
183499
184065
|
'use strict';
|
|
183500
184066
|
|
|
183501
184067
|
var Registry = _dereq_('../../registry');
|
|
@@ -183591,7 +184157,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
183591
184157
|
traceOut._length = null;
|
|
183592
184158
|
};
|
|
183593
184159
|
|
|
183594
|
-
},{"../../components/colorscale/defaults":244,"../../lib":371,"../../registry":501,"./attributes":
|
|
184160
|
+
},{"../../components/colorscale/defaults":244,"../../lib":371,"../../registry":501,"./attributes":730}],734:[function(_dereq_,module,exports){
|
|
183595
184161
|
'use strict';
|
|
183596
184162
|
|
|
183597
184163
|
module.exports = {
|
|
@@ -183612,7 +184178,7 @@ module.exports = {
|
|
|
183612
184178
|
}
|
|
183613
184179
|
};
|
|
183614
184180
|
|
|
183615
|
-
},{"../../plots/gl3d":465,"./attributes":
|
|
184181
|
+
},{"../../plots/gl3d":465,"./attributes":730,"./calc":731,"./convert":732,"./defaults":733}],735:[function(_dereq_,module,exports){
|
|
183616
184182
|
'use strict';
|
|
183617
184183
|
|
|
183618
184184
|
var extendFlat = _dereq_('../../lib').extendFlat;
|
|
@@ -183714,7 +184280,7 @@ module.exports = {
|
|
|
183714
184280
|
}),
|
|
183715
184281
|
};
|
|
183716
184282
|
|
|
183717
|
-
},{"../../components/drawing/attributes":255,"../../components/fx/attributes":265,"../../constants/delta.js":341,"../../lib":371,"../../plots/cartesian/axis_format_attributes":424,"../scatter/attributes":
|
|
184283
|
+
},{"../../components/drawing/attributes":255,"../../components/fx/attributes":265,"../../constants/delta.js":341,"../../lib":371,"../../plots/cartesian/axis_format_attributes":424,"../scatter/attributes":778}],736:[function(_dereq_,module,exports){
|
|
183718
184284
|
'use strict';
|
|
183719
184285
|
|
|
183720
184286
|
var Lib = _dereq_('../../lib');
|
|
@@ -183887,7 +184453,7 @@ module.exports = {
|
|
|
183887
184453
|
calcCommon: calcCommon
|
|
183888
184454
|
};
|
|
183889
184455
|
|
|
183890
|
-
},{"../../constants/numerical":347,"../../lib":371,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421}],
|
|
184456
|
+
},{"../../constants/numerical":347,"../../lib":371,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421}],737:[function(_dereq_,module,exports){
|
|
183891
184457
|
'use strict';
|
|
183892
184458
|
|
|
183893
184459
|
var Lib = _dereq_('../../lib');
|
|
@@ -183929,7 +184495,7 @@ function handleDirection(traceIn, traceOut, coerce, direction) {
|
|
|
183929
184495
|
coerce(direction + '.line.dash', traceOut.line.dash);
|
|
183930
184496
|
}
|
|
183931
184497
|
|
|
183932
|
-
},{"../../lib":371,"../scatter/period_defaults":
|
|
184498
|
+
},{"../../lib":371,"../scatter/period_defaults":798,"./attributes":735,"./ohlc_defaults":740}],738:[function(_dereq_,module,exports){
|
|
183933
184499
|
'use strict';
|
|
183934
184500
|
|
|
183935
184501
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -184128,7 +184694,7 @@ module.exports = {
|
|
|
184128
184694
|
hoverOnPoints: hoverOnPoints
|
|
184129
184695
|
};
|
|
184130
184696
|
|
|
184131
|
-
},{"../../components/color":234,"../../components/fx":274,"../../constants/delta.js":341,"../../lib":371,"../../plots/cartesian/axes":421}],
|
|
184697
|
+
},{"../../components/color":234,"../../components/fx":274,"../../constants/delta.js":341,"../../lib":371,"../../plots/cartesian/axes":421}],739:[function(_dereq_,module,exports){
|
|
184132
184698
|
'use strict';
|
|
184133
184699
|
|
|
184134
184700
|
module.exports = {
|
|
@@ -184148,7 +184714,7 @@ module.exports = {
|
|
|
184148
184714
|
selectPoints: _dereq_('./select')
|
|
184149
184715
|
};
|
|
184150
184716
|
|
|
184151
|
-
},{"../../plots/cartesian":435,"./attributes":
|
|
184717
|
+
},{"../../plots/cartesian":435,"./attributes":735,"./calc":736,"./defaults":737,"./hover":738,"./plot":741,"./select":742,"./style":743}],740:[function(_dereq_,module,exports){
|
|
184152
184718
|
'use strict';
|
|
184153
184719
|
|
|
184154
184720
|
var Registry = _dereq_('../../registry');
|
|
@@ -184175,7 +184741,7 @@ module.exports = function handleOHLC(traceIn, traceOut, coerce, layout) {
|
|
|
184175
184741
|
return len;
|
|
184176
184742
|
};
|
|
184177
184743
|
|
|
184178
|
-
},{"../../lib":371,"../../registry":501}],
|
|
184744
|
+
},{"../../lib":371,"../../registry":501}],741:[function(_dereq_,module,exports){
|
|
184179
184745
|
'use strict';
|
|
184180
184746
|
|
|
184181
184747
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -184225,7 +184791,7 @@ module.exports = function plot(gd, plotinfo, cdOHLC, ohlcLayer) {
|
|
|
184225
184791
|
});
|
|
184226
184792
|
};
|
|
184227
184793
|
|
|
184228
|
-
},{"../../lib":371,"@plotly/d3":53}],
|
|
184794
|
+
},{"../../lib":371,"@plotly/d3":53}],742:[function(_dereq_,module,exports){
|
|
184229
184795
|
'use strict';
|
|
184230
184796
|
|
|
184231
184797
|
module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
@@ -184262,7 +184828,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
184262
184828
|
return selection;
|
|
184263
184829
|
};
|
|
184264
184830
|
|
|
184265
|
-
},{}],
|
|
184831
|
+
},{}],743:[function(_dereq_,module,exports){
|
|
184266
184832
|
'use strict';
|
|
184267
184833
|
|
|
184268
184834
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -184293,7 +184859,7 @@ module.exports = function style(gd, cd, sel) {
|
|
|
184293
184859
|
});
|
|
184294
184860
|
};
|
|
184295
184861
|
|
|
184296
|
-
},{"../../components/color":234,"../../components/drawing":256,"@plotly/d3":53}],
|
|
184862
|
+
},{"../../components/color":234,"../../components/drawing":256,"@plotly/d3":53}],744:[function(_dereq_,module,exports){
|
|
184297
184863
|
'use strict';
|
|
184298
184864
|
|
|
184299
184865
|
var extendFlat = _dereq_('../../lib/extend').extendFlat;
|
|
@@ -184431,7 +184997,7 @@ module.exports = {
|
|
|
184431
184997
|
showlegend: undefined
|
|
184432
184998
|
};
|
|
184433
184999
|
|
|
184434
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/domain":451,"../../plots/font_attributes":452,"../../plots/template_attributes":496}],
|
|
185000
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/domain":451,"../../plots/font_attributes":452,"../../plots/template_attributes":496}],745:[function(_dereq_,module,exports){
|
|
184435
185001
|
'use strict';
|
|
184436
185002
|
|
|
184437
185003
|
var getModuleCalcData = _dereq_('../../plots/get_data').getModuleCalcData;
|
|
@@ -184458,7 +185024,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
|
|
|
184458
185024
|
}
|
|
184459
185025
|
};
|
|
184460
185026
|
|
|
184461
|
-
},{"../../plots/get_data":460,"./plot":
|
|
185027
|
+
},{"../../plots/get_data":460,"./plot":750}],746:[function(_dereq_,module,exports){
|
|
184462
185028
|
'use strict';
|
|
184463
185029
|
|
|
184464
185030
|
// Requirements
|
|
@@ -184969,7 +185535,7 @@ function isRangePermutation(inds) {
|
|
|
184969
185535
|
return true;
|
|
184970
185536
|
}
|
|
184971
185537
|
|
|
184972
|
-
},{"../../components/colorscale/calc":242,"../../components/colorscale/helpers":245,"../../components/drawing":256,"../../lib":371,"../../lib/filter_unique.js":362,"../../lib/gup":368,"fast-isnumeric":99}],
|
|
185538
|
+
},{"../../components/colorscale/calc":242,"../../components/colorscale/helpers":245,"../../components/drawing":256,"../../lib":371,"../../lib/filter_unique.js":362,"../../lib/gup":368,"fast-isnumeric":99}],747:[function(_dereq_,module,exports){
|
|
184973
185539
|
'use strict';
|
|
184974
185540
|
|
|
184975
185541
|
var Lib = _dereq_('../../lib');
|
|
@@ -185082,7 +185648,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
185082
185648
|
Lib.coerceFont(coerce, 'tickfont', categoryfontDefault);
|
|
185083
185649
|
};
|
|
185084
185650
|
|
|
185085
|
-
},{"../../components/colorscale/defaults":244,"../../components/colorscale/helpers":245,"../../lib":371,"../../plots/array_container_defaults":416,"../../plots/domain":451,"../parcoords/merge_length":
|
|
185651
|
+
},{"../../components/colorscale/defaults":244,"../../components/colorscale/helpers":245,"../../lib":371,"../../plots/array_container_defaults":416,"../../plots/domain":451,"../parcoords/merge_length":751,"./attributes":744}],748:[function(_dereq_,module,exports){
|
|
185086
185652
|
'use strict';
|
|
185087
185653
|
|
|
185088
185654
|
module.exports = {
|
|
@@ -185104,7 +185670,7 @@ module.exports = {
|
|
|
185104
185670
|
}
|
|
185105
185671
|
};
|
|
185106
185672
|
|
|
185107
|
-
},{"./attributes":
|
|
185673
|
+
},{"./attributes":744,"./base_plot":745,"./calc":746,"./defaults":747,"./plot":750}],749:[function(_dereq_,module,exports){
|
|
185108
185674
|
'use strict';
|
|
185109
185675
|
|
|
185110
185676
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -187253,7 +187819,7 @@ function createDimensionViewModel(parcatsViewModel, dimensionModel) {
|
|
|
187253
187819
|
* The parent trace's view model
|
|
187254
187820
|
*/
|
|
187255
187821
|
|
|
187256
|
-
},{"../../components/drawing":256,"../../components/fx":274,"../../lib":371,"../../lib/svg_text_utils":396,"../../plot_api/plot_api":407,"@plotly/d3":53,"d3-interpolate":88,"tinycolor2":195}],
|
|
187822
|
+
},{"../../components/drawing":256,"../../components/fx":274,"../../lib":371,"../../lib/svg_text_utils":396,"../../plot_api/plot_api":407,"@plotly/d3":53,"d3-interpolate":88,"tinycolor2":195}],750:[function(_dereq_,module,exports){
|
|
187257
187823
|
'use strict';
|
|
187258
187824
|
|
|
187259
187825
|
|
|
@@ -187289,7 +187855,7 @@ module.exports = function plot(graphDiv, parcatsModels, transitionOpts, makeOnCo
|
|
|
187289
187855
|
);
|
|
187290
187856
|
};
|
|
187291
187857
|
|
|
187292
|
-
},{"./parcats":
|
|
187858
|
+
},{"./parcats":749}],751:[function(_dereq_,module,exports){
|
|
187293
187859
|
'use strict';
|
|
187294
187860
|
|
|
187295
187861
|
/**
|
|
@@ -187319,7 +187885,7 @@ module.exports = function(traceOut, dimensions, dataAttr, len) {
|
|
|
187319
187885
|
return len;
|
|
187320
187886
|
};
|
|
187321
187887
|
|
|
187322
|
-
},{}],
|
|
187888
|
+
},{}],752:[function(_dereq_,module,exports){
|
|
187323
187889
|
'use strict';
|
|
187324
187890
|
|
|
187325
187891
|
var baseAttrs = _dereq_('../../plots/attributes');
|
|
@@ -187534,7 +188100,7 @@ module.exports = {
|
|
|
187534
188100
|
}
|
|
187535
188101
|
};
|
|
187536
188102
|
|
|
187537
|
-
},{"../../components/color/attributes":233,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/domain":451,"../../plots/font_attributes":452,"../../plots/template_attributes":496}],
|
|
188103
|
+
},{"../../components/color/attributes":233,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/domain":451,"../../plots/font_attributes":452,"../../plots/template_attributes":496}],753:[function(_dereq_,module,exports){
|
|
187538
188104
|
'use strict';
|
|
187539
188105
|
|
|
187540
188106
|
var plots = _dereq_('../../plots/plots');
|
|
@@ -187549,7 +188115,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
|
|
|
187549
188115
|
plots.cleanBasePlot(exports.name, newFullData, newFullLayout, oldFullData, oldFullLayout);
|
|
187550
188116
|
};
|
|
187551
188117
|
|
|
187552
|
-
},{"../../plots/plots":486}],
|
|
188118
|
+
},{"../../plots/plots":486}],754:[function(_dereq_,module,exports){
|
|
187553
188119
|
'use strict';
|
|
187554
188120
|
|
|
187555
188121
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -187591,7 +188157,6 @@ function calc(gd, trace) {
|
|
|
187591
188157
|
v = vals[i];
|
|
187592
188158
|
if(!isNumeric(v)) continue;
|
|
187593
188159
|
v = +v;
|
|
187594
|
-
if(v < 0) continue;
|
|
187595
188160
|
} else v = 1;
|
|
187596
188161
|
|
|
187597
188162
|
label = labels[i];
|
|
@@ -187628,6 +188193,9 @@ function calc(gd, trace) {
|
|
|
187628
188193
|
}
|
|
187629
188194
|
}
|
|
187630
188195
|
|
|
188196
|
+
// Drop aggregate sums of value 0 or less
|
|
188197
|
+
cd = cd.filter(function(elem) { return elem.v >= 0; });
|
|
188198
|
+
|
|
187631
188199
|
var shouldSort = (trace.type === 'funnelarea') ? isAggregated : trace.sort;
|
|
187632
188200
|
if(shouldSort) cd.sort(function(a, b) { return b.v - a.v; });
|
|
187633
188201
|
|
|
@@ -187724,7 +188292,7 @@ module.exports = {
|
|
|
187724
188292
|
generateExtendedColors: generateExtendedColors
|
|
187725
188293
|
};
|
|
187726
188294
|
|
|
187727
|
-
},{"../../components/color":234,"fast-isnumeric":99,"tinycolor2":195}],
|
|
188295
|
+
},{"../../components/color":234,"fast-isnumeric":99,"tinycolor2":195}],755:[function(_dereq_,module,exports){
|
|
187728
188296
|
'use strict';
|
|
187729
188297
|
|
|
187730
188298
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -187847,7 +188415,7 @@ module.exports = {
|
|
|
187847
188415
|
supplyDefaults: supplyDefaults
|
|
187848
188416
|
};
|
|
187849
188417
|
|
|
187850
|
-
},{"../../lib":371,"../../plots/domain":451,"../bar/defaults":515,"./attributes":
|
|
188418
|
+
},{"../../lib":371,"../../plots/domain":451,"../bar/defaults":515,"./attributes":752,"fast-isnumeric":99}],756:[function(_dereq_,module,exports){
|
|
187851
188419
|
'use strict';
|
|
187852
188420
|
|
|
187853
188421
|
var appendArrayMultiPointValues = _dereq_('../../components/fx/helpers').appendArrayMultiPointValues;
|
|
@@ -187889,7 +188457,7 @@ module.exports = function eventData(pt, trace) {
|
|
|
187889
188457
|
return out;
|
|
187890
188458
|
};
|
|
187891
188459
|
|
|
187892
|
-
},{"../../components/fx/helpers":270}],
|
|
188460
|
+
},{"../../components/fx/helpers":270}],757:[function(_dereq_,module,exports){
|
|
187893
188461
|
'use strict';
|
|
187894
188462
|
|
|
187895
188463
|
var Lib = _dereq_('../../lib');
|
|
@@ -187929,7 +188497,7 @@ exports.getRotationAngle = function(rotation) {
|
|
|
187929
188497
|
return (rotation === 'auto' ? 0 : rotation) * Math.PI / 180;
|
|
187930
188498
|
};
|
|
187931
188499
|
|
|
187932
|
-
},{"../../lib":371}],
|
|
188500
|
+
},{"../../lib":371}],758:[function(_dereq_,module,exports){
|
|
187933
188501
|
'use strict';
|
|
187934
188502
|
|
|
187935
188503
|
module.exports = {
|
|
@@ -187953,7 +188521,7 @@ module.exports = {
|
|
|
187953
188521
|
}
|
|
187954
188522
|
};
|
|
187955
188523
|
|
|
187956
|
-
},{"./attributes":
|
|
188524
|
+
},{"./attributes":752,"./base_plot":753,"./calc":754,"./defaults":755,"./layout_attributes":759,"./layout_defaults":760,"./plot":761,"./style":762,"./style_one":763}],759:[function(_dereq_,module,exports){
|
|
187957
188525
|
'use strict';
|
|
187958
188526
|
|
|
187959
188527
|
module.exports = {
|
|
@@ -187972,7 +188540,7 @@ module.exports = {
|
|
|
187972
188540
|
}
|
|
187973
188541
|
};
|
|
187974
188542
|
|
|
187975
|
-
},{}],
|
|
188543
|
+
},{}],760:[function(_dereq_,module,exports){
|
|
187976
188544
|
'use strict';
|
|
187977
188545
|
|
|
187978
188546
|
var Lib = _dereq_('../../lib');
|
|
@@ -187989,7 +188557,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
|
|
|
187989
188557
|
coerce('extendpiecolors');
|
|
187990
188558
|
};
|
|
187991
188559
|
|
|
187992
|
-
},{"../../lib":371,"./layout_attributes":
|
|
188560
|
+
},{"../../lib":371,"./layout_attributes":759}],761:[function(_dereq_,module,exports){
|
|
187993
188561
|
'use strict';
|
|
187994
188562
|
|
|
187995
188563
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -189169,7 +189737,7 @@ module.exports = {
|
|
|
189169
189737
|
computeTransform: computeTransform
|
|
189170
189738
|
};
|
|
189171
189739
|
|
|
189172
|
-
},{"../../components/color":234,"../../components/drawing":256,"../../components/fx":274,"../../lib":371,"../../lib/svg_text_utils":396,"../../plots/plots":486,"../bar/constants":513,"../bar/uniform_text":527,"./event_data":
|
|
189740
|
+
},{"../../components/color":234,"../../components/drawing":256,"../../components/fx":274,"../../lib":371,"../../lib/svg_text_utils":396,"../../plots/plots":486,"../bar/constants":513,"../bar/uniform_text":527,"./event_data":756,"./helpers":757,"@plotly/d3":53}],762:[function(_dereq_,module,exports){
|
|
189173
189741
|
'use strict';
|
|
189174
189742
|
|
|
189175
189743
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -189194,7 +189762,7 @@ module.exports = function style(gd) {
|
|
|
189194
189762
|
});
|
|
189195
189763
|
};
|
|
189196
189764
|
|
|
189197
|
-
},{"../bar/uniform_text":527,"./style_one":
|
|
189765
|
+
},{"../bar/uniform_text":527,"./style_one":763,"@plotly/d3":53}],763:[function(_dereq_,module,exports){
|
|
189198
189766
|
'use strict';
|
|
189199
189767
|
|
|
189200
189768
|
var Color = _dereq_('../../components/color');
|
|
@@ -189210,7 +189778,7 @@ module.exports = function styleOne(s, pt, trace) {
|
|
|
189210
189778
|
.call(Color.stroke, lineColor);
|
|
189211
189779
|
};
|
|
189212
189780
|
|
|
189213
|
-
},{"../../components/color":234,"./helpers":
|
|
189781
|
+
},{"../../components/color":234,"./helpers":757}],764:[function(_dereq_,module,exports){
|
|
189214
189782
|
'use strict';
|
|
189215
189783
|
|
|
189216
189784
|
var scatterglAttrs = _dereq_('../scatter/attributes');
|
|
@@ -189294,7 +189862,7 @@ module.exports = {
|
|
|
189294
189862
|
transforms: undefined
|
|
189295
189863
|
};
|
|
189296
189864
|
|
|
189297
|
-
},{"../scatter/attributes":
|
|
189865
|
+
},{"../scatter/attributes":778}],765:[function(_dereq_,module,exports){
|
|
189298
189866
|
'use strict';
|
|
189299
189867
|
|
|
189300
189868
|
var createPointCloudRenderer = _dereq_('../../../stackgl_modules').gl_pointcloud2d;
|
|
@@ -189488,7 +190056,7 @@ function createPointcloud(scene, data) {
|
|
|
189488
190056
|
|
|
189489
190057
|
module.exports = createPointcloud;
|
|
189490
190058
|
|
|
189491
|
-
},{"../../../stackgl_modules":
|
|
190059
|
+
},{"../../../stackgl_modules":934,"../../lib/str2rgbarray":395,"../../plots/cartesian/autorange":420,"../scatter/get_trace_color":788}],766:[function(_dereq_,module,exports){
|
|
189492
190060
|
'use strict';
|
|
189493
190061
|
|
|
189494
190062
|
var Lib = _dereq_('../../lib');
|
|
@@ -189527,7 +190095,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor) {
|
|
|
189527
190095
|
traceOut._length = null;
|
|
189528
190096
|
};
|
|
189529
190097
|
|
|
189530
|
-
},{"../../lib":371,"./attributes":
|
|
190098
|
+
},{"../../lib":371,"./attributes":764}],767:[function(_dereq_,module,exports){
|
|
189531
190099
|
'use strict';
|
|
189532
190100
|
|
|
189533
190101
|
var deprecationWarning = [
|
|
@@ -189551,7 +190119,7 @@ module.exports = {
|
|
|
189551
190119
|
}
|
|
189552
190120
|
};
|
|
189553
190121
|
|
|
189554
|
-
},{"../../plots/gl2d":463,"../scatter3d/calc":
|
|
190122
|
+
},{"../../plots/gl2d":463,"../scatter3d/calc":807,"./attributes":764,"./convert":765,"./defaults":766}],768:[function(_dereq_,module,exports){
|
|
189555
190123
|
'use strict';
|
|
189556
190124
|
|
|
189557
190125
|
var fontAttrs = _dereq_('../../plots/font_attributes');
|
|
@@ -189739,7 +190307,7 @@ var attrs = module.exports = overrideAll({
|
|
|
189739
190307
|
}, 'calc', 'nested');
|
|
189740
190308
|
attrs.transforms = undefined;
|
|
189741
190309
|
|
|
189742
|
-
},{"../../components/color/attributes":233,"../../components/colorscale/attributes":241,"../../components/fx/attributes":265,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plot_api/plot_template":410,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/domain":451,"../../plots/font_attributes":452,"../../plots/template_attributes":496}],
|
|
190310
|
+
},{"../../components/color/attributes":233,"../../components/colorscale/attributes":241,"../../components/fx/attributes":265,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plot_api/plot_template":410,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/domain":451,"../../plots/font_attributes":452,"../../plots/template_attributes":496}],769:[function(_dereq_,module,exports){
|
|
189743
190311
|
'use strict';
|
|
189744
190312
|
|
|
189745
190313
|
var overrideAll = _dereq_('../../plot_api/edit_types').overrideAll;
|
|
@@ -189870,7 +190438,7 @@ function subplotUpdateFx(gd, index) {
|
|
|
189870
190438
|
dragElement.init(dragOptions);
|
|
189871
190439
|
}
|
|
189872
190440
|
|
|
189873
|
-
},{"../../components/dragelement":253,"../../components/fx/layout_attributes":275,"../../lib":371,"../../lib/setcursor":391,"../../plot_api/edit_types":403,"../../plots/cartesian/select":442,"../../plots/get_data":460,"../../registry":501,"./plot":
|
|
190441
|
+
},{"../../components/dragelement":253,"../../components/fx/layout_attributes":275,"../../lib":371,"../../lib/setcursor":391,"../../plot_api/edit_types":403,"../../plots/cartesian/select":442,"../../plots/get_data":460,"../../registry":501,"./plot":774}],770:[function(_dereq_,module,exports){
|
|
189874
190442
|
'use strict';
|
|
189875
190443
|
|
|
189876
190444
|
var tarjan = _dereq_('strongly-connected-components');
|
|
@@ -190051,7 +190619,7 @@ module.exports = function calc(gd, trace) {
|
|
|
190051
190619
|
});
|
|
190052
190620
|
};
|
|
190053
190621
|
|
|
190054
|
-
},{"../../components/colorscale":246,"../../lib":371,"../../lib/gup":368,"strongly-connected-components":193}],
|
|
190622
|
+
},{"../../components/colorscale":246,"../../lib":371,"../../lib/gup":368,"strongly-connected-components":193}],771:[function(_dereq_,module,exports){
|
|
190055
190623
|
'use strict';
|
|
190056
190624
|
|
|
190057
190625
|
module.exports = {
|
|
@@ -190074,7 +190642,7 @@ module.exports = {
|
|
|
190074
190642
|
}
|
|
190075
190643
|
};
|
|
190076
190644
|
|
|
190077
|
-
},{}],
|
|
190645
|
+
},{}],772:[function(_dereq_,module,exports){
|
|
190078
190646
|
'use strict';
|
|
190079
190647
|
|
|
190080
190648
|
var Lib = _dereq_('../../lib');
|
|
@@ -190180,7 +190748,7 @@ function concentrationscalesDefaults(In, Out) {
|
|
|
190180
190748
|
coerce('colorscale');
|
|
190181
190749
|
}
|
|
190182
190750
|
|
|
190183
|
-
},{"../../components/color":234,"../../components/fx/hoverlabel_defaults":272,"../../lib":371,"../../plot_api/plot_template":410,"../../plots/array_container_defaults":416,"../../plots/domain":451,"./attributes":
|
|
190751
|
+
},{"../../components/color":234,"../../components/fx/hoverlabel_defaults":272,"../../lib":371,"../../plot_api/plot_template":410,"../../plots/array_container_defaults":416,"../../plots/domain":451,"./attributes":768,"tinycolor2":195}],773:[function(_dereq_,module,exports){
|
|
190184
190752
|
'use strict';
|
|
190185
190753
|
|
|
190186
190754
|
module.exports = {
|
|
@@ -190198,7 +190766,7 @@ module.exports = {
|
|
|
190198
190766
|
}
|
|
190199
190767
|
};
|
|
190200
190768
|
|
|
190201
|
-
},{"./attributes":
|
|
190769
|
+
},{"./attributes":768,"./base_plot":769,"./calc":770,"./defaults":772,"./plot":774,"./select.js":776}],774:[function(_dereq_,module,exports){
|
|
190202
190770
|
'use strict';
|
|
190203
190771
|
|
|
190204
190772
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -190567,7 +191135,7 @@ module.exports = function plot(gd, calcData) {
|
|
|
190567
191135
|
);
|
|
190568
191136
|
};
|
|
190569
191137
|
|
|
190570
|
-
},{"../../components/color":234,"../../components/fx":274,"../../lib":371,"./constants":
|
|
191138
|
+
},{"../../components/color":234,"../../components/fx":274,"../../lib":371,"./constants":771,"./render":775,"@plotly/d3":53}],775:[function(_dereq_,module,exports){
|
|
190571
191139
|
'use strict';
|
|
190572
191140
|
|
|
190573
191141
|
var d3Force = _dereq_('d3-force');
|
|
@@ -191584,7 +192152,7 @@ module.exports = function(gd, svg, calcData, layout, callbacks) {
|
|
|
191584
192152
|
.ease(c.ease).duration(c.duration);
|
|
191585
192153
|
};
|
|
191586
192154
|
|
|
191587
|
-
},{"../../components/color":234,"../../components/drawing":256,"../../constants/alignment":339,"../../lib":371,"../../lib/gup":368,"../../lib/svg_text_utils":396,"../../registry":501,"./constants":
|
|
192155
|
+
},{"../../components/color":234,"../../components/drawing":256,"../../constants/alignment":339,"../../lib":371,"../../lib/gup":368,"../../lib/svg_text_utils":396,"../../registry":501,"./constants":771,"@plotly/d3":53,"@plotly/d3-sankey":52,"@plotly/d3-sankey-circular":51,"d3-force":83,"d3-interpolate":88,"tinycolor2":195}],776:[function(_dereq_,module,exports){
|
|
191588
192156
|
'use strict';
|
|
191589
192157
|
|
|
191590
192158
|
module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
@@ -191614,7 +192182,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
191614
192182
|
return selection;
|
|
191615
192183
|
};
|
|
191616
192184
|
|
|
191617
|
-
},{}],
|
|
192185
|
+
},{}],777:[function(_dereq_,module,exports){
|
|
191618
192186
|
'use strict';
|
|
191619
192187
|
|
|
191620
192188
|
var Lib = _dereq_('../../lib');
|
|
@@ -191657,7 +192225,7 @@ module.exports = function arraysToCalcdata(cd, trace) {
|
|
|
191657
192225
|
}
|
|
191658
192226
|
};
|
|
191659
192227
|
|
|
191660
|
-
},{"../../lib":371}],
|
|
192228
|
+
},{"../../lib":371}],778:[function(_dereq_,module,exports){
|
|
191661
192229
|
'use strict';
|
|
191662
192230
|
|
|
191663
192231
|
var axisHoverFormat = _dereq_('../../plots/cartesian/axis_format_attributes').axisHoverFormat;
|
|
@@ -192007,7 +192575,7 @@ module.exports = {
|
|
|
192007
192575
|
}),
|
|
192008
192576
|
};
|
|
192009
192577
|
|
|
192010
|
-
},{"../../components/colorscale/attributes":241,"../../components/drawing":256,"../../components/drawing/attributes":255,"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../../plots/font_attributes":452,"../../plots/template_attributes":496,"./constants":
|
|
192578
|
+
},{"../../components/colorscale/attributes":241,"../../components/drawing":256,"../../components/drawing/attributes":255,"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../../plots/font_attributes":452,"../../plots/template_attributes":496,"./constants":782}],779:[function(_dereq_,module,exports){
|
|
192011
192579
|
'use strict';
|
|
192012
192580
|
|
|
192013
192581
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -192304,7 +192872,7 @@ module.exports = {
|
|
|
192304
192872
|
getStackOpts: getStackOpts
|
|
192305
192873
|
};
|
|
192306
192874
|
|
|
192307
|
-
},{"../../constants/numerical":347,"../../lib":371,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421,"./arrays_to_calcdata":
|
|
192875
|
+
},{"../../constants/numerical":347,"../../lib":371,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421,"./arrays_to_calcdata":777,"./calc_selection":780,"./colorscale_calc":781,"./subtypes":803,"fast-isnumeric":99}],780:[function(_dereq_,module,exports){
|
|
192308
192876
|
'use strict';
|
|
192309
192877
|
|
|
192310
192878
|
var Lib = _dereq_('../../lib');
|
|
@@ -192315,7 +192883,7 @@ module.exports = function calcSelection(cd, trace) {
|
|
|
192315
192883
|
}
|
|
192316
192884
|
};
|
|
192317
192885
|
|
|
192318
|
-
},{"../../lib":371}],
|
|
192886
|
+
},{"../../lib":371}],781:[function(_dereq_,module,exports){
|
|
192319
192887
|
'use strict';
|
|
192320
192888
|
|
|
192321
192889
|
var hasColorscale = _dereq_('../../components/colorscale/helpers').hasColorscale;
|
|
@@ -192350,7 +192918,7 @@ module.exports = function calcMarkerColorscale(gd, trace) {
|
|
|
192350
192918
|
}
|
|
192351
192919
|
};
|
|
192352
192920
|
|
|
192353
|
-
},{"../../components/colorscale/calc":242,"../../components/colorscale/helpers":245,"./subtypes":
|
|
192921
|
+
},{"../../components/colorscale/calc":242,"../../components/colorscale/helpers":245,"./subtypes":803}],782:[function(_dereq_,module,exports){
|
|
192354
192922
|
'use strict';
|
|
192355
192923
|
|
|
192356
192924
|
module.exports = {
|
|
@@ -192370,7 +192938,7 @@ module.exports = {
|
|
|
192370
192938
|
eventDataKeys: []
|
|
192371
192939
|
};
|
|
192372
192940
|
|
|
192373
|
-
},{}],
|
|
192941
|
+
},{}],783:[function(_dereq_,module,exports){
|
|
192374
192942
|
'use strict';
|
|
192375
192943
|
|
|
192376
192944
|
var calc = _dereq_('./calc');
|
|
@@ -192542,7 +193110,7 @@ function getInterp(calcTrace, index, position, posAttr) {
|
|
|
192542
193110
|
return pt0.s + (pt1.s - pt0.s) * (position - pt0[posAttr]) / (pt1[posAttr] - pt0[posAttr]);
|
|
192543
193111
|
}
|
|
192544
193112
|
|
|
192545
|
-
},{"./calc":
|
|
193113
|
+
},{"./calc":779}],784:[function(_dereq_,module,exports){
|
|
192546
193114
|
'use strict';
|
|
192547
193115
|
|
|
192548
193116
|
|
|
@@ -192572,7 +193140,7 @@ module.exports = function crossTraceDefaults(fullData) {
|
|
|
192572
193140
|
}
|
|
192573
193141
|
};
|
|
192574
193142
|
|
|
192575
|
-
},{}],
|
|
193143
|
+
},{}],785:[function(_dereq_,module,exports){
|
|
192576
193144
|
'use strict';
|
|
192577
193145
|
|
|
192578
193146
|
var Lib = _dereq_('../../lib');
|
|
@@ -192659,7 +193227,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
192659
193227
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
192660
193228
|
};
|
|
192661
193229
|
|
|
192662
|
-
},{"../../lib":371,"../../registry":501,"./attributes":
|
|
193230
|
+
},{"../../lib":371,"../../registry":501,"./attributes":778,"./constants":782,"./fillcolor_defaults":786,"./line_defaults":791,"./line_shape_defaults":793,"./marker_defaults":797,"./period_defaults":798,"./stack_defaults":801,"./subtypes":803,"./text_defaults":804,"./xy_defaults":805}],786:[function(_dereq_,module,exports){
|
|
192663
193231
|
'use strict';
|
|
192664
193232
|
|
|
192665
193233
|
var Color = _dereq_('../../components/color');
|
|
@@ -192687,7 +193255,7 @@ module.exports = function fillColorDefaults(traceIn, traceOut, defaultColor, coe
|
|
|
192687
193255
|
));
|
|
192688
193256
|
};
|
|
192689
193257
|
|
|
192690
|
-
},{"../../components/color":234,"../../lib":371}],
|
|
193258
|
+
},{"../../components/color":234,"../../lib":371}],787:[function(_dereq_,module,exports){
|
|
192691
193259
|
'use strict';
|
|
192692
193260
|
|
|
192693
193261
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -192705,7 +193273,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
192705
193273
|
return labels;
|
|
192706
193274
|
};
|
|
192707
193275
|
|
|
192708
|
-
},{"../../plots/cartesian/axes":421}],
|
|
193276
|
+
},{"../../plots/cartesian/axes":421}],788:[function(_dereq_,module,exports){
|
|
192709
193277
|
'use strict';
|
|
192710
193278
|
|
|
192711
193279
|
var Color = _dereq_('../../components/color');
|
|
@@ -192745,7 +193313,7 @@ module.exports = function getTraceColor(trace, di) {
|
|
|
192745
193313
|
}
|
|
192746
193314
|
};
|
|
192747
193315
|
|
|
192748
|
-
},{"../../components/color":234,"./subtypes":
|
|
193316
|
+
},{"../../components/color":234,"./subtypes":803}],789:[function(_dereq_,module,exports){
|
|
192749
193317
|
'use strict';
|
|
192750
193318
|
|
|
192751
193319
|
var Lib = _dereq_('../../lib');
|
|
@@ -192956,7 +193524,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
|
|
|
192956
193524
|
}
|
|
192957
193525
|
};
|
|
192958
193526
|
|
|
192959
|
-
},{"../../components/color":234,"../../components/fx":274,"../../lib":371,"../../registry":501,"./get_trace_color":
|
|
193527
|
+
},{"../../components/color":234,"../../components/fx":274,"../../lib":371,"../../registry":501,"./get_trace_color":788}],790:[function(_dereq_,module,exports){
|
|
192960
193528
|
'use strict';
|
|
192961
193529
|
|
|
192962
193530
|
var subtypes = _dereq_('./subtypes');
|
|
@@ -192993,7 +193561,7 @@ module.exports = {
|
|
|
192993
193561
|
}
|
|
192994
193562
|
};
|
|
192995
193563
|
|
|
192996
|
-
},{"../../plots/cartesian":435,"./arrays_to_calcdata":
|
|
193564
|
+
},{"../../plots/cartesian":435,"./arrays_to_calcdata":777,"./attributes":778,"./calc":779,"./cross_trace_calc":783,"./cross_trace_defaults":784,"./defaults":785,"./format_labels":787,"./hover":789,"./marker_colorbar":796,"./plot":799,"./select":800,"./style":802,"./subtypes":803}],791:[function(_dereq_,module,exports){
|
|
192997
193565
|
'use strict';
|
|
192998
193566
|
|
|
192999
193567
|
var isArrayOrTypedArray = _dereq_('../../lib').isArrayOrTypedArray;
|
|
@@ -193016,7 +193584,7 @@ module.exports = function lineDefaults(traceIn, traceOut, defaultColor, layout,
|
|
|
193016
193584
|
if(!(opts || {}).noDash) coerce('line.dash');
|
|
193017
193585
|
};
|
|
193018
193586
|
|
|
193019
|
-
},{"../../components/colorscale/defaults":244,"../../components/colorscale/helpers":245,"../../lib":371}],
|
|
193587
|
+
},{"../../components/colorscale/defaults":244,"../../components/colorscale/helpers":245,"../../lib":371}],792:[function(_dereq_,module,exports){
|
|
193020
193588
|
'use strict';
|
|
193021
193589
|
|
|
193022
193590
|
var numConstants = _dereq_('../../constants/numerical');
|
|
@@ -193468,7 +194036,7 @@ module.exports = function linePoints(d, opts) {
|
|
|
193468
194036
|
return segments;
|
|
193469
194037
|
};
|
|
193470
194038
|
|
|
193471
|
-
},{"../../constants/numerical":347,"../../lib":371,"./constants":
|
|
194039
|
+
},{"../../constants/numerical":347,"../../lib":371,"./constants":782}],793:[function(_dereq_,module,exports){
|
|
193472
194040
|
'use strict';
|
|
193473
194041
|
|
|
193474
194042
|
|
|
@@ -193478,7 +194046,7 @@ module.exports = function handleLineShapeDefaults(traceIn, traceOut, coerce) {
|
|
|
193478
194046
|
if(shape === 'spline') coerce('line.smoothing');
|
|
193479
194047
|
};
|
|
193480
194048
|
|
|
193481
|
-
},{}],
|
|
194049
|
+
},{}],794:[function(_dereq_,module,exports){
|
|
193482
194050
|
'use strict';
|
|
193483
194051
|
|
|
193484
194052
|
var LINKEDFILLS = {tonextx: 1, tonexty: 1, tonext: 1};
|
|
@@ -193560,7 +194128,7 @@ module.exports = function linkTraces(gd, plotinfo, cdscatter) {
|
|
|
193560
194128
|
return cdscatterSorted;
|
|
193561
194129
|
};
|
|
193562
194130
|
|
|
193563
|
-
},{}],
|
|
194131
|
+
},{}],795:[function(_dereq_,module,exports){
|
|
193564
194132
|
'use strict';
|
|
193565
194133
|
|
|
193566
194134
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -193596,7 +194164,7 @@ module.exports = function makeBubbleSizeFn(trace, factor) {
|
|
|
193596
194164
|
};
|
|
193597
194165
|
};
|
|
193598
194166
|
|
|
193599
|
-
},{"fast-isnumeric":99}],
|
|
194167
|
+
},{"fast-isnumeric":99}],796:[function(_dereq_,module,exports){
|
|
193600
194168
|
'use strict';
|
|
193601
194169
|
|
|
193602
194170
|
module.exports = {
|
|
@@ -193605,7 +194173,7 @@ module.exports = {
|
|
|
193605
194173
|
max: 'cmax'
|
|
193606
194174
|
};
|
|
193607
194175
|
|
|
193608
|
-
},{}],
|
|
194176
|
+
},{}],797:[function(_dereq_,module,exports){
|
|
193609
194177
|
'use strict';
|
|
193610
194178
|
|
|
193611
194179
|
var Color = _dereq_('../../components/color');
|
|
@@ -193678,7 +194246,7 @@ module.exports = function markerDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
193678
194246
|
}
|
|
193679
194247
|
};
|
|
193680
194248
|
|
|
193681
|
-
},{"../../components/color":234,"../../components/colorscale/defaults":244,"../../components/colorscale/helpers":245,"./subtypes":
|
|
194249
|
+
},{"../../components/color":234,"../../components/colorscale/defaults":244,"../../components/colorscale/helpers":245,"./subtypes":803}],798:[function(_dereq_,module,exports){
|
|
193682
194250
|
'use strict';
|
|
193683
194251
|
|
|
193684
194252
|
var dateTick0 = _dereq_('../../lib').dateTick0;
|
|
@@ -193717,7 +194285,7 @@ module.exports = function handlePeriodDefaults(traceIn, traceOut, layout, coerce
|
|
|
193717
194285
|
}
|
|
193718
194286
|
};
|
|
193719
194287
|
|
|
193720
|
-
},{"../../constants/numerical":347,"../../lib":371}],
|
|
194288
|
+
},{"../../constants/numerical":347,"../../lib":371}],799:[function(_dereq_,module,exports){
|
|
193721
194289
|
'use strict';
|
|
193722
194290
|
|
|
193723
194291
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -194269,7 +194837,7 @@ function selectMarkers(gd, idx, plotinfo, cdscatter, cdscatterAll) {
|
|
|
194269
194837
|
});
|
|
194270
194838
|
}
|
|
194271
194839
|
|
|
194272
|
-
},{"../../components/drawing":256,"../../lib":371,"../../lib/polygon":383,"../../registry":501,"./line_points":
|
|
194840
|
+
},{"../../components/drawing":256,"../../lib":371,"../../lib/polygon":383,"../../registry":501,"./line_points":792,"./link_traces":794,"./subtypes":803,"@plotly/d3":53}],800:[function(_dereq_,module,exports){
|
|
194273
194841
|
'use strict';
|
|
194274
194842
|
|
|
194275
194843
|
var subtypes = _dereq_('./subtypes');
|
|
@@ -194314,7 +194882,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
194314
194882
|
return selection;
|
|
194315
194883
|
};
|
|
194316
194884
|
|
|
194317
|
-
},{"./subtypes":
|
|
194885
|
+
},{"./subtypes":803}],801:[function(_dereq_,module,exports){
|
|
194318
194886
|
'use strict';
|
|
194319
194887
|
|
|
194320
194888
|
var perStackAttrs = ['orientation', 'groupnorm', 'stackgaps'];
|
|
@@ -194411,7 +194979,7 @@ module.exports = function handleStackDefaults(traceIn, traceOut, layout, coerce)
|
|
|
194411
194979
|
}
|
|
194412
194980
|
};
|
|
194413
194981
|
|
|
194414
|
-
},{}],
|
|
194982
|
+
},{}],802:[function(_dereq_,module,exports){
|
|
194415
194983
|
'use strict';
|
|
194416
194984
|
|
|
194417
194985
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -194473,7 +195041,7 @@ module.exports = {
|
|
|
194473
195041
|
styleOnSelect: styleOnSelect
|
|
194474
195042
|
};
|
|
194475
195043
|
|
|
194476
|
-
},{"../../components/drawing":256,"../../registry":501,"@plotly/d3":53}],
|
|
195044
|
+
},{"../../components/drawing":256,"../../registry":501,"@plotly/d3":53}],803:[function(_dereq_,module,exports){
|
|
194477
195045
|
'use strict';
|
|
194478
195046
|
|
|
194479
195047
|
var Lib = _dereq_('../../lib');
|
|
@@ -194503,7 +195071,7 @@ module.exports = {
|
|
|
194503
195071
|
}
|
|
194504
195072
|
};
|
|
194505
195073
|
|
|
194506
|
-
},{"../../lib":371}],
|
|
195074
|
+
},{"../../lib":371}],804:[function(_dereq_,module,exports){
|
|
194507
195075
|
'use strict';
|
|
194508
195076
|
|
|
194509
195077
|
var Lib = _dereq_('../../lib');
|
|
@@ -194524,7 +195092,7 @@ module.exports = function(traceIn, traceOut, layout, coerce, opts) {
|
|
|
194524
195092
|
}
|
|
194525
195093
|
};
|
|
194526
195094
|
|
|
194527
|
-
},{"../../lib":371}],
|
|
195095
|
+
},{"../../lib":371}],805:[function(_dereq_,module,exports){
|
|
194528
195096
|
'use strict';
|
|
194529
195097
|
|
|
194530
195098
|
var Lib = _dereq_('../../lib');
|
|
@@ -194560,7 +195128,7 @@ module.exports = function handleXYDefaults(traceIn, traceOut, layout, coerce) {
|
|
|
194560
195128
|
return len;
|
|
194561
195129
|
};
|
|
194562
195130
|
|
|
194563
|
-
},{"../../lib":371,"../../registry":501}],
|
|
195131
|
+
},{"../../lib":371,"../../registry":501}],806:[function(_dereq_,module,exports){
|
|
194564
195132
|
'use strict';
|
|
194565
195133
|
|
|
194566
195134
|
var scatterAttrs = _dereq_('../scatter/attributes');
|
|
@@ -194688,7 +195256,7 @@ var attrs = module.exports = overrideAll({
|
|
|
194688
195256
|
|
|
194689
195257
|
attrs.x.editType = attrs.y.editType = attrs.z.editType = 'calc+clearAxisTypes';
|
|
194690
195258
|
|
|
194691
|
-
},{"../../components/colorscale/attributes":241,"../../constants/gl3d_dashes":344,"../../constants/gl3d_markers":345,"../../lib/extend":361,"../../lib/sort_object_keys":393,"../../plot_api/edit_types":403,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../scatter/attributes":
|
|
195259
|
+
},{"../../components/colorscale/attributes":241,"../../constants/gl3d_dashes":344,"../../constants/gl3d_markers":345,"../../lib/extend":361,"../../lib/sort_object_keys":393,"../../plot_api/edit_types":403,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../scatter/attributes":778}],807:[function(_dereq_,module,exports){
|
|
194692
195260
|
'use strict';
|
|
194693
195261
|
|
|
194694
195262
|
var arraysToCalcdata = _dereq_('../scatter/arrays_to_calcdata');
|
|
@@ -194708,7 +195276,7 @@ module.exports = function calc(gd, trace) {
|
|
|
194708
195276
|
return cd;
|
|
194709
195277
|
};
|
|
194710
195278
|
|
|
194711
|
-
},{"../scatter/arrays_to_calcdata":
|
|
195279
|
+
},{"../scatter/arrays_to_calcdata":777,"../scatter/colorscale_calc":781}],808:[function(_dereq_,module,exports){
|
|
194712
195280
|
'use strict';
|
|
194713
195281
|
|
|
194714
195282
|
var Registry = _dereq_('../../registry');
|
|
@@ -194787,7 +195355,7 @@ function calculateErrors(data, scaleFactor, sceneLayout) {
|
|
|
194787
195355
|
|
|
194788
195356
|
module.exports = calculateErrors;
|
|
194789
195357
|
|
|
194790
|
-
},{"../../registry":501}],
|
|
195358
|
+
},{"../../registry":501}],809:[function(_dereq_,module,exports){
|
|
194791
195359
|
'use strict';
|
|
194792
195360
|
|
|
194793
195361
|
var createLinePlot = _dereq_('../../../stackgl_modules').gl_line3d;
|
|
@@ -195332,7 +195900,7 @@ function createLineWithMarkers(scene, data) {
|
|
|
195332
195900
|
|
|
195333
195901
|
module.exports = createLineWithMarkers;
|
|
195334
195902
|
|
|
195335
|
-
},{"../../../stackgl_modules":
|
|
195903
|
+
},{"../../../stackgl_modules":934,"../../components/fx/helpers":270,"../../constants/gl3d_dashes":344,"../../constants/gl3d_markers":345,"../../lib":371,"../../lib/gl_format_color":367,"../../lib/str2rgbarray":395,"../../plots/cartesian/axes":421,"../scatter/make_bubble_size_func":795,"./calc_errors":808}],810:[function(_dereq_,module,exports){
|
|
195336
195904
|
'use strict';
|
|
195337
195905
|
|
|
195338
195906
|
var Registry = _dereq_('../../registry');
|
|
@@ -195416,7 +195984,7 @@ function handleXYZDefaults(traceIn, traceOut, coerce, layout) {
|
|
|
195416
195984
|
return len;
|
|
195417
195985
|
}
|
|
195418
195986
|
|
|
195419
|
-
},{"../../lib":371,"../../registry":501,"../scatter/line_defaults":
|
|
195987
|
+
},{"../../lib":371,"../../registry":501,"../scatter/line_defaults":791,"../scatter/marker_defaults":797,"../scatter/subtypes":803,"../scatter/text_defaults":804,"./attributes":806}],811:[function(_dereq_,module,exports){
|
|
195420
195988
|
'use strict';
|
|
195421
195989
|
|
|
195422
195990
|
module.exports = {
|
|
@@ -195445,7 +196013,7 @@ module.exports = {
|
|
|
195445
196013
|
}
|
|
195446
196014
|
};
|
|
195447
196015
|
|
|
195448
|
-
},{"../../constants/gl3d_markers":345,"../../plots/gl3d":465,"./attributes":
|
|
196016
|
+
},{"../../constants/gl3d_markers":345,"../../plots/gl3d":465,"./attributes":806,"./calc":807,"./convert":809,"./defaults":810}],812:[function(_dereq_,module,exports){
|
|
195449
196017
|
'use strict';
|
|
195450
196018
|
|
|
195451
196019
|
var scatterAttrs = _dereq_('../scatter/attributes');
|
|
@@ -195529,7 +196097,7 @@ module.exports = {
|
|
|
195529
196097
|
hovertemplate: hovertemplateAttrs()
|
|
195530
196098
|
};
|
|
195531
196099
|
|
|
195532
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/template_attributes":496,"../scatter/attributes":
|
|
196100
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/template_attributes":496,"../scatter/attributes":778}],813:[function(_dereq_,module,exports){
|
|
195533
196101
|
'use strict';
|
|
195534
196102
|
|
|
195535
196103
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -195579,7 +196147,7 @@ module.exports = function calc(gd, trace) {
|
|
|
195579
196147
|
return cd;
|
|
195580
196148
|
};
|
|
195581
196149
|
|
|
195582
|
-
},{"../carpet/lookup_carpetid":571,"../scatter/arrays_to_calcdata":
|
|
196150
|
+
},{"../carpet/lookup_carpetid":571,"../scatter/arrays_to_calcdata":777,"../scatter/calc":779,"../scatter/calc_selection":780,"../scatter/colorscale_calc":781,"fast-isnumeric":99}],814:[function(_dereq_,module,exports){
|
|
195583
196151
|
'use strict';
|
|
195584
196152
|
|
|
195585
196153
|
var Lib = _dereq_('../../lib');
|
|
@@ -195660,7 +196228,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
195660
196228
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
195661
196229
|
};
|
|
195662
196230
|
|
|
195663
|
-
},{"../../lib":371,"../scatter/constants":
|
|
196231
|
+
},{"../../lib":371,"../scatter/constants":782,"../scatter/fillcolor_defaults":786,"../scatter/line_defaults":791,"../scatter/line_shape_defaults":793,"../scatter/marker_defaults":797,"../scatter/subtypes":803,"../scatter/text_defaults":804,"./attributes":812}],815:[function(_dereq_,module,exports){
|
|
195664
196232
|
'use strict';
|
|
195665
196233
|
|
|
195666
196234
|
module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
@@ -195673,7 +196241,7 @@ module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
|
195673
196241
|
return out;
|
|
195674
196242
|
};
|
|
195675
196243
|
|
|
195676
|
-
},{}],
|
|
196244
|
+
},{}],816:[function(_dereq_,module,exports){
|
|
195677
196245
|
'use strict';
|
|
195678
196246
|
|
|
195679
196247
|
module.exports = function formatLabels(cdi, trace) {
|
|
@@ -195692,7 +196260,7 @@ module.exports = function formatLabels(cdi, trace) {
|
|
|
195692
196260
|
return labels;
|
|
195693
196261
|
};
|
|
195694
196262
|
|
|
195695
|
-
},{}],
|
|
196263
|
+
},{}],817:[function(_dereq_,module,exports){
|
|
195696
196264
|
'use strict';
|
|
195697
196265
|
|
|
195698
196266
|
var scatterHover = _dereq_('../scatter/hover');
|
|
@@ -195775,7 +196343,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
|
|
|
195775
196343
|
return scatterPointData;
|
|
195776
196344
|
};
|
|
195777
196345
|
|
|
195778
|
-
},{"../../lib":371,"../scatter/hover":
|
|
196346
|
+
},{"../../lib":371,"../scatter/hover":789}],818:[function(_dereq_,module,exports){
|
|
195779
196347
|
'use strict';
|
|
195780
196348
|
|
|
195781
196349
|
module.exports = {
|
|
@@ -195799,7 +196367,7 @@ module.exports = {
|
|
|
195799
196367
|
}
|
|
195800
196368
|
};
|
|
195801
196369
|
|
|
195802
|
-
},{"../../plots/cartesian":435,"../scatter/marker_colorbar":
|
|
196370
|
+
},{"../../plots/cartesian":435,"../scatter/marker_colorbar":796,"../scatter/select":800,"../scatter/style":802,"./attributes":812,"./calc":813,"./defaults":814,"./event_data":815,"./format_labels":816,"./hover":817,"./plot":819}],819:[function(_dereq_,module,exports){
|
|
195803
196371
|
'use strict';
|
|
195804
196372
|
|
|
195805
196373
|
var scatterPlot = _dereq_('../scatter/plot');
|
|
@@ -195834,7 +196402,7 @@ module.exports = function plot(gd, plotinfoproxy, data, layer) {
|
|
|
195834
196402
|
}
|
|
195835
196403
|
};
|
|
195836
196404
|
|
|
195837
|
-
},{"../../components/drawing":256,"../../plots/cartesian/axes":421,"../scatter/plot":
|
|
196405
|
+
},{"../../components/drawing":256,"../../plots/cartesian/axes":421,"../scatter/plot":799}],820:[function(_dereq_,module,exports){
|
|
195838
196406
|
'use strict';
|
|
195839
196407
|
|
|
195840
196408
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
@@ -195932,7 +196500,7 @@ module.exports = overrideAll({
|
|
|
195932
196500
|
hovertemplate: hovertemplateAttrs(),
|
|
195933
196501
|
}, 'calc', 'nested');
|
|
195934
196502
|
|
|
195935
|
-
},{"../../components/colorscale/attributes":241,"../../components/drawing/attributes":255,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plots/attributes":417,"../../plots/template_attributes":496,"../scatter/attributes":
|
|
196503
|
+
},{"../../components/colorscale/attributes":241,"../../components/drawing/attributes":255,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plots/attributes":417,"../../plots/template_attributes":496,"../scatter/attributes":778}],821:[function(_dereq_,module,exports){
|
|
195936
196504
|
'use strict';
|
|
195937
196505
|
|
|
195938
196506
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -195991,7 +196559,7 @@ module.exports = function calc(gd, trace) {
|
|
|
195991
196559
|
return calcTrace;
|
|
195992
196560
|
};
|
|
195993
196561
|
|
|
195994
|
-
},{"../../constants/numerical":347,"../../lib":371,"../scatter/arrays_to_calcdata":
|
|
196562
|
+
},{"../../constants/numerical":347,"../../lib":371,"../scatter/arrays_to_calcdata":777,"../scatter/calc_selection":780,"../scatter/colorscale_calc":781,"fast-isnumeric":99}],822:[function(_dereq_,module,exports){
|
|
195995
196563
|
'use strict';
|
|
195996
196564
|
|
|
195997
196565
|
var Lib = _dereq_('../../lib');
|
|
@@ -196066,7 +196634,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
196066
196634
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
196067
196635
|
};
|
|
196068
196636
|
|
|
196069
|
-
},{"../../lib":371,"../scatter/fillcolor_defaults":
|
|
196637
|
+
},{"../../lib":371,"../scatter/fillcolor_defaults":786,"../scatter/line_defaults":791,"../scatter/marker_defaults":797,"../scatter/subtypes":803,"../scatter/text_defaults":804,"./attributes":820}],823:[function(_dereq_,module,exports){
|
|
196070
196638
|
'use strict';
|
|
196071
196639
|
|
|
196072
196640
|
|
|
@@ -196084,7 +196652,7 @@ module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
|
196084
196652
|
return out;
|
|
196085
196653
|
};
|
|
196086
196654
|
|
|
196087
|
-
},{}],
|
|
196655
|
+
},{}],824:[function(_dereq_,module,exports){
|
|
196088
196656
|
'use strict';
|
|
196089
196657
|
|
|
196090
196658
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -196101,7 +196669,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
196101
196669
|
return labels;
|
|
196102
196670
|
};
|
|
196103
196671
|
|
|
196104
|
-
},{"../../plots/cartesian/axes":421}],
|
|
196672
|
+
},{"../../plots/cartesian/axes":421}],825:[function(_dereq_,module,exports){
|
|
196105
196673
|
'use strict';
|
|
196106
196674
|
|
|
196107
196675
|
var Fx = _dereq_('../../components/fx');
|
|
@@ -196205,7 +196773,7 @@ function getExtraText(trace, pt, pointData, labels) {
|
|
|
196205
196773
|
return text.join('<br>');
|
|
196206
196774
|
}
|
|
196207
196775
|
|
|
196208
|
-
},{"../../components/fx":274,"../../constants/numerical":347,"../../lib":371,"../scatter/get_trace_color":
|
|
196776
|
+
},{"../../components/fx":274,"../../constants/numerical":347,"../../lib":371,"../scatter/get_trace_color":788,"./attributes":820}],826:[function(_dereq_,module,exports){
|
|
196209
196777
|
'use strict';
|
|
196210
196778
|
|
|
196211
196779
|
module.exports = {
|
|
@@ -196230,7 +196798,7 @@ module.exports = {
|
|
|
196230
196798
|
}
|
|
196231
196799
|
};
|
|
196232
196800
|
|
|
196233
|
-
},{"../../plots/geo":456,"../scatter/marker_colorbar":
|
|
196801
|
+
},{"../../plots/geo":456,"../scatter/marker_colorbar":796,"../scatter/style":802,"./attributes":820,"./calc":821,"./defaults":822,"./event_data":823,"./format_labels":824,"./hover":825,"./plot":827,"./select":828,"./style":829}],827:[function(_dereq_,module,exports){
|
|
196234
196802
|
'use strict';
|
|
196235
196803
|
|
|
196236
196804
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -196351,7 +196919,7 @@ module.exports = {
|
|
|
196351
196919
|
plot: plot
|
|
196352
196920
|
};
|
|
196353
196921
|
|
|
196354
|
-
},{"../../constants/numerical":347,"../../lib":371,"../../lib/geo_location_utils":364,"../../lib/geojson_utils":365,"../../lib/topojson_utils":399,"../../plots/cartesian/autorange":420,"../scatter/calc":
|
|
196922
|
+
},{"../../constants/numerical":347,"../../lib":371,"../../lib/geo_location_utils":364,"../../lib/geojson_utils":365,"../../lib/topojson_utils":399,"../../plots/cartesian/autorange":420,"../scatter/calc":779,"../scatter/subtypes":803,"./style":829,"@plotly/d3":53}],828:[function(_dereq_,module,exports){
|
|
196355
196923
|
'use strict';
|
|
196356
196924
|
|
|
196357
196925
|
var subtypes = _dereq_('../scatter/subtypes');
|
|
@@ -196400,7 +196968,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
196400
196968
|
return selection;
|
|
196401
196969
|
};
|
|
196402
196970
|
|
|
196403
|
-
},{"../../constants/numerical":347,"../scatter/subtypes":
|
|
196971
|
+
},{"../../constants/numerical":347,"../scatter/subtypes":803}],829:[function(_dereq_,module,exports){
|
|
196404
196972
|
'use strict';
|
|
196405
196973
|
|
|
196406
196974
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -196441,7 +197009,7 @@ function styleTrace(gd, calcTrace) {
|
|
|
196441
197009
|
});
|
|
196442
197010
|
}
|
|
196443
197011
|
|
|
196444
|
-
},{"../../components/color":234,"../../components/drawing":256,"../scatter/style":
|
|
197012
|
+
},{"../../components/color":234,"../../components/drawing":256,"../scatter/style":802,"@plotly/d3":53}],830:[function(_dereq_,module,exports){
|
|
196445
197013
|
'use strict';
|
|
196446
197014
|
|
|
196447
197015
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
@@ -196535,7 +197103,7 @@ module.exports = overrideAll({
|
|
|
196535
197103
|
hovertemplate: hovertemplateAttrs(),
|
|
196536
197104
|
}, 'calc', 'nested');
|
|
196537
197105
|
|
|
196538
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plots/attributes":417,"../../plots/mapbox/layout_attributes":482,"../../plots/template_attributes":496,"../scatter/attributes":
|
|
197106
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plots/attributes":417,"../../plots/mapbox/layout_attributes":482,"../../plots/template_attributes":496,"../scatter/attributes":778,"../scattergeo/attributes":820}],831:[function(_dereq_,module,exports){
|
|
196539
197107
|
'use strict';
|
|
196540
197108
|
|
|
196541
197109
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -196862,7 +197430,7 @@ function isBADNUM(lonlat) {
|
|
|
196862
197430
|
return lonlat[0] === BADNUM;
|
|
196863
197431
|
}
|
|
196864
197432
|
|
|
196865
|
-
},{"../../components/colorscale":246,"../../components/drawing":256,"../../components/fx/helpers":270,"../../constants/numerical":347,"../../lib":371,"../../lib/geojson_utils":365,"../../lib/svg_text_utils":396,"../../plots/mapbox/convert_text_opts":479,"../scatter/make_bubble_size_func":
|
|
197433
|
+
},{"../../components/colorscale":246,"../../components/drawing":256,"../../components/fx/helpers":270,"../../constants/numerical":347,"../../lib":371,"../../lib/geojson_utils":365,"../../lib/svg_text_utils":396,"../../plots/mapbox/convert_text_opts":479,"../scatter/make_bubble_size_func":795,"../scatter/subtypes":803,"fast-isnumeric":99}],832:[function(_dereq_,module,exports){
|
|
196866
197434
|
'use strict';
|
|
196867
197435
|
|
|
196868
197436
|
var Lib = _dereq_('../../lib');
|
|
@@ -196932,7 +197500,7 @@ function handleLonLatDefaults(traceIn, traceOut, coerce) {
|
|
|
196932
197500
|
return len;
|
|
196933
197501
|
}
|
|
196934
197502
|
|
|
196935
|
-
},{"../../lib":371,"../scatter/fillcolor_defaults":
|
|
197503
|
+
},{"../../lib":371,"../scatter/fillcolor_defaults":786,"../scatter/line_defaults":791,"../scatter/marker_defaults":797,"../scatter/subtypes":803,"../scatter/text_defaults":804,"./attributes":830}],833:[function(_dereq_,module,exports){
|
|
196936
197504
|
'use strict';
|
|
196937
197505
|
|
|
196938
197506
|
|
|
@@ -196943,7 +197511,7 @@ module.exports = function eventData(out, pt) {
|
|
|
196943
197511
|
return out;
|
|
196944
197512
|
};
|
|
196945
197513
|
|
|
196946
|
-
},{}],
|
|
197514
|
+
},{}],834:[function(_dereq_,module,exports){
|
|
196947
197515
|
'use strict';
|
|
196948
197516
|
|
|
196949
197517
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -196961,7 +197529,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
196961
197529
|
return labels;
|
|
196962
197530
|
};
|
|
196963
197531
|
|
|
196964
|
-
},{"../../plots/cartesian/axes":421}],
|
|
197532
|
+
},{"../../plots/cartesian/axes":421}],835:[function(_dereq_,module,exports){
|
|
196965
197533
|
'use strict';
|
|
196966
197534
|
|
|
196967
197535
|
var Fx = _dereq_('../../components/fx');
|
|
@@ -197069,7 +197637,7 @@ module.exports = {
|
|
|
197069
197637
|
getExtraText: getExtraText
|
|
197070
197638
|
};
|
|
197071
197639
|
|
|
197072
|
-
},{"../../components/fx":274,"../../constants/numerical":347,"../../lib":371,"../scatter/get_trace_color":
|
|
197640
|
+
},{"../../components/fx":274,"../../constants/numerical":347,"../../lib":371,"../scatter/get_trace_color":788}],836:[function(_dereq_,module,exports){
|
|
197073
197641
|
'use strict';
|
|
197074
197642
|
|
|
197075
197643
|
module.exports = {
|
|
@@ -197098,7 +197666,7 @@ module.exports = {
|
|
|
197098
197666
|
}
|
|
197099
197667
|
};
|
|
197100
197668
|
|
|
197101
|
-
},{"../../plots/mapbox":480,"../scatter/marker_colorbar":
|
|
197669
|
+
},{"../../plots/mapbox":480,"../scatter/marker_colorbar":796,"../scattergeo/calc":821,"./attributes":830,"./defaults":832,"./event_data":833,"./format_labels":834,"./hover":835,"./plot":837,"./select":838}],837:[function(_dereq_,module,exports){
|
|
197102
197670
|
'use strict';
|
|
197103
197671
|
|
|
197104
197672
|
var convert = _dereq_('./convert');
|
|
@@ -197223,7 +197791,7 @@ module.exports = function createScatterMapbox(subplot, calcTrace) {
|
|
|
197223
197791
|
return scatterMapbox;
|
|
197224
197792
|
};
|
|
197225
197793
|
|
|
197226
|
-
},{"../../plots/mapbox/constants":478,"./convert":
|
|
197794
|
+
},{"../../plots/mapbox/constants":478,"./convert":831}],838:[function(_dereq_,module,exports){
|
|
197227
197795
|
'use strict';
|
|
197228
197796
|
|
|
197229
197797
|
var Lib = _dereq_('../../lib');
|
|
@@ -197270,7 +197838,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
197270
197838
|
return selection;
|
|
197271
197839
|
};
|
|
197272
197840
|
|
|
197273
|
-
},{"../../constants/numerical":347,"../../lib":371,"../scatter/subtypes":
|
|
197841
|
+
},{"../../constants/numerical":347,"../../lib":371,"../scatter/subtypes":803}],839:[function(_dereq_,module,exports){
|
|
197274
197842
|
'use strict';
|
|
197275
197843
|
|
|
197276
197844
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
@@ -197366,7 +197934,7 @@ module.exports = {
|
|
|
197366
197934
|
unselected: scatterAttrs.unselected
|
|
197367
197935
|
};
|
|
197368
197936
|
|
|
197369
|
-
},{"../../lib/extend":361,"../../plots/attributes":417,"../../plots/template_attributes":496,"../scatter/attributes":
|
|
197937
|
+
},{"../../lib/extend":361,"../../plots/attributes":417,"../../plots/template_attributes":496,"../scatter/attributes":778}],840:[function(_dereq_,module,exports){
|
|
197370
197938
|
'use strict';
|
|
197371
197939
|
|
|
197372
197940
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -197412,7 +197980,7 @@ module.exports = function calc(gd, trace) {
|
|
|
197412
197980
|
return cd;
|
|
197413
197981
|
};
|
|
197414
197982
|
|
|
197415
|
-
},{"../../constants/numerical":347,"../../plots/cartesian/axes":421,"../scatter/arrays_to_calcdata":
|
|
197983
|
+
},{"../../constants/numerical":347,"../../plots/cartesian/axes":421,"../scatter/arrays_to_calcdata":777,"../scatter/calc":779,"../scatter/calc_selection":780,"../scatter/colorscale_calc":781,"fast-isnumeric":99}],841:[function(_dereq_,module,exports){
|
|
197416
197984
|
'use strict';
|
|
197417
197985
|
|
|
197418
197986
|
var Lib = _dereq_('../../lib');
|
|
@@ -197511,7 +198079,7 @@ module.exports = {
|
|
|
197511
198079
|
supplyDefaults: supplyDefaults
|
|
197512
198080
|
};
|
|
197513
198081
|
|
|
197514
|
-
},{"../../lib":371,"../scatter/constants":
|
|
198082
|
+
},{"../../lib":371,"../scatter/constants":782,"../scatter/fillcolor_defaults":786,"../scatter/line_defaults":791,"../scatter/line_shape_defaults":793,"../scatter/marker_defaults":797,"../scatter/subtypes":803,"../scatter/text_defaults":804,"./attributes":839}],842:[function(_dereq_,module,exports){
|
|
197515
198083
|
'use strict';
|
|
197516
198084
|
|
|
197517
198085
|
var Lib = _dereq_('../../lib');
|
|
@@ -197545,7 +198113,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
197545
198113
|
return labels;
|
|
197546
198114
|
};
|
|
197547
198115
|
|
|
197548
|
-
},{"../../lib":371,"../../plots/cartesian/axes":421}],
|
|
198116
|
+
},{"../../lib":371,"../../plots/cartesian/axes":421}],843:[function(_dereq_,module,exports){
|
|
197549
198117
|
'use strict';
|
|
197550
198118
|
|
|
197551
198119
|
var scatterHover = _dereq_('../scatter/hover');
|
|
@@ -197613,7 +198181,7 @@ module.exports = {
|
|
|
197613
198181
|
makeHoverPointText: makeHoverPointText
|
|
197614
198182
|
};
|
|
197615
198183
|
|
|
197616
|
-
},{"../scatter/hover":
|
|
198184
|
+
},{"../scatter/hover":789}],844:[function(_dereq_,module,exports){
|
|
197617
198185
|
'use strict';
|
|
197618
198186
|
|
|
197619
198187
|
module.exports = {
|
|
@@ -197637,7 +198205,7 @@ module.exports = {
|
|
|
197637
198205
|
}
|
|
197638
198206
|
};
|
|
197639
198207
|
|
|
197640
|
-
},{"../../plots/polar":489,"../scatter/marker_colorbar":
|
|
198208
|
+
},{"../../plots/polar":489,"../scatter/marker_colorbar":796,"../scatter/select":800,"../scatter/style":802,"./attributes":839,"./calc":840,"./defaults":841,"./format_labels":842,"./hover":843,"./plot":845}],845:[function(_dereq_,module,exports){
|
|
197641
198209
|
'use strict';
|
|
197642
198210
|
|
|
197643
198211
|
var scatterPlot = _dereq_('../scatter/plot');
|
|
@@ -197679,7 +198247,7 @@ module.exports = function plot(gd, subplot, moduleCalcData) {
|
|
|
197679
198247
|
scatterPlot(gd, plotinfo, moduleCalcData, mlayer);
|
|
197680
198248
|
};
|
|
197681
198249
|
|
|
197682
|
-
},{"../../constants/numerical":347,"../scatter/plot":
|
|
198250
|
+
},{"../../constants/numerical":347,"../scatter/plot":799}],846:[function(_dereq_,module,exports){
|
|
197683
198251
|
'use strict';
|
|
197684
198252
|
|
|
197685
198253
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
@@ -197771,7 +198339,7 @@ module.exports = {
|
|
|
197771
198339
|
hovertemplate: hovertemplateAttrs(),
|
|
197772
198340
|
};
|
|
197773
198341
|
|
|
197774
|
-
},{"../../components/colorscale/attributes":241,"../../components/drawing/attributes":255,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/template_attributes":496,"../scatter/attributes":
|
|
198342
|
+
},{"../../components/colorscale/attributes":241,"../../components/drawing/attributes":255,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/template_attributes":496,"../scatter/attributes":778}],847:[function(_dereq_,module,exports){
|
|
197775
198343
|
'use strict';
|
|
197776
198344
|
|
|
197777
198345
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -197843,7 +198411,7 @@ module.exports = function calc(gd, trace) {
|
|
|
197843
198411
|
return cd;
|
|
197844
198412
|
};
|
|
197845
198413
|
|
|
197846
|
-
},{"../scatter/arrays_to_calcdata":
|
|
198414
|
+
},{"../scatter/arrays_to_calcdata":777,"../scatter/calc":779,"../scatter/calc_selection":780,"../scatter/colorscale_calc":781,"fast-isnumeric":99}],848:[function(_dereq_,module,exports){
|
|
197847
198415
|
'use strict';
|
|
197848
198416
|
|
|
197849
198417
|
var Lib = _dereq_('../../lib');
|
|
@@ -197938,7 +198506,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
197938
198506
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
197939
198507
|
};
|
|
197940
198508
|
|
|
197941
|
-
},{"../../lib":371,"../scatter/constants":
|
|
198509
|
+
},{"../../lib":371,"../scatter/constants":782,"../scatter/fillcolor_defaults":786,"../scatter/line_defaults":791,"../scatter/line_shape_defaults":793,"../scatter/marker_defaults":797,"../scatter/subtypes":803,"../scatter/text_defaults":804,"./attributes":846}],849:[function(_dereq_,module,exports){
|
|
197942
198510
|
'use strict';
|
|
197943
198511
|
|
|
197944
198512
|
module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
@@ -197962,7 +198530,7 @@ module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
|
197962
198530
|
return out;
|
|
197963
198531
|
};
|
|
197964
198532
|
|
|
197965
|
-
},{}],
|
|
198533
|
+
},{}],850:[function(_dereq_,module,exports){
|
|
197966
198534
|
'use strict';
|
|
197967
198535
|
|
|
197968
198536
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -197978,7 +198546,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
197978
198546
|
return labels;
|
|
197979
198547
|
};
|
|
197980
198548
|
|
|
197981
|
-
},{"../../plots/cartesian/axes":421}],
|
|
198549
|
+
},{"../../plots/cartesian/axes":421}],851:[function(_dereq_,module,exports){
|
|
197982
198550
|
'use strict';
|
|
197983
198551
|
|
|
197984
198552
|
var scatterHover = _dereq_('../scatter/hover');
|
|
@@ -198044,7 +198612,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
|
|
|
198044
198612
|
return scatterPointData;
|
|
198045
198613
|
};
|
|
198046
198614
|
|
|
198047
|
-
},{"../scatter/hover":
|
|
198615
|
+
},{"../scatter/hover":789}],852:[function(_dereq_,module,exports){
|
|
198048
198616
|
'use strict';
|
|
198049
198617
|
|
|
198050
198618
|
module.exports = {
|
|
@@ -198068,7 +198636,7 @@ module.exports = {
|
|
|
198068
198636
|
}
|
|
198069
198637
|
};
|
|
198070
198638
|
|
|
198071
|
-
},{"../../plots/ternary":497,"../scatter/marker_colorbar":
|
|
198639
|
+
},{"../../plots/ternary":497,"../scatter/marker_colorbar":796,"../scatter/select":800,"../scatter/style":802,"./attributes":846,"./calc":847,"./defaults":848,"./event_data":849,"./format_labels":850,"./hover":851,"./plot":853}],853:[function(_dereq_,module,exports){
|
|
198072
198640
|
'use strict';
|
|
198073
198641
|
|
|
198074
198642
|
var scatterPlot = _dereq_('../scatter/plot');
|
|
@@ -198092,7 +198660,7 @@ module.exports = function plot(gd, ternary, moduleCalcData) {
|
|
|
198092
198660
|
scatterPlot(gd, plotinfo, moduleCalcData, scatterLayer);
|
|
198093
198661
|
};
|
|
198094
198662
|
|
|
198095
|
-
},{"../scatter/plot":
|
|
198663
|
+
},{"../scatter/plot":799}],854:[function(_dereq_,module,exports){
|
|
198096
198664
|
'use strict';
|
|
198097
198665
|
|
|
198098
198666
|
var colorScaleAttrs = _dereq_('../../components/colorscale/attributes');
|
|
@@ -198224,7 +198792,7 @@ attrs.transforms = undefined;
|
|
|
198224
198792
|
|
|
198225
198793
|
module.exports = attrs;
|
|
198226
198794
|
|
|
198227
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../mesh3d/attributes":
|
|
198795
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../mesh3d/attributes":730}],855:[function(_dereq_,module,exports){
|
|
198228
198796
|
'use strict';
|
|
198229
198797
|
|
|
198230
198798
|
var Lib = _dereq_('../../lib');
|
|
@@ -198472,7 +199040,7 @@ module.exports = {
|
|
|
198472
199040
|
processGrid: processGrid
|
|
198473
199041
|
};
|
|
198474
199042
|
|
|
198475
|
-
},{"../../components/colorscale/calc":242,"../../lib":371}],
|
|
199043
|
+
},{"../../components/colorscale/calc":242,"../../lib":371}],856:[function(_dereq_,module,exports){
|
|
198476
199044
|
'use strict';
|
|
198477
199045
|
|
|
198478
199046
|
var tube2mesh = _dereq_('../../../stackgl_modules').gl_streamtube3d;
|
|
@@ -198690,7 +199258,7 @@ function createStreamtubeTrace(scene, data) {
|
|
|
198690
199258
|
|
|
198691
199259
|
module.exports = createStreamtubeTrace;
|
|
198692
199260
|
|
|
198693
|
-
},{"../../../stackgl_modules":
|
|
199261
|
+
},{"../../../stackgl_modules":934,"../../components/colorscale":246,"../../lib":371,"../../lib/gl_format_color":367,"../../plots/gl3d/zip3":476}],857:[function(_dereq_,module,exports){
|
|
198694
199262
|
'use strict';
|
|
198695
199263
|
|
|
198696
199264
|
var Lib = _dereq_('../../lib');
|
|
@@ -198753,7 +199321,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
198753
199321
|
traceOut._length = null;
|
|
198754
199322
|
};
|
|
198755
199323
|
|
|
198756
|
-
},{"../../components/colorscale/defaults":244,"../../lib":371,"./attributes":
|
|
199324
|
+
},{"../../components/colorscale/defaults":244,"../../lib":371,"./attributes":854}],858:[function(_dereq_,module,exports){
|
|
198757
199325
|
'use strict';
|
|
198758
199326
|
|
|
198759
199327
|
module.exports = {
|
|
@@ -198794,7 +199362,7 @@ module.exports = {
|
|
|
198794
199362
|
}
|
|
198795
199363
|
};
|
|
198796
199364
|
|
|
198797
|
-
},{"../../plots/gl3d":465,"./attributes":
|
|
199365
|
+
},{"../../plots/gl3d":465,"./attributes":854,"./calc":855,"./convert":856,"./defaults":857}],859:[function(_dereq_,module,exports){
|
|
198798
199366
|
'use strict';
|
|
198799
199367
|
|
|
198800
199368
|
var baseAttrs = _dereq_('../../plots/attributes');
|
|
@@ -198947,7 +199515,7 @@ module.exports = {
|
|
|
198947
199515
|
domain: domainAttrs({name: 'sunburst', trace: true, editType: 'calc'})
|
|
198948
199516
|
};
|
|
198949
199517
|
|
|
198950
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/domain":451,"../../plots/template_attributes":496,"../pie/attributes":
|
|
199518
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/domain":451,"../../plots/template_attributes":496,"../pie/attributes":752,"./constants":862}],860:[function(_dereq_,module,exports){
|
|
198951
199519
|
'use strict';
|
|
198952
199520
|
|
|
198953
199521
|
var plots = _dereq_('../../plots/plots');
|
|
@@ -198962,7 +199530,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
|
|
|
198962
199530
|
plots.cleanBasePlot(exports.name, newFullData, newFullLayout, oldFullData, oldFullLayout);
|
|
198963
199531
|
};
|
|
198964
199532
|
|
|
198965
|
-
},{"../../plots/plots":486}],
|
|
199533
|
+
},{"../../plots/plots":486}],861:[function(_dereq_,module,exports){
|
|
198966
199534
|
'use strict';
|
|
198967
199535
|
|
|
198968
199536
|
var d3Hierarchy = _dereq_('d3-hierarchy');
|
|
@@ -199283,7 +199851,7 @@ function countDescendants(node, trace, opts) {
|
|
|
199283
199851
|
return nChild;
|
|
199284
199852
|
}
|
|
199285
199853
|
|
|
199286
|
-
},{"../../components/colorscale":246,"../../constants/numerical":347,"../../lib":371,"../pie/calc":
|
|
199854
|
+
},{"../../components/colorscale":246,"../../constants/numerical":347,"../../lib":371,"../pie/calc":754,"d3-hierarchy":87,"fast-isnumeric":99}],862:[function(_dereq_,module,exports){
|
|
199287
199855
|
'use strict';
|
|
199288
199856
|
|
|
199289
199857
|
module.exports = {
|
|
@@ -199303,7 +199871,7 @@ module.exports = {
|
|
|
199303
199871
|
]
|
|
199304
199872
|
};
|
|
199305
199873
|
|
|
199306
|
-
},{}],
|
|
199874
|
+
},{}],863:[function(_dereq_,module,exports){
|
|
199307
199875
|
'use strict';
|
|
199308
199876
|
|
|
199309
199877
|
var Lib = _dereq_('../../lib');
|
|
@@ -199383,7 +199951,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
199383
199951
|
traceOut._length = null;
|
|
199384
199952
|
};
|
|
199385
199953
|
|
|
199386
|
-
},{"../../components/colorscale":246,"../../lib":371,"../../plots/domain":451,"../bar/defaults":515,"./attributes":
|
|
199954
|
+
},{"../../components/colorscale":246,"../../lib":371,"../../plots/domain":451,"../bar/defaults":515,"./attributes":859}],864:[function(_dereq_,module,exports){
|
|
199387
199955
|
'use strict';
|
|
199388
199956
|
|
|
199389
199957
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -199699,7 +200267,7 @@ function makeEventData(pt, trace, keys) {
|
|
|
199699
200267
|
return out;
|
|
199700
200268
|
}
|
|
199701
200269
|
|
|
199702
|
-
},{"../../components/fx":274,"../../components/fx/helpers":270,"../../lib":371,"../../lib/events":360,"../../registry":501,"../pie/helpers":
|
|
200270
|
+
},{"../../components/fx":274,"../../components/fx/helpers":270,"../../lib":371,"../../lib/events":360,"../../registry":501,"../pie/helpers":757,"./helpers":865,"@plotly/d3":53}],865:[function(_dereq_,module,exports){
|
|
199703
200271
|
'use strict';
|
|
199704
200272
|
|
|
199705
200273
|
var Lib = _dereq_('../../lib');
|
|
@@ -199876,7 +200444,7 @@ exports.formatPercent = function(v, separators) {
|
|
|
199876
200444
|
return tx;
|
|
199877
200445
|
};
|
|
199878
200446
|
|
|
199879
|
-
},{"../../components/color":234,"../../lib":371,"../../lib/setcursor":391,"../pie/helpers":
|
|
200447
|
+
},{"../../components/color":234,"../../lib":371,"../../lib/setcursor":391,"../pie/helpers":757}],866:[function(_dereq_,module,exports){
|
|
199880
200448
|
'use strict';
|
|
199881
200449
|
|
|
199882
200450
|
module.exports = {
|
|
@@ -199903,7 +200471,7 @@ module.exports = {
|
|
|
199903
200471
|
}
|
|
199904
200472
|
};
|
|
199905
200473
|
|
|
199906
|
-
},{"../scatter/marker_colorbar":
|
|
200474
|
+
},{"../scatter/marker_colorbar":796,"./attributes":859,"./base_plot":860,"./calc":861,"./defaults":863,"./layout_attributes":867,"./layout_defaults":868,"./plot":869,"./style":870}],867:[function(_dereq_,module,exports){
|
|
199907
200475
|
'use strict';
|
|
199908
200476
|
|
|
199909
200477
|
module.exports = {
|
|
@@ -199918,7 +200486,7 @@ module.exports = {
|
|
|
199918
200486
|
}
|
|
199919
200487
|
};
|
|
199920
200488
|
|
|
199921
|
-
},{}],
|
|
200489
|
+
},{}],868:[function(_dereq_,module,exports){
|
|
199922
200490
|
'use strict';
|
|
199923
200491
|
|
|
199924
200492
|
var Lib = _dereq_('../../lib');
|
|
@@ -199932,7 +200500,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
|
|
|
199932
200500
|
coerce('extendsunburstcolors');
|
|
199933
200501
|
};
|
|
199934
200502
|
|
|
199935
|
-
},{"../../lib":371,"./layout_attributes":
|
|
200503
|
+
},{"../../lib":371,"./layout_attributes":867}],869:[function(_dereq_,module,exports){
|
|
199936
200504
|
'use strict';
|
|
199937
200505
|
|
|
199938
200506
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -200567,7 +201135,7 @@ function getCoords(r, angle) {
|
|
|
200567
201135
|
return [r * Math.sin(angle), -r * Math.cos(angle)];
|
|
200568
201136
|
}
|
|
200569
201137
|
|
|
200570
|
-
},{"../../components/drawing":256,"../../lib":371,"../../lib/svg_text_utils":396,"../bar/style":525,"../bar/uniform_text":527,"../pie/helpers":
|
|
201138
|
+
},{"../../components/drawing":256,"../../lib":371,"../../lib/svg_text_utils":396,"../bar/style":525,"../bar/uniform_text":527,"../pie/helpers":757,"../pie/plot":761,"./constants":862,"./fx":864,"./helpers":865,"./style":870,"@plotly/d3":53,"d3-hierarchy":87,"d3-interpolate":88}],870:[function(_dereq_,module,exports){
|
|
200571
201139
|
'use strict';
|
|
200572
201140
|
|
|
200573
201141
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -200610,7 +201178,7 @@ module.exports = {
|
|
|
200610
201178
|
styleOne: styleOne
|
|
200611
201179
|
};
|
|
200612
201180
|
|
|
200613
|
-
},{"../../components/color":234,"../../lib":371,"../bar/uniform_text":527,"@plotly/d3":53}],
|
|
201181
|
+
},{"../../components/color":234,"../../lib":371,"../bar/uniform_text":527,"@plotly/d3":53}],871:[function(_dereq_,module,exports){
|
|
200614
201182
|
'use strict';
|
|
200615
201183
|
|
|
200616
201184
|
var Color = _dereq_('../../components/color');
|
|
@@ -200826,7 +201394,7 @@ colorScaleAttrs('', {
|
|
|
200826
201394
|
attrs.x.editType = attrs.y.editType = attrs.z.editType = 'calc+clearAxisTypes';
|
|
200827
201395
|
attrs.transforms = undefined;
|
|
200828
201396
|
|
|
200829
|
-
},{"../../components/color":234,"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496}],
|
|
201397
|
+
},{"../../components/color":234,"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496}],872:[function(_dereq_,module,exports){
|
|
200830
201398
|
'use strict';
|
|
200831
201399
|
|
|
200832
201400
|
var colorscaleCalc = _dereq_('../../components/colorscale/calc');
|
|
@@ -200849,7 +201417,7 @@ module.exports = function calc(gd, trace) {
|
|
|
200849
201417
|
}
|
|
200850
201418
|
};
|
|
200851
201419
|
|
|
200852
|
-
},{"../../components/colorscale/calc":242}],
|
|
201420
|
+
},{"../../components/colorscale/calc":242}],873:[function(_dereq_,module,exports){
|
|
200853
201421
|
'use strict';
|
|
200854
201422
|
|
|
200855
201423
|
var createSurface = _dereq_('../../../stackgl_modules').gl_surface3d;
|
|
@@ -201540,7 +202108,7 @@ function createSurfaceTrace(scene, data) {
|
|
|
201540
202108
|
|
|
201541
202109
|
module.exports = createSurfaceTrace;
|
|
201542
202110
|
|
|
201543
|
-
},{"../../../stackgl_modules":
|
|
202111
|
+
},{"../../../stackgl_modules":934,"../../components/colorscale":246,"../../lib":371,"../../lib/gl_format_color":367,"../../lib/str2rgbarray":395,"../heatmap/find_empties":661,"../heatmap/interp2d":664}],874:[function(_dereq_,module,exports){
|
|
201544
202112
|
'use strict';
|
|
201545
202113
|
|
|
201546
202114
|
var Registry = _dereq_('../../registry');
|
|
@@ -201709,7 +202277,7 @@ module.exports = {
|
|
|
201709
202277
|
opacityscaleDefaults: opacityscaleDefaults
|
|
201710
202278
|
};
|
|
201711
202279
|
|
|
201712
|
-
},{"../../components/colorscale/defaults":244,"../../lib":371,"../../registry":501,"./attributes":
|
|
202280
|
+
},{"../../components/colorscale/defaults":244,"../../lib":371,"../../registry":501,"./attributes":871}],875:[function(_dereq_,module,exports){
|
|
201713
202281
|
'use strict';
|
|
201714
202282
|
|
|
201715
202283
|
module.exports = {
|
|
@@ -201730,7 +202298,7 @@ module.exports = {
|
|
|
201730
202298
|
}
|
|
201731
202299
|
};
|
|
201732
202300
|
|
|
201733
|
-
},{"../../plots/gl3d":465,"./attributes":
|
|
202301
|
+
},{"../../plots/gl3d":465,"./attributes":871,"./calc":872,"./convert":873,"./defaults":874}],876:[function(_dereq_,module,exports){
|
|
201734
202302
|
'use strict';
|
|
201735
202303
|
|
|
201736
202304
|
var annAttrs = _dereq_('../../components/annotations/attributes');
|
|
@@ -201867,7 +202435,7 @@ var attrs = module.exports = overrideAll({
|
|
|
201867
202435
|
}, 'calc', 'from-root');
|
|
201868
202436
|
attrs.transforms = undefined;
|
|
201869
202437
|
|
|
201870
|
-
},{"../../components/annotations/attributes":217,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plots/cartesian/axis_format_attributes":424,"../../plots/domain":451,"../../plots/font_attributes":452}],
|
|
202438
|
+
},{"../../components/annotations/attributes":217,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plots/cartesian/axis_format_attributes":424,"../../plots/domain":451,"../../plots/font_attributes":452}],877:[function(_dereq_,module,exports){
|
|
201871
202439
|
'use strict';
|
|
201872
202440
|
|
|
201873
202441
|
var getModuleCalcData = _dereq_('../../plots/get_data').getModuleCalcData;
|
|
@@ -201891,7 +202459,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
|
|
|
201891
202459
|
}
|
|
201892
202460
|
};
|
|
201893
202461
|
|
|
201894
|
-
},{"../../plots/get_data":460,"./plot":
|
|
202462
|
+
},{"../../plots/get_data":460,"./plot":884}],878:[function(_dereq_,module,exports){
|
|
201895
202463
|
'use strict';
|
|
201896
202464
|
|
|
201897
202465
|
var wrap = _dereq_('../../lib/gup').wrap;
|
|
@@ -201902,7 +202470,7 @@ module.exports = function calc() {
|
|
|
201902
202470
|
return wrap({});
|
|
201903
202471
|
};
|
|
201904
202472
|
|
|
201905
|
-
},{"../../lib/gup":368}],
|
|
202473
|
+
},{"../../lib/gup":368}],879:[function(_dereq_,module,exports){
|
|
201906
202474
|
'use strict';
|
|
201907
202475
|
|
|
201908
202476
|
module.exports = {
|
|
@@ -201954,7 +202522,7 @@ module.exports = {
|
|
|
201954
202522
|
}
|
|
201955
202523
|
};
|
|
201956
202524
|
|
|
201957
|
-
},{}],
|
|
202525
|
+
},{}],880:[function(_dereq_,module,exports){
|
|
201958
202526
|
'use strict';
|
|
201959
202527
|
|
|
201960
202528
|
var c = _dereq_('./constants');
|
|
@@ -202141,7 +202709,7 @@ function makeIdentity() {
|
|
|
202141
202709
|
};
|
|
202142
202710
|
}
|
|
202143
202711
|
|
|
202144
|
-
},{"../../lib/extend":361,"./constants":
|
|
202712
|
+
},{"../../lib/extend":361,"./constants":879,"fast-isnumeric":99}],881:[function(_dereq_,module,exports){
|
|
202145
202713
|
'use strict';
|
|
202146
202714
|
|
|
202147
202715
|
var extendFlat = _dereq_('../../lib/extend').extendFlat;
|
|
@@ -202216,7 +202784,7 @@ function rowFromTo(d) {
|
|
|
202216
202784
|
return [rowFrom, rowTo];
|
|
202217
202785
|
}
|
|
202218
202786
|
|
|
202219
|
-
},{"../../lib/extend":361}],
|
|
202787
|
+
},{"../../lib/extend":361}],882:[function(_dereq_,module,exports){
|
|
202220
202788
|
'use strict';
|
|
202221
202789
|
|
|
202222
202790
|
var Lib = _dereq_('../../lib');
|
|
@@ -202273,7 +202841,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
202273
202841
|
traceOut._length = null;
|
|
202274
202842
|
};
|
|
202275
202843
|
|
|
202276
|
-
},{"../../lib":371,"../../plots/domain":451,"./attributes":
|
|
202844
|
+
},{"../../lib":371,"../../plots/domain":451,"./attributes":876}],883:[function(_dereq_,module,exports){
|
|
202277
202845
|
'use strict';
|
|
202278
202846
|
|
|
202279
202847
|
module.exports = {
|
|
@@ -202290,7 +202858,7 @@ module.exports = {
|
|
|
202290
202858
|
}
|
|
202291
202859
|
};
|
|
202292
202860
|
|
|
202293
|
-
},{"./attributes":
|
|
202861
|
+
},{"./attributes":876,"./base_plot":877,"./calc":878,"./defaults":882,"./plot":884}],884:[function(_dereq_,module,exports){
|
|
202294
202862
|
'use strict';
|
|
202295
202863
|
|
|
202296
202864
|
var c = _dereq_('./constants');
|
|
@@ -203181,7 +203749,7 @@ function allRowsHeight(rowBlock) {
|
|
|
203181
203749
|
function getBlock(d) {return d.rowBlocks[d.page];}
|
|
203182
203750
|
function getRow(l, i) {return l.rows[i - l.firstRowIndex];}
|
|
203183
203751
|
|
|
203184
|
-
},{"../../components/color":234,"../../components/drawing":256,"../../lib":371,"../../lib/gup":368,"../../lib/svg_text_utils":396,"./constants":
|
|
203752
|
+
},{"../../components/color":234,"../../components/drawing":256,"../../lib":371,"../../lib/gup":368,"../../lib/svg_text_utils":396,"./constants":879,"./data_preparation_helper":880,"./data_split_helpers":881,"@plotly/d3":53}],885:[function(_dereq_,module,exports){
|
|
203185
203753
|
'use strict';
|
|
203186
203754
|
|
|
203187
203755
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
@@ -203367,7 +203935,7 @@ module.exports = {
|
|
|
203367
203935
|
domain: domainAttrs({name: 'treemap', trace: true, editType: 'calc'}),
|
|
203368
203936
|
};
|
|
203369
203937
|
|
|
203370
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/domain":451,"../../plots/template_attributes":496,"../pie/attributes":
|
|
203938
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plots/domain":451,"../../plots/template_attributes":496,"../pie/attributes":752,"../sunburst/attributes":859,"./constants":888}],886:[function(_dereq_,module,exports){
|
|
203371
203939
|
'use strict';
|
|
203372
203940
|
|
|
203373
203941
|
var plots = _dereq_('../../plots/plots');
|
|
@@ -203382,7 +203950,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
|
|
|
203382
203950
|
plots.cleanBasePlot(exports.name, newFullData, newFullLayout, oldFullData, oldFullLayout);
|
|
203383
203951
|
};
|
|
203384
203952
|
|
|
203385
|
-
},{"../../plots/plots":486}],
|
|
203953
|
+
},{"../../plots/plots":486}],887:[function(_dereq_,module,exports){
|
|
203386
203954
|
'use strict';
|
|
203387
203955
|
|
|
203388
203956
|
var calc = _dereq_('../sunburst/calc');
|
|
@@ -203395,7 +203963,7 @@ exports.crossTraceCalc = function(gd) {
|
|
|
203395
203963
|
return calc._runCrossTraceCalc('treemap', gd);
|
|
203396
203964
|
};
|
|
203397
203965
|
|
|
203398
|
-
},{"../sunburst/calc":
|
|
203966
|
+
},{"../sunburst/calc":861}],888:[function(_dereq_,module,exports){
|
|
203399
203967
|
'use strict';
|
|
203400
203968
|
|
|
203401
203969
|
module.exports = {
|
|
@@ -203416,7 +203984,7 @@ module.exports = {
|
|
|
203416
203984
|
gapWithPathbar: 1 // i.e. one pixel
|
|
203417
203985
|
};
|
|
203418
203986
|
|
|
203419
|
-
},{}],
|
|
203987
|
+
},{}],889:[function(_dereq_,module,exports){
|
|
203420
203988
|
'use strict';
|
|
203421
203989
|
|
|
203422
203990
|
var Lib = _dereq_('../../lib');
|
|
@@ -203531,7 +204099,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
203531
204099
|
traceOut._length = null;
|
|
203532
204100
|
};
|
|
203533
204101
|
|
|
203534
|
-
},{"../../components/color":234,"../../components/colorscale":246,"../../lib":371,"../../plots/domain":451,"../bar/constants":513,"../bar/defaults":515,"./attributes":
|
|
204102
|
+
},{"../../components/color":234,"../../components/colorscale":246,"../../lib":371,"../../plots/domain":451,"../bar/constants":513,"../bar/defaults":515,"./attributes":885}],890:[function(_dereq_,module,exports){
|
|
203535
204103
|
'use strict';
|
|
203536
204104
|
|
|
203537
204105
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -203602,7 +204170,7 @@ module.exports = function _plot(gd, cdmodule, transitionOpts, makeOnCompleteCall
|
|
|
203602
204170
|
}
|
|
203603
204171
|
};
|
|
203604
204172
|
|
|
203605
|
-
},{"../bar/style":525,"../bar/uniform_text":527,"../sunburst/helpers":
|
|
204173
|
+
},{"../bar/style":525,"../bar/uniform_text":527,"../sunburst/helpers":865,"./plot_one":899,"@plotly/d3":53}],891:[function(_dereq_,module,exports){
|
|
203606
204174
|
'use strict';
|
|
203607
204175
|
|
|
203608
204176
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -203772,7 +204340,7 @@ module.exports = function drawAncestors(gd, cd, entry, slices, opts) {
|
|
|
203772
204340
|
});
|
|
203773
204341
|
};
|
|
203774
204342
|
|
|
203775
|
-
},{"../../components/drawing":256,"../../lib":371,"../../lib/svg_text_utils":396,"../sunburst/fx":
|
|
204343
|
+
},{"../../components/drawing":256,"../../lib":371,"../../lib/svg_text_utils":396,"../sunburst/fx":864,"../sunburst/helpers":865,"./constants":888,"./partition":897,"./style":900,"@plotly/d3":53}],892:[function(_dereq_,module,exports){
|
|
203776
204344
|
'use strict';
|
|
203777
204345
|
|
|
203778
204346
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -203983,7 +204551,7 @@ module.exports = function drawDescendants(gd, cd, entry, slices, opts) {
|
|
|
203983
204551
|
return nextOfPrevEntry;
|
|
203984
204552
|
};
|
|
203985
204553
|
|
|
203986
|
-
},{"../../components/drawing":256,"../../lib":371,"../../lib/svg_text_utils":396,"../sunburst/fx":
|
|
204554
|
+
},{"../../components/drawing":256,"../../lib":371,"../../lib/svg_text_utils":396,"../sunburst/fx":864,"../sunburst/helpers":865,"../sunburst/plot":869,"./constants":888,"./partition":897,"./style":900,"@plotly/d3":53}],893:[function(_dereq_,module,exports){
|
|
203987
204555
|
'use strict';
|
|
203988
204556
|
|
|
203989
204557
|
module.exports = function flipTree(node, size, opts) {
|
|
@@ -204021,7 +204589,7 @@ module.exports = function flipTree(node, size, opts) {
|
|
|
204021
204589
|
}
|
|
204022
204590
|
};
|
|
204023
204591
|
|
|
204024
|
-
},{}],
|
|
204592
|
+
},{}],894:[function(_dereq_,module,exports){
|
|
204025
204593
|
'use strict';
|
|
204026
204594
|
|
|
204027
204595
|
module.exports = {
|
|
@@ -204048,7 +204616,7 @@ module.exports = {
|
|
|
204048
204616
|
}
|
|
204049
204617
|
};
|
|
204050
204618
|
|
|
204051
|
-
},{"../scatter/marker_colorbar":
|
|
204619
|
+
},{"../scatter/marker_colorbar":796,"./attributes":885,"./base_plot":886,"./calc":887,"./defaults":889,"./layout_attributes":895,"./layout_defaults":896,"./plot":898,"./style":900}],895:[function(_dereq_,module,exports){
|
|
204052
204620
|
'use strict';
|
|
204053
204621
|
|
|
204054
204622
|
module.exports = {
|
|
@@ -204063,7 +204631,7 @@ module.exports = {
|
|
|
204063
204631
|
}
|
|
204064
204632
|
};
|
|
204065
204633
|
|
|
204066
|
-
},{}],
|
|
204634
|
+
},{}],896:[function(_dereq_,module,exports){
|
|
204067
204635
|
'use strict';
|
|
204068
204636
|
|
|
204069
204637
|
var Lib = _dereq_('../../lib');
|
|
@@ -204077,7 +204645,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
|
|
|
204077
204645
|
coerce('extendtreemapcolors');
|
|
204078
204646
|
};
|
|
204079
204647
|
|
|
204080
|
-
},{"../../lib":371,"./layout_attributes":
|
|
204648
|
+
},{"../../lib":371,"./layout_attributes":895}],897:[function(_dereq_,module,exports){
|
|
204081
204649
|
'use strict';
|
|
204082
204650
|
|
|
204083
204651
|
var d3Hierarchy = _dereq_('d3-hierarchy');
|
|
@@ -204141,7 +204709,7 @@ function getTilingMethod(key, squarifyratio) {
|
|
|
204141
204709
|
}
|
|
204142
204710
|
}
|
|
204143
204711
|
|
|
204144
|
-
},{"./flip_tree":
|
|
204712
|
+
},{"./flip_tree":893,"d3-hierarchy":87}],898:[function(_dereq_,module,exports){
|
|
204145
204713
|
'use strict';
|
|
204146
204714
|
|
|
204147
204715
|
var draw = _dereq_('./draw');
|
|
@@ -204154,7 +204722,7 @@ module.exports = function _plot(gd, cdmodule, transitionOpts, makeOnCompleteCall
|
|
|
204154
204722
|
});
|
|
204155
204723
|
};
|
|
204156
204724
|
|
|
204157
|
-
},{"./draw":
|
|
204725
|
+
},{"./draw":890,"./draw_descendants":892}],899:[function(_dereq_,module,exports){
|
|
204158
204726
|
'use strict';
|
|
204159
204727
|
|
|
204160
204728
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -204746,7 +205314,7 @@ module.exports = function plotOne(gd, cd, element, transitionOpts, drawDescendan
|
|
|
204746
205314
|
}
|
|
204747
205315
|
};
|
|
204748
205316
|
|
|
204749
|
-
},{"../../lib":371,"../bar/constants":513,"../bar/plot":522,"../bar/uniform_text":527,"../sunburst/helpers":
|
|
205317
|
+
},{"../../lib":371,"../bar/constants":513,"../bar/plot":522,"../bar/uniform_text":527,"../sunburst/helpers":865,"./constants":888,"./draw_ancestors":891,"@plotly/d3":53,"d3-interpolate":88}],900:[function(_dereq_,module,exports){
|
|
204750
205318
|
'use strict';
|
|
204751
205319
|
|
|
204752
205320
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -204840,7 +205408,7 @@ module.exports = {
|
|
|
204840
205408
|
styleOne: styleOne
|
|
204841
205409
|
};
|
|
204842
205410
|
|
|
204843
|
-
},{"../../components/color":234,"../../lib":371,"../bar/uniform_text":527,"../sunburst/helpers":
|
|
205411
|
+
},{"../../components/color":234,"../../lib":371,"../bar/uniform_text":527,"../sunburst/helpers":865,"@plotly/d3":53}],901:[function(_dereq_,module,exports){
|
|
204844
205412
|
'use strict';
|
|
204845
205413
|
|
|
204846
205414
|
var boxAttrs = _dereq_('../box/attributes');
|
|
@@ -204996,7 +205564,7 @@ module.exports = {
|
|
|
204996
205564
|
}
|
|
204997
205565
|
};
|
|
204998
205566
|
|
|
204999
|
-
},{"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../box/attributes":536}],
|
|
205567
|
+
},{"../../lib/extend":361,"../../plots/cartesian/axis_format_attributes":424,"../box/attributes":536}],902:[function(_dereq_,module,exports){
|
|
205000
205568
|
'use strict';
|
|
205001
205569
|
|
|
205002
205570
|
var Lib = _dereq_('../../lib');
|
|
@@ -205164,7 +205732,7 @@ function calcSpan(trace, cdi, valAxis, bandwidth) {
|
|
|
205164
205732
|
return spanOut;
|
|
205165
205733
|
}
|
|
205166
205734
|
|
|
205167
|
-
},{"../../constants/numerical":347,"../../lib":371,"../../plots/cartesian/axes":421,"../box/calc":537,"./helpers":
|
|
205735
|
+
},{"../../constants/numerical":347,"../../lib":371,"../../plots/cartesian/axes":421,"../box/calc":537,"./helpers":905}],903:[function(_dereq_,module,exports){
|
|
205168
205736
|
'use strict';
|
|
205169
205737
|
|
|
205170
205738
|
var setPositionOffset = _dereq_('../box/cross_trace_calc').setPositionOffset;
|
|
@@ -205199,7 +205767,7 @@ module.exports = function crossTraceCalc(gd, plotinfo) {
|
|
|
205199
205767
|
}
|
|
205200
205768
|
};
|
|
205201
205769
|
|
|
205202
|
-
},{"../box/cross_trace_calc":538}],
|
|
205770
|
+
},{"../box/cross_trace_calc":538}],904:[function(_dereq_,module,exports){
|
|
205203
205771
|
'use strict';
|
|
205204
205772
|
|
|
205205
205773
|
var Lib = _dereq_('../../lib');
|
|
@@ -205252,7 +205820,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
205252
205820
|
if(!meanLineVisible) traceOut.meanline = {visible: false};
|
|
205253
205821
|
};
|
|
205254
205822
|
|
|
205255
|
-
},{"../../components/color":234,"../../lib":371,"../box/defaults":539,"./attributes":
|
|
205823
|
+
},{"../../components/color":234,"../../lib":371,"../box/defaults":539,"./attributes":901}],905:[function(_dereq_,module,exports){
|
|
205256
205824
|
'use strict';
|
|
205257
205825
|
|
|
205258
205826
|
var Lib = _dereq_('../../lib');
|
|
@@ -205317,7 +205885,7 @@ exports.getKdeValue = function(calcItem, trace, valueDist) {
|
|
|
205317
205885
|
|
|
205318
205886
|
exports.extractVal = function(o) { return o.v; };
|
|
205319
205887
|
|
|
205320
|
-
},{"../../lib":371}],
|
|
205888
|
+
},{"../../lib":371}],906:[function(_dereq_,module,exports){
|
|
205321
205889
|
'use strict';
|
|
205322
205890
|
|
|
205323
205891
|
var Lib = _dereq_('../../lib');
|
|
@@ -205424,7 +205992,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode, opts) {
|
|
|
205424
205992
|
return closeData;
|
|
205425
205993
|
};
|
|
205426
205994
|
|
|
205427
|
-
},{"../../lib":371,"../../plots/cartesian/axes":421,"../box/hover":541,"./helpers":
|
|
205995
|
+
},{"../../lib":371,"../../plots/cartesian/axes":421,"../box/hover":541,"./helpers":905}],907:[function(_dereq_,module,exports){
|
|
205428
205996
|
'use strict';
|
|
205429
205997
|
|
|
205430
205998
|
module.exports = {
|
|
@@ -205449,7 +206017,7 @@ module.exports = {
|
|
|
205449
206017
|
}
|
|
205450
206018
|
};
|
|
205451
206019
|
|
|
205452
|
-
},{"../../plots/cartesian":435,"../box/defaults":539,"../box/select":546,"../scatter/style":
|
|
206020
|
+
},{"../../plots/cartesian":435,"../box/defaults":539,"../box/select":546,"../scatter/style":802,"./attributes":901,"./calc":902,"./cross_trace_calc":903,"./defaults":904,"./hover":906,"./layout_attributes":908,"./layout_defaults":909,"./plot":910,"./style":911}],908:[function(_dereq_,module,exports){
|
|
205453
206021
|
'use strict';
|
|
205454
206022
|
|
|
205455
206023
|
var boxLayoutAttrs = _dereq_('../box/layout_attributes');
|
|
@@ -205464,7 +206032,7 @@ module.exports = {
|
|
|
205464
206032
|
})
|
|
205465
206033
|
};
|
|
205466
206034
|
|
|
205467
|
-
},{"../../lib":371,"../box/layout_attributes":543}],
|
|
206035
|
+
},{"../../lib":371,"../box/layout_attributes":543}],909:[function(_dereq_,module,exports){
|
|
205468
206036
|
'use strict';
|
|
205469
206037
|
|
|
205470
206038
|
var Lib = _dereq_('../../lib');
|
|
@@ -205478,7 +206046,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {
|
|
|
205478
206046
|
boxLayoutDefaults._supply(layoutIn, layoutOut, fullData, coerce, 'violin');
|
|
205479
206047
|
};
|
|
205480
206048
|
|
|
205481
|
-
},{"../../lib":371,"../box/layout_defaults":544,"./layout_attributes":
|
|
206049
|
+
},{"../../lib":371,"../box/layout_defaults":544,"./layout_attributes":908}],910:[function(_dereq_,module,exports){
|
|
205482
206050
|
'use strict';
|
|
205483
206051
|
|
|
205484
206052
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -205660,7 +206228,7 @@ module.exports = function plot(gd, plotinfo, cdViolins, violinLayer) {
|
|
|
205660
206228
|
});
|
|
205661
206229
|
};
|
|
205662
206230
|
|
|
205663
|
-
},{"../../components/drawing":256,"../../lib":371,"../box/plot":545,"../scatter/line_points":
|
|
206231
|
+
},{"../../components/drawing":256,"../../lib":371,"../box/plot":545,"../scatter/line_points":792,"./helpers":905,"@plotly/d3":53}],911:[function(_dereq_,module,exports){
|
|
205664
206232
|
'use strict';
|
|
205665
206233
|
|
|
205666
206234
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -205707,7 +206275,7 @@ module.exports = function style(gd) {
|
|
|
205707
206275
|
});
|
|
205708
206276
|
};
|
|
205709
206277
|
|
|
205710
|
-
},{"../../components/color":234,"../scatter/style":
|
|
206278
|
+
},{"../../components/color":234,"../scatter/style":802,"@plotly/d3":53}],912:[function(_dereq_,module,exports){
|
|
205711
206279
|
'use strict';
|
|
205712
206280
|
|
|
205713
206281
|
var colorScaleAttrs = _dereq_('../../components/colorscale/attributes');
|
|
@@ -205772,7 +206340,7 @@ colorScaleAttrs('', {
|
|
|
205772
206340
|
attrs.x.editType = attrs.y.editType = attrs.z.editType = attrs.value.editType = 'calc+clearAxisTypes';
|
|
205773
206341
|
attrs.transforms = undefined;
|
|
205774
206342
|
|
|
205775
|
-
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plots/attributes":417,"../isosurface/attributes":
|
|
206343
|
+
},{"../../components/colorscale/attributes":241,"../../lib/extend":361,"../../plot_api/edit_types":403,"../../plots/attributes":417,"../isosurface/attributes":725,"../surface/attributes":871}],913:[function(_dereq_,module,exports){
|
|
205776
206344
|
'use strict';
|
|
205777
206345
|
|
|
205778
206346
|
var createMesh = _dereq_('../../../stackgl_modules').gl_mesh3d;
|
|
@@ -205897,7 +206465,7 @@ function createVolumeTrace(scene, data) {
|
|
|
205897
206465
|
|
|
205898
206466
|
module.exports = createVolumeTrace;
|
|
205899
206467
|
|
|
205900
|
-
},{"../../../stackgl_modules":
|
|
206468
|
+
},{"../../../stackgl_modules":934,"../../components/colorscale":246,"../../lib/gl_format_color":367,"../../lib/str2rgbarray":395,"../../plots/gl3d/zip3":476,"../isosurface/convert":727}],914:[function(_dereq_,module,exports){
|
|
205901
206469
|
'use strict';
|
|
205902
206470
|
|
|
205903
206471
|
var Lib = _dereq_('../../lib');
|
|
@@ -205915,7 +206483,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
205915
206483
|
opacityscaleDefaults(traceIn, traceOut, layout, coerce);
|
|
205916
206484
|
};
|
|
205917
206485
|
|
|
205918
|
-
},{"../../lib":371,"../isosurface/defaults":
|
|
206486
|
+
},{"../../lib":371,"../isosurface/defaults":728,"../surface/defaults":874,"./attributes":912}],915:[function(_dereq_,module,exports){
|
|
205919
206487
|
'use strict';
|
|
205920
206488
|
|
|
205921
206489
|
module.exports = {
|
|
@@ -205936,7 +206504,7 @@ module.exports = {
|
|
|
205936
206504
|
}
|
|
205937
206505
|
};
|
|
205938
206506
|
|
|
205939
|
-
},{"../../plots/gl3d":465,"../isosurface/calc":
|
|
206507
|
+
},{"../../plots/gl3d":465,"../isosurface/calc":726,"./attributes":912,"./convert":913,"./defaults":914}],916:[function(_dereq_,module,exports){
|
|
205940
206508
|
'use strict';
|
|
205941
206509
|
|
|
205942
206510
|
var barAttrs = _dereq_('../bar/attributes');
|
|
@@ -206069,7 +206637,7 @@ module.exports = {
|
|
|
206069
206637
|
alignmentgroup: barAttrs.alignmentgroup
|
|
206070
206638
|
};
|
|
206071
206639
|
|
|
206072
|
-
},{"../../components/color":234,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../bar/attributes":511,"../scatter/attributes":
|
|
206640
|
+
},{"../../components/color":234,"../../lib/extend":361,"../../plots/attributes":417,"../../plots/cartesian/axis_format_attributes":424,"../../plots/template_attributes":496,"../bar/attributes":511,"../scatter/attributes":778,"./constants":918}],917:[function(_dereq_,module,exports){
|
|
206073
206641
|
'use strict';
|
|
206074
206642
|
|
|
206075
206643
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -206179,7 +206747,7 @@ module.exports = function calc(gd, trace) {
|
|
|
206179
206747
|
return cd;
|
|
206180
206748
|
};
|
|
206181
206749
|
|
|
206182
|
-
},{"../../constants/numerical":347,"../../lib":371,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421,"../scatter/calc_selection":
|
|
206750
|
+
},{"../../constants/numerical":347,"../../lib":371,"../../plots/cartesian/align_period":418,"../../plots/cartesian/axes":421,"../scatter/calc_selection":780}],918:[function(_dereq_,module,exports){
|
|
206183
206751
|
'use strict';
|
|
206184
206752
|
|
|
206185
206753
|
module.exports = {
|
|
@@ -206190,7 +206758,7 @@ module.exports = {
|
|
|
206190
206758
|
]
|
|
206191
206759
|
};
|
|
206192
206760
|
|
|
206193
|
-
},{}],
|
|
206761
|
+
},{}],919:[function(_dereq_,module,exports){
|
|
206194
206762
|
'use strict';
|
|
206195
206763
|
|
|
206196
206764
|
var setGroupPositions = _dereq_('../bar/cross_trace_calc').setGroupPositions;
|
|
@@ -206255,7 +206823,7 @@ module.exports = function crossTraceCalc(gd, plotinfo) {
|
|
|
206255
206823
|
}
|
|
206256
206824
|
};
|
|
206257
206825
|
|
|
206258
|
-
},{"../bar/cross_trace_calc":514}],
|
|
206826
|
+
},{"../bar/cross_trace_calc":514}],920:[function(_dereq_,module,exports){
|
|
206259
206827
|
'use strict';
|
|
206260
206828
|
|
|
206261
206829
|
var Lib = _dereq_('../../lib');
|
|
@@ -206358,7 +206926,7 @@ module.exports = {
|
|
|
206358
206926
|
crossTraceDefaults: crossTraceDefaults
|
|
206359
206927
|
};
|
|
206360
206928
|
|
|
206361
|
-
},{"../../components/color":234,"../../constants/delta.js":341,"../../lib":371,"../bar/defaults":515,"../scatter/period_defaults":
|
|
206929
|
+
},{"../../components/color":234,"../../constants/delta.js":341,"../../lib":371,"../bar/defaults":515,"../scatter/period_defaults":798,"../scatter/xy_defaults":805,"./attributes":916}],921:[function(_dereq_,module,exports){
|
|
206362
206930
|
'use strict';
|
|
206363
206931
|
|
|
206364
206932
|
module.exports = function eventData(out, pt /* , trace, cd, pointNumber */) {
|
|
@@ -206377,7 +206945,7 @@ module.exports = function eventData(out, pt /* , trace, cd, pointNumber */) {
|
|
|
206377
206945
|
return out;
|
|
206378
206946
|
};
|
|
206379
206947
|
|
|
206380
|
-
},{}],
|
|
206948
|
+
},{}],922:[function(_dereq_,module,exports){
|
|
206381
206949
|
'use strict';
|
|
206382
206950
|
|
|
206383
206951
|
var hoverLabelText = _dereq_('../../plots/cartesian/axes').hoverLabelText;
|
|
@@ -206465,7 +207033,7 @@ function getTraceColor(trace, di) {
|
|
|
206465
207033
|
else if(opacity(mlc) && mlw) return mlc;
|
|
206466
207034
|
}
|
|
206467
207035
|
|
|
206468
|
-
},{"../../components/color":234,"../../constants/delta.js":341,"../../plots/cartesian/axes":421,"../bar/hover":518}],
|
|
207036
|
+
},{"../../components/color":234,"../../constants/delta.js":341,"../../plots/cartesian/axes":421,"../bar/hover":518}],923:[function(_dereq_,module,exports){
|
|
206469
207037
|
'use strict';
|
|
206470
207038
|
|
|
206471
207039
|
module.exports = {
|
|
@@ -206491,7 +207059,7 @@ module.exports = {
|
|
|
206491
207059
|
}
|
|
206492
207060
|
};
|
|
206493
207061
|
|
|
206494
|
-
},{"../../plots/cartesian":435,"../bar/select":523,"./attributes":
|
|
207062
|
+
},{"../../plots/cartesian":435,"../bar/select":523,"./attributes":916,"./calc":917,"./cross_trace_calc":919,"./defaults":920,"./event_data":921,"./hover":922,"./layout_attributes":924,"./layout_defaults":925,"./plot":926,"./style":927}],924:[function(_dereq_,module,exports){
|
|
206495
207063
|
'use strict';
|
|
206496
207064
|
|
|
206497
207065
|
module.exports = {
|
|
@@ -206516,7 +207084,7 @@ module.exports = {
|
|
|
206516
207084
|
}
|
|
206517
207085
|
};
|
|
206518
207086
|
|
|
206519
|
-
},{}],
|
|
207087
|
+
},{}],925:[function(_dereq_,module,exports){
|
|
206520
207088
|
'use strict';
|
|
206521
207089
|
|
|
206522
207090
|
var Lib = _dereq_('../../lib');
|
|
@@ -206545,7 +207113,7 @@ module.exports = function(layoutIn, layoutOut, fullData) {
|
|
|
206545
207113
|
}
|
|
206546
207114
|
};
|
|
206547
207115
|
|
|
206548
|
-
},{"../../lib":371,"./layout_attributes":
|
|
207116
|
+
},{"../../lib":371,"./layout_attributes":924}],926:[function(_dereq_,module,exports){
|
|
206549
207117
|
'use strict';
|
|
206550
207118
|
|
|
206551
207119
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -206668,7 +207236,7 @@ function getXY(di, xa, ya, isHorizontal) {
|
|
|
206668
207236
|
return isHorizontal ? [s, p] : [p, s];
|
|
206669
207237
|
}
|
|
206670
207238
|
|
|
206671
|
-
},{"../../components/drawing":256,"../../constants/numerical":347,"../../lib":371,"../bar/plot":522,"../bar/uniform_text":527,"@plotly/d3":53}],
|
|
207239
|
+
},{"../../components/drawing":256,"../../constants/numerical":347,"../../lib":371,"../bar/plot":522,"../bar/uniform_text":527,"@plotly/d3":53}],927:[function(_dereq_,module,exports){
|
|
206672
207240
|
'use strict';
|
|
206673
207241
|
|
|
206674
207242
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -206721,7 +207289,7 @@ module.exports = {
|
|
|
206721
207289
|
style: style
|
|
206722
207290
|
};
|
|
206723
207291
|
|
|
206724
|
-
},{"../../components/color":234,"../../components/drawing":256,"../../constants/interactions":346,"../bar/style":525,"../bar/uniform_text":527,"@plotly/d3":53}],
|
|
207292
|
+
},{"../../components/color":234,"../../components/drawing":256,"../../constants/interactions":346,"../bar/style":525,"../bar/uniform_text":527,"@plotly/d3":53}],928:[function(_dereq_,module,exports){
|
|
206725
207293
|
'use strict';
|
|
206726
207294
|
|
|
206727
207295
|
var Axes = _dereq_('../plots/cartesian/axes');
|
|
@@ -207125,7 +207693,7 @@ function last(array, indices) {
|
|
|
207125
207693
|
return array[indices[indices.length - 1]];
|
|
207126
207694
|
}
|
|
207127
207695
|
|
|
207128
|
-
},{"../constants/numerical":347,"../lib":371,"../plot_api/plot_schema":409,"../plots/cartesian/axes":421,"./helpers":
|
|
207696
|
+
},{"../constants/numerical":347,"../lib":371,"../plot_api/plot_schema":409,"../plots/cartesian/axes":421,"./helpers":931}],929:[function(_dereq_,module,exports){
|
|
207129
207697
|
'use strict';
|
|
207130
207698
|
|
|
207131
207699
|
var Lib = _dereq_('../lib');
|
|
@@ -207385,7 +207953,7 @@ function getFilterFunc(opts, d2c, targetCalendar) {
|
|
|
207385
207953
|
}
|
|
207386
207954
|
}
|
|
207387
207955
|
|
|
207388
|
-
},{"../constants/filter_ops":343,"../lib":371,"../plots/cartesian/axes":421,"../registry":501,"./helpers":
|
|
207956
|
+
},{"../constants/filter_ops":343,"../lib":371,"../plots/cartesian/axes":421,"../registry":501,"./helpers":931}],930:[function(_dereq_,module,exports){
|
|
207389
207957
|
'use strict';
|
|
207390
207958
|
|
|
207391
207959
|
var Lib = _dereq_('../lib');
|
|
@@ -207629,7 +208197,7 @@ function transformOne(trace, state) {
|
|
|
207629
208197
|
return newData;
|
|
207630
208198
|
}
|
|
207631
208199
|
|
|
207632
|
-
},{"../lib":371,"../plot_api/plot_schema":409,"../plots/plots":486,"./helpers":
|
|
208200
|
+
},{"../lib":371,"../plot_api/plot_schema":409,"../plots/plots":486,"./helpers":931}],931:[function(_dereq_,module,exports){
|
|
207633
208201
|
'use strict';
|
|
207634
208202
|
|
|
207635
208203
|
exports.pointsAccessorFunction = function(transforms, opts) {
|
|
@@ -207647,7 +208215,7 @@ exports.pointsAccessorFunction = function(transforms, opts) {
|
|
|
207647
208215
|
return originalPointsAccessor;
|
|
207648
208216
|
};
|
|
207649
208217
|
|
|
207650
|
-
},{}],
|
|
208218
|
+
},{}],932:[function(_dereq_,module,exports){
|
|
207651
208219
|
'use strict';
|
|
207652
208220
|
|
|
207653
208221
|
var Lib = _dereq_('../lib');
|
|
@@ -207785,13 +208353,13 @@ function getSortFunc(opts, d2c) {
|
|
|
207785
208353
|
}
|
|
207786
208354
|
}
|
|
207787
208355
|
|
|
207788
|
-
},{"../constants/numerical":347,"../lib":371,"../plots/cartesian/axes":421,"./helpers":
|
|
208356
|
+
},{"../constants/numerical":347,"../lib":371,"../plots/cartesian/axes":421,"./helpers":931}],933:[function(_dereq_,module,exports){
|
|
207789
208357
|
'use strict';
|
|
207790
208358
|
|
|
207791
208359
|
// package version injected by `npm run preprocess`
|
|
207792
|
-
exports.version = '2.
|
|
208360
|
+
exports.version = '2.8.0';
|
|
207793
208361
|
|
|
207794
|
-
},{}],
|
|
208362
|
+
},{}],934:[function(_dereq_,module,exports){
|
|
207795
208363
|
(function (global){(function (){
|
|
207796
208364
|
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.stackgl = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof _dereq_&&_dereq_;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof _dereq_&&_dereq_,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(_glvis_,module,exports){
|
|
207797
208365
|
'use strict'
|