plotly.js 1.58.0 → 1.58.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +42 -1
  2. package/dist/README.md +25 -25
  3. package/dist/plot-schema.json +15 -15
  4. package/dist/plotly-basic.js +608 -444
  5. package/dist/plotly-basic.min.js +4 -4
  6. package/dist/plotly-cartesian.js +725 -561
  7. package/dist/plotly-cartesian.min.js +4 -4
  8. package/dist/plotly-finance.js +689 -525
  9. package/dist/plotly-finance.min.js +4 -4
  10. package/dist/plotly-geo-assets.js +2 -2
  11. package/dist/plotly-geo.js +612 -448
  12. package/dist/plotly-geo.min.js +4 -4
  13. package/dist/plotly-gl2d.js +790 -626
  14. package/dist/plotly-gl2d.min.js +10 -10
  15. package/dist/plotly-gl3d.js +514 -389
  16. package/dist/plotly-gl3d.min.js +3 -3
  17. package/dist/plotly-mapbox.js +622 -458
  18. package/dist/plotly-mapbox.min.js +4 -4
  19. package/dist/plotly-with-meta.js +988 -856
  20. package/dist/plotly.js +980 -851
  21. package/dist/plotly.min.js +3 -3
  22. package/dist/translation-keys.txt +1 -1
  23. package/package.json +1 -1
  24. package/src/components/colorscale/index.js +1 -1
  25. package/src/components/errorbars/attributes.js +1 -1
  26. package/src/components/fx/hover.js +1 -1
  27. package/src/components/sliders/draw.js +1 -1
  28. package/src/lib/index.js +2 -1
  29. package/src/lib/preserve_drawing_buffer.js +68 -0
  30. package/src/plot_api/plot_api.js +19 -15
  31. package/src/plots/cartesian/autorange.js +33 -64
  32. package/src/plots/cartesian/axes.js +44 -16
  33. package/src/plots/cartesian/axis_ids.js +16 -0
  34. package/src/plots/cartesian/constraints.js +2 -2
  35. package/src/plots/cartesian/layout_attributes.js +4 -1
  36. package/src/plots/gl3d/scene.js +16 -18
  37. package/src/plots/plots.js +61 -22
  38. package/src/plots/polar/polar.js +2 -0
  39. package/src/traces/carpet/attributes.js +2 -2
  40. package/src/traces/carpet/create_i_derivative_evaluator.js +1 -1
  41. package/src/traces/carpet/plot.js +1 -1
  42. package/src/traces/carpet/set_convert.js +2 -2
  43. package/src/traces/carpet/smooth_fill_2d_array.js +1 -1
  44. package/src/traces/parcats/attributes.js +1 -1
  45. package/src/traces/scatter/plot.js +1 -1
  46. package/src/traces/scattercarpet/plot.js +1 -1
  47. package/src/traces/sunburst/calc.js +3 -1
  48. package/src/version.js +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * plotly.js (basic) v1.58.0
2
+ * plotly.js (basic) v1.58.4
3
3
  * Copyright 2012-2020, Plotly, Inc.
4
4
  * All rights reserved.
5
5
  * Licensed under the MIT license
@@ -72,7 +72,7 @@ for(var selector in rules) {
72
72
  Lib.addStyleRule(fullSelector, rules[selector]);
73
73
  }
74
74
 
75
- },{"../src/lib":201}],2:[function(_dereq_,module,exports){
75
+ },{"../src/lib":202}],2:[function(_dereq_,module,exports){
76
76
  /**
77
77
  * Copyright 2012-2020, Plotly, Inc.
78
78
  * All rights reserved.
@@ -85,7 +85,7 @@ for(var selector in rules) {
85
85
 
86
86
  module.exports = _dereq_('../src/traces/bar');
87
87
 
88
- },{"../src/traces/bar":306}],3:[function(_dereq_,module,exports){
88
+ },{"../src/traces/bar":308}],3:[function(_dereq_,module,exports){
89
89
  /**
90
90
  * Copyright 2012-2020, Plotly, Inc.
91
91
  * All rights reserved.
@@ -98,7 +98,7 @@ module.exports = _dereq_('../src/traces/bar');
98
98
 
99
99
  module.exports = _dereq_('../src/core');
100
100
 
101
- },{"../src/core":182}],4:[function(_dereq_,module,exports){
101
+ },{"../src/core":183}],4:[function(_dereq_,module,exports){
102
102
  /**
103
103
  * Copyright 2012-2020, Plotly, Inc.
104
104
  * All rights reserved.
@@ -131,7 +131,7 @@ module.exports = Plotly;
131
131
 
132
132
  module.exports = _dereq_('../src/traces/pie');
133
133
 
134
- },{"../src/traces/pie":321}],6:[function(_dereq_,module,exports){
134
+ },{"../src/traces/pie":323}],6:[function(_dereq_,module,exports){
135
135
  // Copyright Joyent, Inc. and other Node contributors.
136
136
  //
137
137
  // Permission is hereby granted, free of charge, to any person obtaining a
@@ -12426,7 +12426,7 @@ return Promise$1;
12426
12426
 
12427
12427
 
12428
12428
  }).call(this)}).call(this,_dereq_('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
12429
- },{"_process":56}],11:[function(_dereq_,module,exports){
12429
+ },{"_process":57}],11:[function(_dereq_,module,exports){
12430
12430
  /**
12431
12431
  * inspired by is-number <https://github.com/jonschlinkert/is-number>
12432
12432
  * but significantly simplified and sped up by ignoring number and string constructors
@@ -12452,7 +12452,7 @@ module.exports = function(n) {
12452
12452
  return n - n < 1;
12453
12453
  };
12454
12454
 
12455
- },{"is-string-blank":45}],12:[function(_dereq_,module,exports){
12455
+ },{"is-string-blank":46}],12:[function(_dereq_,module,exports){
12456
12456
  module.exports = adjoint;
12457
12457
 
12458
12458
  /**
@@ -13722,6 +13722,43 @@ module.exports = isBrowser && detect()
13722
13722
  },{"is-browser":44}],44:[function(_dereq_,module,exports){
13723
13723
  module.exports = true;
13724
13724
  },{}],45:[function(_dereq_,module,exports){
13725
+ 'use strict'
13726
+
13727
+ module.exports = isMobile
13728
+ module.exports.isMobile = isMobile
13729
+ module.exports.default = isMobile
13730
+
13731
+ var mobileRE = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i
13732
+
13733
+ var tabletRE = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i
13734
+
13735
+ function isMobile (opts) {
13736
+ if (!opts) opts = {}
13737
+ var ua = opts.ua
13738
+ if (!ua && typeof navigator !== 'undefined') ua = navigator.userAgent
13739
+ if (ua && ua.headers && typeof ua.headers['user-agent'] === 'string') {
13740
+ ua = ua.headers['user-agent']
13741
+ }
13742
+ if (typeof ua !== 'string') return false
13743
+
13744
+ var result = opts.tablet ? tabletRE.test(ua) : mobileRE.test(ua)
13745
+
13746
+ if (
13747
+ !result &&
13748
+ opts.tablet &&
13749
+ opts.featureDetect &&
13750
+ navigator &&
13751
+ navigator.maxTouchPoints > 1 &&
13752
+ ua.indexOf('Macintosh') !== -1 &&
13753
+ ua.indexOf('Safari') !== -1
13754
+ ) {
13755
+ result = true
13756
+ }
13757
+
13758
+ return result
13759
+ }
13760
+
13761
+ },{}],46:[function(_dereq_,module,exports){
13725
13762
  'use strict';
13726
13763
 
13727
13764
  /**
@@ -13758,7 +13795,7 @@ module.exports = function(str){
13758
13795
  return true;
13759
13796
  }
13760
13797
 
13761
- },{}],46:[function(_dereq_,module,exports){
13798
+ },{}],47:[function(_dereq_,module,exports){
13762
13799
  var rootPosition = { left: 0, top: 0 }
13763
13800
 
13764
13801
  module.exports = mouseEventOffset
@@ -13785,7 +13822,7 @@ function getBoundingClientOffset (element) {
13785
13822
  }
13786
13823
  }
13787
13824
 
13788
- },{}],47:[function(_dereq_,module,exports){
13825
+ },{}],48:[function(_dereq_,module,exports){
13789
13826
 
13790
13827
  module.exports = parse
13791
13828
 
@@ -13844,7 +13881,7 @@ function parseValues(args) {
13844
13881
  return numbers ? numbers.map(Number) : []
13845
13882
  }
13846
13883
 
13847
- },{}],48:[function(_dereq_,module,exports){
13884
+ },{}],49:[function(_dereq_,module,exports){
13848
13885
  /*
13849
13886
  * @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
13850
13887
  * @license MIT
@@ -13972,7 +14009,7 @@ if (typeof window === 'object')
13972
14009
 
13973
14010
  module.exports = PolyBool;
13974
14011
 
13975
- },{"./lib/build-log":49,"./lib/epsilon":50,"./lib/geojson":51,"./lib/intersecter":52,"./lib/segment-chainer":54,"./lib/segment-selector":55}],49:[function(_dereq_,module,exports){
14012
+ },{"./lib/build-log":50,"./lib/epsilon":51,"./lib/geojson":52,"./lib/intersecter":53,"./lib/segment-chainer":55,"./lib/segment-selector":56}],50:[function(_dereq_,module,exports){
13976
14013
  // (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
13977
14014
  // MIT License
13978
14015
  // Project Home: https://github.com/voidqk/polybooljs
@@ -14087,7 +14124,7 @@ function BuildLog(){
14087
14124
 
14088
14125
  module.exports = BuildLog;
14089
14126
 
14090
- },{}],50:[function(_dereq_,module,exports){
14127
+ },{}],51:[function(_dereq_,module,exports){
14091
14128
  // (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
14092
14129
  // MIT License
14093
14130
  // Project Home: https://github.com/voidqk/polybooljs
@@ -14259,7 +14296,7 @@ function Epsilon(eps){
14259
14296
 
14260
14297
  module.exports = Epsilon;
14261
14298
 
14262
- },{}],51:[function(_dereq_,module,exports){
14299
+ },{}],52:[function(_dereq_,module,exports){
14263
14300
  // (c) Copyright 2017, Sean Connelly (@voidqk), http://syntheti.cc
14264
14301
  // MIT License
14265
14302
  // Project Home: https://github.com/voidqk/polybooljs
@@ -14449,7 +14486,7 @@ var GeoJSON = {
14449
14486
 
14450
14487
  module.exports = GeoJSON;
14451
14488
 
14452
- },{}],52:[function(_dereq_,module,exports){
14489
+ },{}],53:[function(_dereq_,module,exports){
14453
14490
  // (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
14454
14491
  // MIT License
14455
14492
  // Project Home: https://github.com/voidqk/polybooljs
@@ -14956,7 +14993,7 @@ function Intersecter(selfIntersection, eps, buildLog){
14956
14993
 
14957
14994
  module.exports = Intersecter;
14958
14995
 
14959
- },{"./linked-list":53}],53:[function(_dereq_,module,exports){
14996
+ },{"./linked-list":54}],54:[function(_dereq_,module,exports){
14960
14997
  // (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
14961
14998
  // MIT License
14962
14999
  // Project Home: https://github.com/voidqk/polybooljs
@@ -15039,7 +15076,7 @@ var LinkedList = {
15039
15076
 
15040
15077
  module.exports = LinkedList;
15041
15078
 
15042
- },{}],54:[function(_dereq_,module,exports){
15079
+ },{}],55:[function(_dereq_,module,exports){
15043
15080
  // (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
15044
15081
  // MIT License
15045
15082
  // Project Home: https://github.com/voidqk/polybooljs
@@ -15293,7 +15330,7 @@ function SegmentChainer(segments, eps, buildLog){
15293
15330
 
15294
15331
  module.exports = SegmentChainer;
15295
15332
 
15296
- },{}],55:[function(_dereq_,module,exports){
15333
+ },{}],56:[function(_dereq_,module,exports){
15297
15334
  // (c) Copyright 2016, Sean Connelly (@voidqk), http://syntheti.cc
15298
15335
  // MIT License
15299
15336
  // Project Home: https://github.com/voidqk/polybooljs
@@ -15461,7 +15498,7 @@ var SegmentSelector = {
15461
15498
 
15462
15499
  module.exports = SegmentSelector;
15463
15500
 
15464
- },{}],56:[function(_dereq_,module,exports){
15501
+ },{}],57:[function(_dereq_,module,exports){
15465
15502
  // shim for using process in browser
15466
15503
  var process = module.exports = {};
15467
15504
 
@@ -15647,7 +15684,7 @@ process.chdir = function (dir) {
15647
15684
  };
15648
15685
  process.umask = function() { return 0; };
15649
15686
 
15650
- },{}],57:[function(_dereq_,module,exports){
15687
+ },{}],58:[function(_dereq_,module,exports){
15651
15688
  // TinyColor v1.4.2
15652
15689
  // https://github.com/bgrins/TinyColor
15653
15690
  // Brian Grinstead, MIT License
@@ -16844,7 +16881,7 @@ else {
16844
16881
 
16845
16882
  })(Math);
16846
16883
 
16847
- },{}],58:[function(_dereq_,module,exports){
16884
+ },{}],59:[function(_dereq_,module,exports){
16848
16885
  /**
16849
16886
  * Copyright 2012-2020, Plotly, Inc.
16850
16887
  * All rights reserved.
@@ -16915,7 +16952,7 @@ module.exports = [
16915
16952
  }
16916
16953
  ];
16917
16954
 
16918
- },{}],59:[function(_dereq_,module,exports){
16955
+ },{}],60:[function(_dereq_,module,exports){
16919
16956
  /**
16920
16957
  * Copyright 2012-2020, Plotly, Inc.
16921
16958
  * All rights reserved.
@@ -17297,7 +17334,7 @@ module.exports = templatedArray('annotation', {
17297
17334
  }
17298
17335
  });
17299
17336
 
17300
- },{"../../constants/axis_placeable_objects":177,"../../plot_api/plot_template":235,"../../plots/cartesian/constants":252,"../../plots/font_attributes":274,"./arrow_paths":58}],60:[function(_dereq_,module,exports){
17337
+ },{"../../constants/axis_placeable_objects":178,"../../plot_api/plot_template":237,"../../plots/cartesian/constants":254,"../../plots/font_attributes":276,"./arrow_paths":59}],61:[function(_dereq_,module,exports){
17301
17338
  /**
17302
17339
  * Copyright 2012-2020, Plotly, Inc.
17303
17340
  * All rights reserved.
@@ -17388,7 +17425,7 @@ function calcAxisExpansion(ann, ax) {
17388
17425
  ann._extremes[axId] = extremes;
17389
17426
  }
17390
17427
 
17391
- },{"../../lib":201,"../../plots/cartesian/axes":246,"./draw":65}],61:[function(_dereq_,module,exports){
17428
+ },{"../../lib":202,"../../plots/cartesian/axes":248,"./draw":66}],62:[function(_dereq_,module,exports){
17392
17429
  /**
17393
17430
  * Copyright 2012-2020, Plotly, Inc.
17394
17431
  * All rights reserved.
@@ -17526,7 +17563,7 @@ function clickData2r(d, ax) {
17526
17563
  return ax.type === 'log' ? ax.l2r(d) : ax.d2r(d);
17527
17564
  }
17528
17565
 
17529
- },{"../../lib":201,"../../plot_api/plot_template":235,"../../registry":288}],62:[function(_dereq_,module,exports){
17566
+ },{"../../lib":202,"../../plot_api/plot_template":237,"../../registry":290}],63:[function(_dereq_,module,exports){
17530
17567
  /**
17531
17568
  * Copyright 2012-2020, Plotly, Inc.
17532
17569
  * All rights reserved.
@@ -17605,7 +17642,7 @@ module.exports = function handleAnnotationCommonDefaults(annIn, annOut, fullLayo
17605
17642
  coerce('captureevents', !!hoverText);
17606
17643
  };
17607
17644
 
17608
- },{"../../lib":201,"../color":74}],63:[function(_dereq_,module,exports){
17645
+ },{"../../lib":202,"../color":75}],64:[function(_dereq_,module,exports){
17609
17646
  /**
17610
17647
  * Copyright 2012-2020, Plotly, Inc.
17611
17648
  * All rights reserved.
@@ -17668,7 +17705,7 @@ module.exports = function convertCoords(gd, ax, newType, doExtra) {
17668
17705
  }
17669
17706
  };
17670
17707
 
17671
- },{"../../lib/to_log_range":224,"fast-isnumeric":11}],64:[function(_dereq_,module,exports){
17708
+ },{"../../lib/to_log_range":226,"fast-isnumeric":11}],65:[function(_dereq_,module,exports){
17672
17709
  /**
17673
17710
  * Copyright 2012-2020, Plotly, Inc.
17674
17711
  * All rights reserved.
@@ -17776,7 +17813,7 @@ function handleAnnotationDefaults(annIn, annOut, fullLayout) {
17776
17813
  }
17777
17814
  }
17778
17815
 
17779
- },{"../../lib":201,"../../plots/array_container_defaults":241,"../../plots/cartesian/axes":246,"./attributes":59,"./common_defaults":62}],65:[function(_dereq_,module,exports){
17816
+ },{"../../lib":202,"../../plots/array_container_defaults":243,"../../plots/cartesian/axes":248,"./attributes":60,"./common_defaults":63}],66:[function(_dereq_,module,exports){
17780
17817
  /**
17781
17818
  * Copyright 2012-2020, Plotly, Inc.
17782
17819
  * All rights reserved.
@@ -18537,7 +18574,7 @@ function drawRaw(gd, options, index, subplotId, xa, ya) {
18537
18574
  } else annText.call(textLayout);
18538
18575
  }
18539
18576
 
18540
- },{"../../lib":201,"../../lib/setcursor":220,"../../lib/svg_text_utils":222,"../../plot_api/plot_template":235,"../../plots/cartesian/axes":246,"../../plots/plots":280,"../../registry":288,"../color":74,"../dragelement":93,"../drawing":96,"../fx":114,"./draw_arrow_head":66,"d3":9}],66:[function(_dereq_,module,exports){
18577
+ },{"../../lib":202,"../../lib/setcursor":222,"../../lib/svg_text_utils":224,"../../plot_api/plot_template":237,"../../plots/cartesian/axes":248,"../../plots/plots":282,"../../registry":290,"../color":75,"../dragelement":94,"../drawing":97,"../fx":115,"./draw_arrow_head":67,"d3":9}],67:[function(_dereq_,module,exports){
18541
18578
  /**
18542
18579
  * Copyright 2012-2020, Plotly, Inc.
18543
18580
  * All rights reserved.
@@ -18693,7 +18730,7 @@ module.exports = function drawArrowHead(el3, ends, options) {
18693
18730
  if(doEnd) drawhead(headStyle, end, endRot, scale);
18694
18731
  };
18695
18732
 
18696
- },{"../../lib":201,"../color":74,"./arrow_paths":58,"d3":9}],67:[function(_dereq_,module,exports){
18733
+ },{"../../lib":202,"../color":75,"./arrow_paths":59,"d3":9}],68:[function(_dereq_,module,exports){
18697
18734
  /**
18698
18735
  * Copyright 2012-2020, Plotly, Inc.
18699
18736
  * All rights reserved.
@@ -18727,7 +18764,7 @@ module.exports = {
18727
18764
  convertCoords: _dereq_('./convert_coords')
18728
18765
  };
18729
18766
 
18730
- },{"../../plots/cartesian/include_components":258,"./attributes":59,"./calc_autorange":60,"./click":61,"./convert_coords":63,"./defaults":64,"./draw":65}],68:[function(_dereq_,module,exports){
18767
+ },{"../../plots/cartesian/include_components":260,"./attributes":60,"./calc_autorange":61,"./click":62,"./convert_coords":64,"./defaults":65,"./draw":66}],69:[function(_dereq_,module,exports){
18731
18768
  /**
18732
18769
  * Copyright 2012-2020, Plotly, Inc.
18733
18770
  * All rights reserved.
@@ -18815,7 +18852,7 @@ module.exports = overrideAll(templatedArray('annotation', {
18815
18852
  // zref: 'z'
18816
18853
  }), 'calc', 'from-root');
18817
18854
 
18818
- },{"../../plot_api/edit_types":228,"../../plot_api/plot_template":235,"../annotations/attributes":59}],69:[function(_dereq_,module,exports){
18855
+ },{"../../plot_api/edit_types":230,"../../plot_api/plot_template":237,"../annotations/attributes":60}],70:[function(_dereq_,module,exports){
18819
18856
  /**
18820
18857
  * Copyright 2012-2020, Plotly, Inc.
18821
18858
  * All rights reserved.
@@ -18880,7 +18917,7 @@ function mockAnnAxes(ann, scene) {
18880
18917
  };
18881
18918
  }
18882
18919
 
18883
- },{"../../lib":201,"../../plots/cartesian/axes":246}],70:[function(_dereq_,module,exports){
18920
+ },{"../../lib":202,"../../plots/cartesian/axes":248}],71:[function(_dereq_,module,exports){
18884
18921
  /**
18885
18922
  * Copyright 2012-2020, Plotly, Inc.
18886
18923
  * All rights reserved.
@@ -18956,7 +18993,7 @@ function handleAnnotationDefaults(annIn, annOut, sceneLayout, opts) {
18956
18993
  }
18957
18994
  }
18958
18995
 
18959
- },{"../../lib":201,"../../plots/array_container_defaults":241,"../../plots/cartesian/axes":246,"../annotations/common_defaults":62,"./attributes":68}],71:[function(_dereq_,module,exports){
18996
+ },{"../../lib":202,"../../plots/array_container_defaults":243,"../../plots/cartesian/axes":248,"../annotations/common_defaults":63,"./attributes":69}],72:[function(_dereq_,module,exports){
18960
18997
  /**
18961
18998
  * Copyright 2012-2020, Plotly, Inc.
18962
18999
  * All rights reserved.
@@ -19008,7 +19045,7 @@ module.exports = function draw(scene) {
19008
19045
  }
19009
19046
  };
19010
19047
 
19011
- },{"../../plots/gl3d/project":277,"../annotations/draw":65}],72:[function(_dereq_,module,exports){
19048
+ },{"../../plots/gl3d/project":279,"../annotations/draw":66}],73:[function(_dereq_,module,exports){
19012
19049
  /**
19013
19050
  * Copyright 2012-2020, Plotly, Inc.
19014
19051
  * All rights reserved.
@@ -19056,7 +19093,7 @@ function includeGL3D(layoutIn, layoutOut) {
19056
19093
  }
19057
19094
  }
19058
19095
 
19059
- },{"../../lib":201,"../../registry":288,"./attributes":68,"./convert":69,"./defaults":70,"./draw":71}],73:[function(_dereq_,module,exports){
19096
+ },{"../../lib":202,"../../registry":290,"./attributes":69,"./convert":70,"./defaults":71,"./draw":72}],74:[function(_dereq_,module,exports){
19060
19097
  /**
19061
19098
  * Copyright 2012-2020, Plotly, Inc.
19062
19099
  * All rights reserved.
@@ -19096,7 +19133,7 @@ exports.borderLine = '#BEC8D9';
19096
19133
  // gives back exactly lightLine if the other colors are defaults.
19097
19134
  exports.lightFraction = 100 * (0xe - 0x4) / (0xf - 0x4);
19098
19135
 
19099
- },{}],74:[function(_dereq_,module,exports){
19136
+ },{}],75:[function(_dereq_,module,exports){
19100
19137
  /**
19101
19138
  * Copyright 2012-2020, Plotly, Inc.
19102
19139
  * All rights reserved.
@@ -19270,7 +19307,7 @@ function cleanOne(val) {
19270
19307
  return 'rgb(' + rgbStr + ')';
19271
19308
  }
19272
19309
 
19273
- },{"./attributes":73,"fast-isnumeric":11,"tinycolor2":57}],75:[function(_dereq_,module,exports){
19310
+ },{"./attributes":74,"fast-isnumeric":11,"tinycolor2":58}],76:[function(_dereq_,module,exports){
19274
19311
  /**
19275
19312
  * Copyright 2012-2020, Plotly, Inc.
19276
19313
  * All rights reserved.
@@ -19461,7 +19498,7 @@ module.exports = overrideAll({
19461
19498
  }
19462
19499
  }, 'colorbars', 'from-root');
19463
19500
 
19464
- },{"../../lib/extend":195,"../../plot_api/edit_types":228,"../../plots/cartesian/layout_attributes":260,"../../plots/font_attributes":274}],76:[function(_dereq_,module,exports){
19501
+ },{"../../lib/extend":196,"../../plot_api/edit_types":230,"../../plots/cartesian/layout_attributes":262,"../../plots/font_attributes":276}],77:[function(_dereq_,module,exports){
19465
19502
  /**
19466
19503
  * Copyright 2012-2020, Plotly, Inc.
19467
19504
  * All rights reserved.
@@ -19489,7 +19526,7 @@ module.exports = {
19489
19526
  }
19490
19527
  };
19491
19528
 
19492
- },{}],77:[function(_dereq_,module,exports){
19529
+ },{}],78:[function(_dereq_,module,exports){
19493
19530
  /**
19494
19531
  * Copyright 2012-2020, Plotly, Inc.
19495
19532
  * All rights reserved.
@@ -19559,7 +19596,7 @@ module.exports = function colorbarDefaults(containerIn, containerOut, layout) {
19559
19596
  coerce('title.side');
19560
19597
  };
19561
19598
 
19562
- },{"../../lib":201,"../../plot_api/plot_template":235,"../../plots/cartesian/tick_label_defaults":267,"../../plots/cartesian/tick_mark_defaults":268,"../../plots/cartesian/tick_value_defaults":269,"./attributes":75}],78:[function(_dereq_,module,exports){
19599
+ },{"../../lib":202,"../../plot_api/plot_template":237,"../../plots/cartesian/tick_label_defaults":269,"../../plots/cartesian/tick_mark_defaults":270,"../../plots/cartesian/tick_value_defaults":271,"./attributes":76}],79:[function(_dereq_,module,exports){
19563
19600
  /**
19564
19601
  * Copyright 2012-2020, Plotly, Inc.
19565
19602
  * All rights reserved.
@@ -20293,7 +20330,7 @@ module.exports = {
20293
20330
  draw: draw
20294
20331
  };
20295
20332
 
20296
- },{"../../constants/alignment":176,"../../lib":201,"../../lib/extend":195,"../../lib/setcursor":220,"../../lib/svg_text_utils":222,"../../plots/cartesian/axes":246,"../../plots/cartesian/axis_defaults":248,"../../plots/cartesian/layout_attributes":260,"../../plots/cartesian/position_defaults":263,"../../plots/plots":280,"../../registry":288,"../color":74,"../colorscale/helpers":85,"../dragelement":93,"../drawing":96,"../titles":169,"./constants":76,"d3":9,"tinycolor2":57}],79:[function(_dereq_,module,exports){
20333
+ },{"../../constants/alignment":177,"../../lib":202,"../../lib/extend":196,"../../lib/setcursor":222,"../../lib/svg_text_utils":224,"../../plots/cartesian/axes":248,"../../plots/cartesian/axis_defaults":250,"../../plots/cartesian/layout_attributes":262,"../../plots/cartesian/position_defaults":265,"../../plots/plots":282,"../../registry":290,"../color":75,"../colorscale/helpers":86,"../dragelement":94,"../drawing":97,"../titles":170,"./constants":77,"d3":9,"tinycolor2":58}],80:[function(_dereq_,module,exports){
20297
20334
  /**
20298
20335
  * Copyright 2012-2020, Plotly, Inc.
20299
20336
  * All rights reserved.
@@ -20312,7 +20349,7 @@ module.exports = function hasColorbar(container) {
20312
20349
  return Lib.isPlainObject(container.colorbar);
20313
20350
  };
20314
20351
 
20315
- },{"../../lib":201}],80:[function(_dereq_,module,exports){
20352
+ },{"../../lib":202}],81:[function(_dereq_,module,exports){
20316
20353
  /**
20317
20354
  * Copyright 2012-2020, Plotly, Inc.
20318
20355
  * All rights reserved.
@@ -20334,7 +20371,7 @@ module.exports = {
20334
20371
  hasColorbar: _dereq_('./has_colorbar')
20335
20372
  };
20336
20373
 
20337
- },{"./attributes":75,"./defaults":77,"./draw":78,"./has_colorbar":79}],81:[function(_dereq_,module,exports){
20374
+ },{"./attributes":76,"./defaults":78,"./draw":79,"./has_colorbar":80}],82:[function(_dereq_,module,exports){
20338
20375
  /**
20339
20376
  * Copyright 2012-2020, Plotly, Inc.
20340
20377
  * All rights reserved.
@@ -20542,7 +20579,7 @@ module.exports = function colorScaleAttrs(context, opts) {
20542
20579
  return attrs;
20543
20580
  };
20544
20581
 
20545
- },{"../../lib/regex":216,"../colorbar/attributes":75,"./scales.js":89}],82:[function(_dereq_,module,exports){
20582
+ },{"../../lib/regex":218,"../colorbar/attributes":76,"./scales.js":90}],83:[function(_dereq_,module,exports){
20546
20583
  /**
20547
20584
  * Copyright 2012-2020, Plotly, Inc.
20548
20585
  * All rights reserved.
@@ -20621,7 +20658,7 @@ module.exports = function calc(gd, trace, opts) {
20621
20658
  }
20622
20659
  };
20623
20660
 
20624
- },{"../../lib":201,"./helpers":85,"fast-isnumeric":11}],83:[function(_dereq_,module,exports){
20661
+ },{"../../lib":202,"./helpers":86,"fast-isnumeric":11}],84:[function(_dereq_,module,exports){
20625
20662
  /**
20626
20663
  * Copyright 2012-2020, Plotly, Inc.
20627
20664
  * All rights reserved.
@@ -20698,7 +20735,7 @@ module.exports = function crossTraceDefaults(fullData, fullLayout) {
20698
20735
  }
20699
20736
  };
20700
20737
 
20701
- },{"../../lib":201,"./helpers":85}],84:[function(_dereq_,module,exports){
20738
+ },{"../../lib":202,"./helpers":86}],85:[function(_dereq_,module,exports){
20702
20739
  /**
20703
20740
  * Copyright 2012-2020, Plotly, Inc.
20704
20741
  * All rights reserved.
@@ -20823,7 +20860,7 @@ module.exports = function colorScaleDefaults(parentContIn, parentContOut, layout
20823
20860
  }
20824
20861
  };
20825
20862
 
20826
- },{"../../lib":201,"../../registry":288,"../colorbar/defaults":77,"../colorbar/has_colorbar":79,"./scales":89,"fast-isnumeric":11}],85:[function(_dereq_,module,exports){
20863
+ },{"../../lib":202,"../../registry":290,"../colorbar/defaults":78,"../colorbar/has_colorbar":80,"./scales":90,"fast-isnumeric":11}],86:[function(_dereq_,module,exports){
20827
20864
  /**
20828
20865
  * Copyright 2012-2020, Plotly, Inc.
20829
20866
  * All rights reserved.
@@ -21063,7 +21100,7 @@ module.exports = {
21063
21100
  makeColorScaleFuncFromTrace: makeColorScaleFuncFromTrace
21064
21101
  };
21065
21102
 
21066
- },{"../../lib":201,"../color":74,"./scales":89,"d3":9,"fast-isnumeric":11,"tinycolor2":57}],86:[function(_dereq_,module,exports){
21103
+ },{"../../lib":202,"../color":75,"./scales":90,"d3":9,"fast-isnumeric":11,"tinycolor2":58}],87:[function(_dereq_,module,exports){
21067
21104
  /**
21068
21105
  * Copyright 2012-2020, Plotly, Inc.
21069
21106
  * All rights reserved.
@@ -21091,7 +21128,7 @@ module.exports = {
21091
21128
  calc: _dereq_('./calc'),
21092
21129
 
21093
21130
  // ./scales.js is required in lib/coerce.js ;
21094
- // it needs to be a seperate module to avoid circular a dependency
21131
+ // it needs to be a separate module to avoid circular a dependency
21095
21132
  scales: scales.scales,
21096
21133
  defaultScale: scales.defaultScale,
21097
21134
  getScale: scales.get,
@@ -21105,7 +21142,7 @@ module.exports = {
21105
21142
  makeColorScaleFuncFromTrace: helpers.makeColorScaleFuncFromTrace
21106
21143
  };
21107
21144
 
21108
- },{"./attributes":81,"./calc":82,"./cross_trace_defaults":83,"./defaults":84,"./helpers":85,"./layout_attributes":87,"./layout_defaults":88,"./scales":89}],87:[function(_dereq_,module,exports){
21145
+ },{"./attributes":82,"./calc":83,"./cross_trace_defaults":84,"./defaults":85,"./helpers":86,"./layout_attributes":88,"./layout_defaults":89,"./scales":90}],88:[function(_dereq_,module,exports){
21109
21146
  /**
21110
21147
  * Copyright 2012-2020, Plotly, Inc.
21111
21148
  * All rights reserved.
@@ -21166,7 +21203,7 @@ module.exports = {
21166
21203
  }))
21167
21204
  };
21168
21205
 
21169
- },{"../../lib/extend":195,"./attributes":81,"./scales":89}],88:[function(_dereq_,module,exports){
21206
+ },{"../../lib/extend":196,"./attributes":82,"./scales":90}],89:[function(_dereq_,module,exports){
21170
21207
  /**
21171
21208
  * Copyright 2012-2020, Plotly, Inc.
21172
21209
  * All rights reserved.
@@ -21217,7 +21254,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
21217
21254
  }
21218
21255
  };
21219
21256
 
21220
- },{"../../lib":201,"../../plot_api/plot_template":235,"./defaults":84,"./layout_attributes":87}],89:[function(_dereq_,module,exports){
21257
+ },{"../../lib":202,"../../plot_api/plot_template":237,"./defaults":85,"./layout_attributes":88}],90:[function(_dereq_,module,exports){
21221
21258
  /**
21222
21259
  * Copyright 2012-2020, Plotly, Inc.
21223
21260
  * All rights reserved.
@@ -21421,7 +21458,7 @@ module.exports = {
21421
21458
  isValid: isValidScale
21422
21459
  };
21423
21460
 
21424
- },{"tinycolor2":57}],90:[function(_dereq_,module,exports){
21461
+ },{"tinycolor2":58}],91:[function(_dereq_,module,exports){
21425
21462
  /**
21426
21463
  * Copyright 2012-2020, Plotly, Inc.
21427
21464
  * All rights reserved.
@@ -21454,7 +21491,7 @@ module.exports = function align(v, dv, v0, v1, anchor) {
21454
21491
  return vc;
21455
21492
  };
21456
21493
 
21457
- },{}],91:[function(_dereq_,module,exports){
21494
+ },{}],92:[function(_dereq_,module,exports){
21458
21495
  /**
21459
21496
  * Copyright 2012-2020, Plotly, Inc.
21460
21497
  * All rights reserved.
@@ -21492,7 +21529,7 @@ module.exports = function getCursor(x, y, xanchor, yanchor) {
21492
21529
  return cursorset[y][x];
21493
21530
  };
21494
21531
 
21495
- },{"../../lib":201}],92:[function(_dereq_,module,exports){
21532
+ },{"../../lib":202}],93:[function(_dereq_,module,exports){
21496
21533
  /**
21497
21534
  * Copyright 2012-2020, Plotly, Inc.
21498
21535
  * All rights reserved.
@@ -21551,7 +21588,7 @@ exports.selectingOrDrawing = function(dragmode) {
21551
21588
  );
21552
21589
  };
21553
21590
 
21554
- },{}],93:[function(_dereq_,module,exports){
21591
+ },{}],94:[function(_dereq_,module,exports){
21555
21592
  /**
21556
21593
  * Copyright 2012-2020, Plotly, Inc.
21557
21594
  * All rights reserved.
@@ -21843,7 +21880,7 @@ function pointerOffset(e) {
21843
21880
  );
21844
21881
  }
21845
21882
 
21846
- },{"../../lib":201,"../../plots/cartesian/constants":252,"./align":90,"./cursor":91,"./unhover":94,"has-hover":42,"has-passive-events":43,"mouse-event-offset":46}],94:[function(_dereq_,module,exports){
21883
+ },{"../../lib":202,"../../plots/cartesian/constants":254,"./align":91,"./cursor":92,"./unhover":95,"has-hover":42,"has-passive-events":43,"mouse-event-offset":47}],95:[function(_dereq_,module,exports){
21847
21884
  /**
21848
21885
  * Copyright 2012-2020, Plotly, Inc.
21849
21886
  * All rights reserved.
@@ -21898,7 +21935,7 @@ unhover.raw = function raw(gd, evt) {
21898
21935
  }
21899
21936
  };
21900
21937
 
21901
- },{"../../lib/dom":193,"../../lib/events":194,"../../lib/throttle":223,"../fx/constants":108}],95:[function(_dereq_,module,exports){
21938
+ },{"../../lib/dom":194,"../../lib/events":195,"../../lib/throttle":225,"../fx/constants":109}],96:[function(_dereq_,module,exports){
21902
21939
  /**
21903
21940
  * Copyright 2012-2020, Plotly, Inc.
21904
21941
  * All rights reserved.
@@ -21923,7 +21960,7 @@ exports.dash = {
21923
21960
 
21924
21961
  };
21925
21962
 
21926
- },{}],96:[function(_dereq_,module,exports){
21963
+ },{}],97:[function(_dereq_,module,exports){
21927
21964
  /**
21928
21965
  * Copyright 2012-2020, Plotly, Inc.
21929
21966
  * All rights reserved.
@@ -23120,7 +23157,7 @@ drawing.setTextPointsScale = function(selection, xScale, yScale) {
23120
23157
  });
23121
23158
  };
23122
23159
 
23123
- },{"../../components/fx/helpers":110,"../../constants/alignment":176,"../../constants/interactions":179,"../../constants/xmlns_namespaces":181,"../../lib":201,"../../lib/svg_text_utils":222,"../../registry":288,"../../traces/scatter/make_bubble_size_func":345,"../../traces/scatter/subtypes":353,"../color":74,"../colorscale":86,"./symbol_defs":97,"d3":9,"fast-isnumeric":11,"tinycolor2":57}],97:[function(_dereq_,module,exports){
23160
+ },{"../../components/fx/helpers":111,"../../constants/alignment":177,"../../constants/interactions":180,"../../constants/xmlns_namespaces":182,"../../lib":202,"../../lib/svg_text_utils":224,"../../registry":290,"../../traces/scatter/make_bubble_size_func":347,"../../traces/scatter/subtypes":355,"../color":75,"../colorscale":87,"./symbol_defs":98,"d3":9,"fast-isnumeric":11,"tinycolor2":58}],98:[function(_dereq_,module,exports){
23124
23161
  /**
23125
23162
  * Copyright 2012-2020, Plotly, Inc.
23126
23163
  * All rights reserved.
@@ -23684,7 +23721,7 @@ module.exports = {
23684
23721
  }
23685
23722
  };
23686
23723
 
23687
- },{"d3":9}],98:[function(_dereq_,module,exports){
23724
+ },{"d3":9}],99:[function(_dereq_,module,exports){
23688
23725
  /**
23689
23726
  * Copyright 2012-2020, Plotly, Inc.
23690
23727
  * All rights reserved.
@@ -23799,7 +23836,7 @@ module.exports = {
23799
23836
  }
23800
23837
  };
23801
23838
 
23802
- },{}],99:[function(_dereq_,module,exports){
23839
+ },{}],100:[function(_dereq_,module,exports){
23803
23840
  /**
23804
23841
  * Copyright 2012-2020, Plotly, Inc.
23805
23842
  * All rights reserved.
@@ -23885,7 +23922,7 @@ function calcOneAxis(calcTrace, trace, axis, coord) {
23885
23922
  baseExtremes.max = baseExtremes.max.concat(extremes.max);
23886
23923
  }
23887
23924
 
23888
- },{"../../lib":201,"../../plots/cartesian/axes":246,"../../registry":288,"./compute_error":100,"fast-isnumeric":11}],100:[function(_dereq_,module,exports){
23925
+ },{"../../lib":202,"../../plots/cartesian/axes":248,"../../registry":290,"./compute_error":101,"fast-isnumeric":11}],101:[function(_dereq_,module,exports){
23889
23926
  /**
23890
23927
  * Copyright 2012-2020, Plotly, Inc.
23891
23928
  * All rights reserved.
@@ -23986,7 +24023,7 @@ function makeComputeErrorValue(type, value) {
23986
24023
  }
23987
24024
  }
23988
24025
 
23989
- },{}],101:[function(_dereq_,module,exports){
24026
+ },{}],102:[function(_dereq_,module,exports){
23990
24027
  /**
23991
24028
  * Copyright 2012-2020, Plotly, Inc.
23992
24029
  * All rights reserved.
@@ -24061,7 +24098,7 @@ module.exports = function(traceIn, traceOut, defaultColor, opts) {
24061
24098
  }
24062
24099
  };
24063
24100
 
24064
- },{"../../lib":201,"../../plot_api/plot_template":235,"../../registry":288,"./attributes":98,"fast-isnumeric":11}],102:[function(_dereq_,module,exports){
24101
+ },{"../../lib":202,"../../plot_api/plot_template":237,"../../registry":290,"./attributes":99,"fast-isnumeric":11}],103:[function(_dereq_,module,exports){
24065
24102
  /**
24066
24103
  * Copyright 2012-2020, Plotly, Inc.
24067
24104
  * All rights reserved.
@@ -24130,7 +24167,7 @@ function hoverInfo(calcPoint, trace, hoverPoint) {
24130
24167
  }
24131
24168
  }
24132
24169
 
24133
- },{"../../lib":201,"../../plot_api/edit_types":228,"./attributes":98,"./calc":99,"./compute_error":100,"./defaults":101,"./plot":103,"./style":104}],103:[function(_dereq_,module,exports){
24170
+ },{"../../lib":202,"../../plot_api/edit_types":230,"./attributes":99,"./calc":100,"./compute_error":101,"./defaults":102,"./plot":104,"./style":105}],104:[function(_dereq_,module,exports){
24134
24171
  /**
24135
24172
  * Copyright 2012-2020, Plotly, Inc.
24136
24173
  * All rights reserved.
@@ -24302,7 +24339,7 @@ function errorCoords(d, xa, ya) {
24302
24339
  return out;
24303
24340
  }
24304
24341
 
24305
- },{"../../traces/scatter/subtypes":353,"../drawing":96,"d3":9,"fast-isnumeric":11}],104:[function(_dereq_,module,exports){
24342
+ },{"../../traces/scatter/subtypes":355,"../drawing":97,"d3":9,"fast-isnumeric":11}],105:[function(_dereq_,module,exports){
24306
24343
  /**
24307
24344
  * Copyright 2012-2020, Plotly, Inc.
24308
24345
  * All rights reserved.
@@ -24339,7 +24376,7 @@ module.exports = function style(traces) {
24339
24376
  });
24340
24377
  };
24341
24378
 
24342
- },{"../color":74,"d3":9}],105:[function(_dereq_,module,exports){
24379
+ },{"../color":75,"d3":9}],106:[function(_dereq_,module,exports){
24343
24380
  /**
24344
24381
  * Copyright 2012-2020, Plotly, Inc.
24345
24382
  * All rights reserved.
@@ -24375,7 +24412,7 @@ module.exports = {
24375
24412
  }
24376
24413
  };
24377
24414
 
24378
- },{"../../lib/extend":195,"../../plots/font_attributes":274,"./layout_attributes":115}],106:[function(_dereq_,module,exports){
24415
+ },{"../../lib/extend":196,"../../plots/font_attributes":276,"./layout_attributes":116}],107:[function(_dereq_,module,exports){
24379
24416
  /**
24380
24417
  * Copyright 2012-2020, Plotly, Inc.
24381
24418
  * All rights reserved.
@@ -24434,7 +24471,7 @@ function paste(traceAttr, cd, cdAttr, fn) {
24434
24471
  }
24435
24472
  }
24436
24473
 
24437
- },{"../../lib":201,"../../registry":288}],107:[function(_dereq_,module,exports){
24474
+ },{"../../lib":202,"../../registry":290}],108:[function(_dereq_,module,exports){
24438
24475
  /**
24439
24476
  * Copyright 2012-2020, Plotly, Inc.
24440
24477
  * All rights reserved.
@@ -24471,7 +24508,7 @@ module.exports = function click(gd, evt, subplot) {
24471
24508
  }
24472
24509
  };
24473
24510
 
24474
- },{"../../registry":288,"./hover":111}],108:[function(_dereq_,module,exports){
24511
+ },{"../../registry":290,"./hover":112}],109:[function(_dereq_,module,exports){
24475
24512
  /**
24476
24513
  * Copyright 2012-2020, Plotly, Inc.
24477
24514
  * All rights reserved.
@@ -24503,7 +24540,7 @@ module.exports = {
24503
24540
  HOVERID: '-hover'
24504
24541
  };
24505
24542
 
24506
- },{}],109:[function(_dereq_,module,exports){
24543
+ },{}],110:[function(_dereq_,module,exports){
24507
24544
  /**
24508
24545
  * Copyright 2012-2020, Plotly, Inc.
24509
24546
  * All rights reserved.
@@ -24529,7 +24566,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
24529
24566
  handleHoverLabelDefaults(traceIn, traceOut, coerce, opts);
24530
24567
  };
24531
24568
 
24532
- },{"../../lib":201,"./attributes":105,"./hoverlabel_defaults":112}],110:[function(_dereq_,module,exports){
24569
+ },{"../../lib":202,"./attributes":106,"./hoverlabel_defaults":113}],111:[function(_dereq_,module,exports){
24533
24570
  /**
24534
24571
  * Copyright 2012-2020, Plotly, Inc.
24535
24572
  * All rights reserved.
@@ -24791,7 +24828,7 @@ exports.isXYhover = function(hovermode) {
24791
24828
  return !!xyHoverMode[hovermode];
24792
24829
  };
24793
24830
 
24794
- },{"../../lib":201}],111:[function(_dereq_,module,exports){
24831
+ },{"../../lib":202}],112:[function(_dereq_,module,exports){
24795
24832
  /**
24796
24833
  * Copyright 2012-2020, Plotly, Inc.
24797
24834
  * All rights reserved.
@@ -26100,7 +26137,7 @@ function getHoverLabelText(d, showCommonLabel, hovermode, fullLayout, t0, g) {
26100
26137
 
26101
26138
  // Make groups of touching points, and within each group
26102
26139
  // move each point so that no labels overlap, but the average
26103
- // label position is the same as it was before moving. Indicentally,
26140
+ // label position is the same as it was before moving. Incidentally,
26104
26141
  // this is equivalent to saying all the labels are on equal linear
26105
26142
  // springs about their initial position. Initially, each point is
26106
26143
  // its own group, but as we find overlaps we will clump the points.
@@ -26663,7 +26700,7 @@ function plainText(s, len) {
26663
26700
  });
26664
26701
  }
26665
26702
 
26666
- },{"../../lib":201,"../../lib/events":194,"../../lib/override_cursor":212,"../../lib/svg_text_utils":222,"../../plots/cartesian/axes":246,"../../registry":288,"../color":74,"../dragelement":93,"../drawing":96,"../legend/defaults":126,"../legend/draw":127,"./constants":108,"./helpers":110,"d3":9,"fast-isnumeric":11,"tinycolor2":57}],112:[function(_dereq_,module,exports){
26703
+ },{"../../lib":202,"../../lib/events":195,"../../lib/override_cursor":213,"../../lib/svg_text_utils":224,"../../plots/cartesian/axes":248,"../../registry":290,"../color":75,"../dragelement":94,"../drawing":97,"../legend/defaults":127,"../legend/draw":128,"./constants":109,"./helpers":111,"d3":9,"fast-isnumeric":11,"tinycolor2":58}],113:[function(_dereq_,module,exports){
26667
26704
  /**
26668
26705
  * Copyright 2012-2020, Plotly, Inc.
26669
26706
  * All rights reserved.
@@ -26709,7 +26746,7 @@ module.exports = function handleHoverLabelDefaults(contIn, contOut, coerce, opts
26709
26746
  coerce('hoverlabel.align', opts.align);
26710
26747
  };
26711
26748
 
26712
- },{"../../lib":201,"../color":74,"./helpers":110}],113:[function(_dereq_,module,exports){
26749
+ },{"../../lib":202,"../color":75,"./helpers":111}],114:[function(_dereq_,module,exports){
26713
26750
  /**
26714
26751
  * Copyright 2012-2020, Plotly, Inc.
26715
26752
  * All rights reserved.
@@ -26765,7 +26802,7 @@ function isHoriz(fullData, fullLayout) {
26765
26802
  return true;
26766
26803
  }
26767
26804
 
26768
- },{"../../lib":201,"./layout_attributes":115}],114:[function(_dereq_,module,exports){
26805
+ },{"../../lib":202,"./layout_attributes":116}],115:[function(_dereq_,module,exports){
26769
26806
  /**
26770
26807
  * Copyright 2012-2020, Plotly, Inc.
26771
26808
  * All rights reserved.
@@ -26844,7 +26881,7 @@ function castHoverinfo(trace, fullLayout, ptNumber) {
26844
26881
  return Lib.castOption(trace, ptNumber, 'hoverinfo', _coerce);
26845
26882
  }
26846
26883
 
26847
- },{"../../lib":201,"../dragelement":93,"./attributes":105,"./calc":106,"./click":107,"./constants":108,"./defaults":109,"./helpers":110,"./hover":111,"./layout_attributes":115,"./layout_defaults":116,"./layout_global_defaults":117,"d3":9}],115:[function(_dereq_,module,exports){
26884
+ },{"../../lib":202,"../dragelement":94,"./attributes":106,"./calc":107,"./click":108,"./constants":109,"./defaults":110,"./helpers":111,"./hover":112,"./layout_attributes":116,"./layout_defaults":117,"./layout_global_defaults":118,"d3":9}],116:[function(_dereq_,module,exports){
26848
26885
  /**
26849
26886
  * Copyright 2012-2020, Plotly, Inc.
26850
26887
  * All rights reserved.
@@ -26960,7 +26997,7 @@ module.exports = {
26960
26997
  }
26961
26998
  };
26962
26999
 
26963
- },{"../../plots/font_attributes":274,"./constants":108}],116:[function(_dereq_,module,exports){
27000
+ },{"../../plots/font_attributes":276,"./constants":109}],117:[function(_dereq_,module,exports){
26964
27001
  /**
26965
27002
  * Copyright 2012-2020, Plotly, Inc.
26966
27003
  * All rights reserved.
@@ -27008,7 +27045,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {
27008
27045
  handleHoverLabelDefaults(layoutIn, layoutOut, coerce);
27009
27046
  };
27010
27047
 
27011
- },{"../../lib":201,"./helpers":110,"./hoverlabel_defaults":112,"./hovermode_defaults":113,"./layout_attributes":115}],117:[function(_dereq_,module,exports){
27048
+ },{"../../lib":202,"./helpers":111,"./hoverlabel_defaults":113,"./hovermode_defaults":114,"./layout_attributes":116}],118:[function(_dereq_,module,exports){
27012
27049
  /**
27013
27050
  * Copyright 2012-2020, Plotly, Inc.
27014
27051
  * All rights reserved.
@@ -27031,7 +27068,7 @@ module.exports = function supplyLayoutGlobalDefaults(layoutIn, layoutOut) {
27031
27068
  handleHoverLabelDefaults(layoutIn, layoutOut, coerce);
27032
27069
  };
27033
27070
 
27034
- },{"../../lib":201,"./hoverlabel_defaults":112,"./layout_attributes":115}],118:[function(_dereq_,module,exports){
27071
+ },{"../../lib":202,"./hoverlabel_defaults":113,"./layout_attributes":116}],119:[function(_dereq_,module,exports){
27035
27072
  /**
27036
27073
  * Copyright 2012-2020, Plotly, Inc.
27037
27074
  * All rights reserved.
@@ -27405,7 +27442,7 @@ module.exports = {
27405
27442
  contentDefaults: contentDefaults
27406
27443
  };
27407
27444
 
27408
- },{"../../lib":201,"../../lib/regex":216,"../../plot_api/plot_template":235,"../../plots/cartesian/constants":252,"../../plots/domain":273}],119:[function(_dereq_,module,exports){
27445
+ },{"../../lib":202,"../../lib/regex":218,"../../plot_api/plot_template":237,"../../plots/cartesian/constants":254,"../../plots/domain":275}],120:[function(_dereq_,module,exports){
27409
27446
  /**
27410
27447
  * Copyright 2012-2020, Plotly, Inc.
27411
27448
  * All rights reserved.
@@ -27541,7 +27578,7 @@ module.exports = templatedArray('image', {
27541
27578
  editType: 'arraydraw'
27542
27579
  });
27543
27580
 
27544
- },{"../../constants/axis_placeable_objects":177,"../../plot_api/plot_template":235,"../../plots/cartesian/constants":252}],120:[function(_dereq_,module,exports){
27581
+ },{"../../constants/axis_placeable_objects":178,"../../plot_api/plot_template":237,"../../plots/cartesian/constants":254}],121:[function(_dereq_,module,exports){
27545
27582
  /**
27546
27583
  * Copyright 2012-2020, Plotly, Inc.
27547
27584
  * All rights reserved.
@@ -27622,7 +27659,7 @@ module.exports = function convertCoords(gd, ax, newType, doExtra) {
27622
27659
  }
27623
27660
  };
27624
27661
 
27625
- },{"../../lib/to_log_range":224,"fast-isnumeric":11}],121:[function(_dereq_,module,exports){
27662
+ },{"../../lib/to_log_range":226,"fast-isnumeric":11}],122:[function(_dereq_,module,exports){
27626
27663
  /**
27627
27664
  * Copyright 2012-2020, Plotly, Inc.
27628
27665
  * All rights reserved.
@@ -27687,7 +27724,7 @@ function imageDefaults(imageIn, imageOut, fullLayout) {
27687
27724
  return imageOut;
27688
27725
  }
27689
27726
 
27690
- },{"../../lib":201,"../../plots/array_container_defaults":241,"../../plots/cartesian/axes":246,"./attributes":119}],122:[function(_dereq_,module,exports){
27727
+ },{"../../lib":202,"../../plots/array_container_defaults":243,"../../plots/cartesian/axes":248,"./attributes":120}],123:[function(_dereq_,module,exports){
27691
27728
  /**
27692
27729
  * Copyright 2012-2020, Plotly, Inc.
27693
27730
  * All rights reserved.
@@ -27945,7 +27982,7 @@ module.exports = function draw(gd) {
27945
27982
  }
27946
27983
  };
27947
27984
 
27948
- },{"../../constants/xmlns_namespaces":181,"../../plots/cartesian/axes":246,"../../plots/cartesian/axis_ids":249,"../drawing":96,"d3":9}],123:[function(_dereq_,module,exports){
27985
+ },{"../../constants/xmlns_namespaces":182,"../../plots/cartesian/axes":248,"../../plots/cartesian/axis_ids":251,"../drawing":97,"d3":9}],124:[function(_dereq_,module,exports){
27949
27986
  /**
27950
27987
  * Copyright 2012-2020, Plotly, Inc.
27951
27988
  * All rights reserved.
@@ -27969,7 +28006,7 @@ module.exports = {
27969
28006
  convertCoords: _dereq_('./convert_coords')
27970
28007
  };
27971
28008
 
27972
- },{"../../plots/cartesian/include_components":258,"./attributes":119,"./convert_coords":120,"./defaults":121,"./draw":122}],124:[function(_dereq_,module,exports){
28009
+ },{"../../plots/cartesian/include_components":260,"./attributes":120,"./convert_coords":121,"./defaults":122,"./draw":123}],125:[function(_dereq_,module,exports){
27973
28010
  /**
27974
28011
  * Copyright 2012-2020, Plotly, Inc.
27975
28012
  * All rights reserved.
@@ -28138,7 +28175,7 @@ module.exports = {
28138
28175
  editType: 'legend'
28139
28176
  };
28140
28177
 
28141
- },{"../../plots/font_attributes":274,"../color/attributes":73}],125:[function(_dereq_,module,exports){
28178
+ },{"../../plots/font_attributes":276,"../color/attributes":74}],126:[function(_dereq_,module,exports){
28142
28179
  /**
28143
28180
  * Copyright 2012-2020, Plotly, Inc.
28144
28181
  * All rights reserved.
@@ -28162,7 +28199,7 @@ module.exports = {
28162
28199
  itemGap: 5
28163
28200
  };
28164
28201
 
28165
- },{}],126:[function(_dereq_,module,exports){
28202
+ },{}],127:[function(_dereq_,module,exports){
28166
28203
  /**
28167
28204
  * Copyright 2012-2020, Plotly, Inc.
28168
28205
  * All rights reserved.
@@ -28297,7 +28334,7 @@ module.exports = function legendDefaults(layoutIn, layoutOut, fullData) {
28297
28334
  }
28298
28335
  };
28299
28336
 
28300
- },{"../../lib":201,"../../plot_api/plot_template":235,"../../plots/layout_attributes":278,"../../registry":288,"./attributes":124,"./helpers":130}],127:[function(_dereq_,module,exports){
28337
+ },{"../../lib":202,"../../plot_api/plot_template":237,"../../plots/layout_attributes":280,"../../registry":290,"./attributes":125,"./helpers":131}],128:[function(_dereq_,module,exports){
28301
28338
  /**
28302
28339
  * Copyright 2012-2020, Plotly, Inc.
28303
28340
  * All rights reserved.
@@ -29094,7 +29131,7 @@ function getYanchor(opts) {
29094
29131
  'top';
29095
29132
  }
29096
29133
 
29097
- },{"../../constants/alignment":176,"../../lib":201,"../../lib/events":194,"../../lib/svg_text_utils":222,"../../plots/plots":280,"../../registry":288,"../color":74,"../dragelement":93,"../drawing":96,"./constants":125,"./get_legend_data":128,"./handle_click":129,"./helpers":130,"./style":132,"d3":9}],128:[function(_dereq_,module,exports){
29134
+ },{"../../constants/alignment":177,"../../lib":202,"../../lib/events":195,"../../lib/svg_text_utils":224,"../../plots/plots":282,"../../registry":290,"../color":75,"../dragelement":94,"../drawing":97,"./constants":126,"./get_legend_data":129,"./handle_click":130,"./helpers":131,"./style":133,"d3":9}],129:[function(_dereq_,module,exports){
29098
29135
  /**
29099
29136
  * Copyright 2012-2020, Plotly, Inc.
29100
29137
  * All rights reserved.
@@ -29203,7 +29240,7 @@ module.exports = function getLegendData(calcdata, opts) {
29203
29240
  return legendData;
29204
29241
  };
29205
29242
 
29206
- },{"../../registry":288,"./helpers":130}],129:[function(_dereq_,module,exports){
29243
+ },{"../../registry":290,"./helpers":131}],130:[function(_dereq_,module,exports){
29207
29244
  /**
29208
29245
  * Copyright 2012-2020, Plotly, Inc.
29209
29246
  * All rights reserved.
@@ -29442,7 +29479,7 @@ module.exports = function handleClick(g, gd, numClicks) {
29442
29479
  }
29443
29480
  };
29444
29481
 
29445
- },{"../../lib":201,"../../registry":288}],130:[function(_dereq_,module,exports){
29482
+ },{"../../lib":202,"../../registry":290}],131:[function(_dereq_,module,exports){
29446
29483
  /**
29447
29484
  * Copyright 2012-2020, Plotly, Inc.
29448
29485
  * All rights reserved.
@@ -29466,7 +29503,7 @@ exports.isReversed = function isReversed(legendLayout) {
29466
29503
  return (legendLayout.traceorder || '').indexOf('reversed') !== -1;
29467
29504
  };
29468
29505
 
29469
- },{}],131:[function(_dereq_,module,exports){
29506
+ },{}],132:[function(_dereq_,module,exports){
29470
29507
  /**
29471
29508
  * Copyright 2012-2020, Plotly, Inc.
29472
29509
  * All rights reserved.
@@ -29490,7 +29527,7 @@ module.exports = {
29490
29527
  style: _dereq_('./style')
29491
29528
  };
29492
29529
 
29493
- },{"./attributes":124,"./defaults":126,"./draw":127,"./style":132}],132:[function(_dereq_,module,exports){
29530
+ },{"./attributes":125,"./defaults":127,"./draw":128,"./style":133}],133:[function(_dereq_,module,exports){
29494
29531
  /**
29495
29532
  * Copyright 2012-2020, Plotly, Inc.
29496
29533
  * All rights reserved.
@@ -30123,7 +30160,7 @@ function getGradientDirection(reversescale, isRadial) {
30123
30160
  return str + (reversescale ? '' : 'reversed');
30124
30161
  }
30125
30162
 
30126
- },{"../../lib":201,"../../registry":288,"../../traces/pie/helpers":320,"../../traces/pie/style_one":326,"../../traces/scatter/subtypes":353,"../color":74,"../colorscale/helpers":85,"../drawing":96,"./constants":125,"d3":9}],133:[function(_dereq_,module,exports){
30163
+ },{"../../lib":202,"../../registry":290,"../../traces/pie/helpers":322,"../../traces/pie/style_one":328,"../../traces/scatter/subtypes":355,"../color":75,"../colorscale/helpers":86,"../drawing":97,"./constants":126,"d3":9}],134:[function(_dereq_,module,exports){
30127
30164
  /**
30128
30165
  * Copyright 2012-2020, Plotly, Inc.
30129
30166
  * All rights reserved.
@@ -30859,7 +30896,7 @@ function resetView(gd, subplotType) {
30859
30896
  Registry.call('_guiRelayout', gd, aObj);
30860
30897
  }
30861
30898
 
30862
- },{"../../fonts/ploticon":184,"../../lib":201,"../../plots/cartesian/axis_ids":249,"../../plots/plots":280,"../../registry":288,"../shapes/draw":155}],134:[function(_dereq_,module,exports){
30899
+ },{"../../fonts/ploticon":185,"../../lib":202,"../../plots/cartesian/axis_ids":251,"../../plots/plots":282,"../../registry":290,"../shapes/draw":156}],135:[function(_dereq_,module,exports){
30863
30900
  /**
30864
30901
  * Copyright 2012-2020, Plotly, Inc.
30865
30902
  * All rights reserved.
@@ -30873,7 +30910,7 @@ function resetView(gd, subplotType) {
30873
30910
 
30874
30911
  exports.manage = _dereq_('./manage');
30875
30912
 
30876
- },{"./manage":135}],135:[function(_dereq_,module,exports){
30913
+ },{"./manage":136}],136:[function(_dereq_,module,exports){
30877
30914
  /**
30878
30915
  * Copyright 2012-2020, Plotly, Inc.
30879
30916
  * All rights reserved.
@@ -31169,7 +31206,7 @@ function fillCustomButton(customButtons) {
31169
31206
  return customButtons;
31170
31207
  }
31171
31208
 
31172
- },{"../../plots/cartesian/axis_ids":249,"../../registry":288,"../../traces/scatter/subtypes":353,"../fx/helpers":110,"./buttons":133,"./modebar":136}],136:[function(_dereq_,module,exports){
31209
+ },{"../../plots/cartesian/axis_ids":251,"../../registry":290,"../../traces/scatter/subtypes":355,"../fx/helpers":111,"./buttons":134,"./modebar":137}],137:[function(_dereq_,module,exports){
31173
31210
  /**
31174
31211
  * Copyright 2012-2020, Plotly, Inc.
31175
31212
  * All rights reserved.
@@ -31515,7 +31552,7 @@ function createModeBar(gd, buttons) {
31515
31552
 
31516
31553
  module.exports = createModeBar;
31517
31554
 
31518
- },{"../../fonts/ploticon":184,"../../lib":201,"d3":9,"fast-isnumeric":11}],137:[function(_dereq_,module,exports){
31555
+ },{"../../fonts/ploticon":185,"../../lib":202,"d3":9,"fast-isnumeric":11}],138:[function(_dereq_,module,exports){
31519
31556
  /**
31520
31557
  * Copyright 2012-2020, Plotly, Inc.
31521
31558
  * All rights reserved.
@@ -31651,7 +31688,7 @@ module.exports = {
31651
31688
  editType: 'plot'
31652
31689
  };
31653
31690
 
31654
- },{"../../plot_api/plot_template":235,"../../plots/font_attributes":274,"../color/attributes":73}],138:[function(_dereq_,module,exports){
31691
+ },{"../../plot_api/plot_template":237,"../../plots/font_attributes":276,"../color/attributes":74}],139:[function(_dereq_,module,exports){
31655
31692
  /**
31656
31693
  * Copyright 2012-2020, Plotly, Inc.
31657
31694
  * All rights reserved.
@@ -31680,7 +31717,7 @@ module.exports = {
31680
31717
  darkAmount: 10
31681
31718
  };
31682
31719
 
31683
- },{}],139:[function(_dereq_,module,exports){
31720
+ },{}],140:[function(_dereq_,module,exports){
31684
31721
  /**
31685
31722
  * Copyright 2012-2020, Plotly, Inc.
31686
31723
  * All rights reserved.
@@ -31772,7 +31809,7 @@ function getPosDflt(containerOut, layout, counterAxes) {
31772
31809
  return [containerOut.domain[0], posY + constants.yPad];
31773
31810
  }
31774
31811
 
31775
- },{"../../lib":201,"../../plot_api/plot_template":235,"../../plots/array_container_defaults":241,"../color":74,"./attributes":137,"./constants":138}],140:[function(_dereq_,module,exports){
31812
+ },{"../../lib":202,"../../plot_api/plot_template":237,"../../plots/array_container_defaults":243,"../color":75,"./attributes":138,"./constants":139}],141:[function(_dereq_,module,exports){
31776
31813
  /**
31777
31814
  * Copyright 2012-2020, Plotly, Inc.
31778
31815
  * All rights reserved.
@@ -32027,7 +32064,7 @@ function reposition(gd, buttons, opts, axName, selector) {
32027
32064
  selector.attr('transform', strTranslate(lx, ly));
32028
32065
  }
32029
32066
 
32030
- },{"../../constants/alignment":176,"../../lib":201,"../../lib/svg_text_utils":222,"../../plots/cartesian/axis_ids":249,"../../plots/plots":280,"../../registry":288,"../color":74,"../drawing":96,"./constants":138,"./get_update_object":141,"d3":9}],141:[function(_dereq_,module,exports){
32067
+ },{"../../constants/alignment":177,"../../lib":202,"../../lib/svg_text_utils":224,"../../plots/cartesian/axis_ids":251,"../../plots/plots":282,"../../registry":290,"../color":75,"../drawing":97,"./constants":139,"./get_update_object":142,"d3":9}],142:[function(_dereq_,module,exports){
32031
32068
  /**
32032
32069
  * Copyright 2012-2020, Plotly, Inc.
32033
32070
  * All rights reserved.
@@ -32081,7 +32118,7 @@ function getXRange(axisLayout, buttonLayout) {
32081
32118
  return [range0, range1];
32082
32119
  }
32083
32120
 
32084
- },{"d3":9}],142:[function(_dereq_,module,exports){
32121
+ },{"d3":9}],143:[function(_dereq_,module,exports){
32085
32122
  /**
32086
32123
  * Copyright 2012-2020, Plotly, Inc.
32087
32124
  * All rights reserved.
@@ -32108,7 +32145,7 @@ module.exports = {
32108
32145
  draw: _dereq_('./draw')
32109
32146
  };
32110
32147
 
32111
- },{"./attributes":137,"./defaults":139,"./draw":140}],143:[function(_dereq_,module,exports){
32148
+ },{"./attributes":138,"./defaults":140,"./draw":141}],144:[function(_dereq_,module,exports){
32112
32149
  /**
32113
32150
  * Copyright 2012-2020, Plotly, Inc.
32114
32151
  * All rights reserved.
@@ -32182,7 +32219,7 @@ module.exports = {
32182
32219
  editType: 'calc'
32183
32220
  };
32184
32221
 
32185
- },{"../color/attributes":73}],144:[function(_dereq_,module,exports){
32222
+ },{"../color/attributes":74}],145:[function(_dereq_,module,exports){
32186
32223
  /**
32187
32224
  * Copyright 2012-2020, Plotly, Inc.
32188
32225
  * All rights reserved.
@@ -32216,7 +32253,7 @@ module.exports = function calcAutorange(gd) {
32216
32253
  }
32217
32254
  };
32218
32255
 
32219
- },{"../../plots/cartesian/autorange":245,"../../plots/cartesian/axis_ids":249,"./constants":145}],145:[function(_dereq_,module,exports){
32256
+ },{"../../plots/cartesian/autorange":247,"../../plots/cartesian/axis_ids":251,"./constants":146}],146:[function(_dereq_,module,exports){
32220
32257
  /**
32221
32258
  * Copyright 2012-2020, Plotly, Inc.
32222
32259
  * All rights reserved.
@@ -32272,7 +32309,7 @@ module.exports = {
32272
32309
  extraPad: 15
32273
32310
  };
32274
32311
 
32275
- },{}],146:[function(_dereq_,module,exports){
32312
+ },{}],147:[function(_dereq_,module,exports){
32276
32313
  /**
32277
32314
  * Copyright 2012-2020, Plotly, Inc.
32278
32315
  * All rights reserved.
@@ -32358,7 +32395,7 @@ module.exports = function handleDefaults(layoutIn, layoutOut, axName) {
32358
32395
  containerOut._input = containerIn;
32359
32396
  };
32360
32397
 
32361
- },{"../../lib":201,"../../plot_api/plot_template":235,"../../plots/cartesian/axis_ids":249,"./attributes":143,"./oppaxis_attributes":150}],147:[function(_dereq_,module,exports){
32398
+ },{"../../lib":202,"../../plot_api/plot_template":237,"../../plots/cartesian/axis_ids":251,"./attributes":144,"./oppaxis_attributes":151}],148:[function(_dereq_,module,exports){
32362
32399
  /**
32363
32400
  * Copyright 2012-2020, Plotly, Inc.
32364
32401
  * All rights reserved.
@@ -33002,7 +33039,7 @@ function drawGrabbers(rangeSlider, gd, axisOpts, opts) {
33002
33039
  grabAreaMax.attr('height', opts._height);
33003
33040
  }
33004
33041
 
33005
- },{"../../lib":201,"../../lib/setcursor":220,"../../plots/cartesian":259,"../../plots/cartesian/axis_ids":249,"../../plots/plots":280,"../../registry":288,"../color":74,"../dragelement":93,"../drawing":96,"../titles":169,"./constants":145,"d3":9}],148:[function(_dereq_,module,exports){
33042
+ },{"../../lib":202,"../../lib/setcursor":222,"../../plots/cartesian":261,"../../plots/cartesian/axis_ids":251,"../../plots/plots":282,"../../registry":290,"../color":75,"../dragelement":94,"../drawing":97,"../titles":170,"./constants":146,"d3":9}],149:[function(_dereq_,module,exports){
33006
33043
  /**
33007
33044
  * Copyright 2012-2020, Plotly, Inc.
33008
33045
  * All rights reserved.
@@ -33077,7 +33114,7 @@ exports.autoMarginOpts = function(gd, ax) {
33077
33114
  };
33078
33115
  };
33079
33116
 
33080
- },{"../../constants/alignment":176,"../../lib/svg_text_utils":222,"../../plots/cartesian/axis_ids":249,"./constants":145}],149:[function(_dereq_,module,exports){
33117
+ },{"../../constants/alignment":177,"../../lib/svg_text_utils":224,"../../plots/cartesian/axis_ids":251,"./constants":146}],150:[function(_dereq_,module,exports){
33081
33118
  /**
33082
33119
  * Copyright 2012-2020, Plotly, Inc.
33083
33120
  * All rights reserved.
@@ -33116,7 +33153,7 @@ module.exports = {
33116
33153
  autoMarginOpts: helpers.autoMarginOpts
33117
33154
  };
33118
33155
 
33119
- },{"../../lib":201,"./attributes":143,"./calc_autorange":144,"./defaults":146,"./draw":147,"./helpers":148,"./oppaxis_attributes":150}],150:[function(_dereq_,module,exports){
33156
+ },{"../../lib":202,"./attributes":144,"./calc_autorange":145,"./defaults":147,"./draw":148,"./helpers":149,"./oppaxis_attributes":151}],151:[function(_dereq_,module,exports){
33120
33157
  /**
33121
33158
  * Copyright 2012-2020, Plotly, Inc.
33122
33159
  * All rights reserved.
@@ -33154,7 +33191,7 @@ module.exports = {
33154
33191
  editType: 'calc'
33155
33192
  };
33156
33193
 
33157
- },{}],151:[function(_dereq_,module,exports){
33194
+ },{}],152:[function(_dereq_,module,exports){
33158
33195
  /**
33159
33196
  * Copyright 2012-2020, Plotly, Inc.
33160
33197
  * All rights reserved.
@@ -33307,7 +33344,7 @@ module.exports = templatedArray('shape', {
33307
33344
  editType: 'arraydraw'
33308
33345
  });
33309
33346
 
33310
- },{"../../constants/axis_placeable_objects":177,"../../lib/extend":195,"../../plot_api/plot_template":235,"../../traces/scatter/attributes":328,"../annotations/attributes":59,"../drawing/attributes":95}],152:[function(_dereq_,module,exports){
33347
+ },{"../../constants/axis_placeable_objects":178,"../../lib/extend":196,"../../plot_api/plot_template":237,"../../traces/scatter/attributes":330,"../annotations/attributes":60,"../drawing/attributes":96}],153:[function(_dereq_,module,exports){
33311
33348
  /**
33312
33349
  * Copyright 2012-2020, Plotly, Inc.
33313
33350
  * All rights reserved.
@@ -33427,7 +33464,7 @@ function shapeBounds(ax, v0, v1, path, paramsToUse) {
33427
33464
  if(max >= min) return [min, max];
33428
33465
  }
33429
33466
 
33430
- },{"../../lib":201,"../../plots/cartesian/axes":246,"./constants":153,"./helpers":162}],153:[function(_dereq_,module,exports){
33467
+ },{"../../lib":202,"../../plots/cartesian/axes":248,"./constants":154,"./helpers":163}],154:[function(_dereq_,module,exports){
33431
33468
  /**
33432
33469
  * Copyright 2012-2020, Plotly, Inc.
33433
33470
  * All rights reserved.
@@ -33491,7 +33528,7 @@ module.exports = {
33491
33528
  }
33492
33529
  };
33493
33530
 
33494
- },{}],154:[function(_dereq_,module,exports){
33531
+ },{}],155:[function(_dereq_,module,exports){
33495
33532
  /**
33496
33533
  * Copyright 2012-2020, Plotly, Inc.
33497
33534
  * All rights reserved.
@@ -33622,7 +33659,7 @@ function handleShapeDefaults(shapeIn, shapeOut, fullLayout) {
33622
33659
  }
33623
33660
  }
33624
33661
 
33625
- },{"../../lib":201,"../../plots/array_container_defaults":241,"../../plots/cartesian/axes":246,"./attributes":151,"./helpers":162}],155:[function(_dereq_,module,exports){
33662
+ },{"../../lib":202,"../../plots/array_container_defaults":243,"../../plots/cartesian/axes":248,"./attributes":152,"./helpers":163}],156:[function(_dereq_,module,exports){
33626
33663
  /**
33627
33664
  * Copyright 2012-2020, Plotly, Inc.
33628
33665
  * All rights reserved.
@@ -34396,7 +34433,7 @@ function eraseActiveShape(gd) {
34396
34433
  }
34397
34434
  }
34398
34435
 
34399
- },{"../../lib":201,"../../lib/setcursor":220,"../../plot_api/plot_template":235,"../../plots/cartesian/axes":246,"../../plots/cartesian/handle_outline":256,"../../registry":288,"../color":74,"../dragelement":93,"../drawing":96,"./constants":153,"./draw_newshape/display_outlines":159,"./draw_newshape/helpers":160,"./helpers":162}],156:[function(_dereq_,module,exports){
34436
+ },{"../../lib":202,"../../lib/setcursor":222,"../../plot_api/plot_template":237,"../../plots/cartesian/axes":248,"../../plots/cartesian/handle_outline":258,"../../registry":290,"../color":75,"../dragelement":94,"../drawing":97,"./constants":154,"./draw_newshape/display_outlines":160,"./draw_newshape/helpers":161,"./helpers":163}],157:[function(_dereq_,module,exports){
34400
34437
  /**
34401
34438
  * Copyright 2012-2020, Plotly, Inc.
34402
34439
  * All rights reserved.
@@ -34499,7 +34536,7 @@ module.exports = {
34499
34536
  }
34500
34537
  };
34501
34538
 
34502
- },{"../../../lib/extend":195,"../../drawing/attributes":95}],157:[function(_dereq_,module,exports){
34539
+ },{"../../../lib/extend":196,"../../drawing/attributes":96}],158:[function(_dereq_,module,exports){
34503
34540
  /**
34504
34541
  * Copyright 2012-2020, Plotly, Inc.
34505
34542
  * All rights reserved.
@@ -34523,7 +34560,7 @@ module.exports = {
34523
34560
  SQRT2: Math.sqrt(2)
34524
34561
  };
34525
34562
 
34526
- },{}],158:[function(_dereq_,module,exports){
34563
+ },{}],159:[function(_dereq_,module,exports){
34527
34564
  /**
34528
34565
  * Copyright 2012-2020, Plotly, Inc.
34529
34566
  * All rights reserved.
@@ -34555,7 +34592,7 @@ module.exports = function supplyDrawNewShapeDefaults(layoutIn, layoutOut, coerce
34555
34592
  coerce('activeshape.opacity');
34556
34593
  };
34557
34594
 
34558
- },{"../../color":74}],159:[function(_dereq_,module,exports){
34595
+ },{"../../color":75}],160:[function(_dereq_,module,exports){
34559
34596
  /**
34560
34597
  * Copyright 2012-2020, Plotly, Inc.
34561
34598
  * All rights reserved.
@@ -34850,7 +34887,7 @@ function recordPositions(polygonsOut, polygonsIn) {
34850
34887
  return polygonsOut;
34851
34888
  }
34852
34889
 
34853
- },{"../../../plots/cartesian/handle_outline":256,"../../../registry":288,"../../dragelement":93,"../../dragelement/helpers":92,"./constants":157,"./helpers":160,"./newshapes":161}],160:[function(_dereq_,module,exports){
34890
+ },{"../../../plots/cartesian/handle_outline":258,"../../../registry":290,"../../dragelement":94,"../../dragelement/helpers":93,"./constants":158,"./helpers":161,"./newshapes":162}],161:[function(_dereq_,module,exports){
34854
34891
  /**
34855
34892
  * Copyright 2012-2020, Plotly, Inc.
34856
34893
  * All rights reserved.
@@ -35188,7 +35225,7 @@ exports.ellipseOver = function(pos) {
35188
35225
  };
35189
35226
  };
35190
35227
 
35191
- },{"../../../plots/cartesian/helpers":257,"./constants":157,"parse-svg-path":47}],161:[function(_dereq_,module,exports){
35228
+ },{"../../../plots/cartesian/helpers":259,"./constants":158,"parse-svg-path":48}],162:[function(_dereq_,module,exports){
35192
35229
  /**
35193
35230
  * Copyright 2012-2020, Plotly, Inc.
35194
35231
  * All rights reserved.
@@ -35447,7 +35484,7 @@ function fixDatesForPaths(polygons, xaxis, yaxis) {
35447
35484
  return polygons;
35448
35485
  }
35449
35486
 
35450
- },{"../../../plots/cartesian/handle_outline":256,"../../../plots/cartesian/helpers":257,"../../dragelement/helpers":92,"./constants":157,"./helpers":160}],162:[function(_dereq_,module,exports){
35487
+ },{"../../../plots/cartesian/handle_outline":258,"../../../plots/cartesian/helpers":259,"../../dragelement/helpers":93,"./constants":158,"./helpers":161}],163:[function(_dereq_,module,exports){
35451
35488
  /**
35452
35489
  * Copyright 2012-2020, Plotly, Inc.
35453
35490
  * All rights reserved.
@@ -35605,7 +35642,7 @@ exports.makeOptionsAndPlotinfo = function(gd, index) {
35605
35642
  };
35606
35643
  };
35607
35644
 
35608
- },{"../../lib":201,"./constants":153}],163:[function(_dereq_,module,exports){
35645
+ },{"../../lib":202,"./constants":154}],164:[function(_dereq_,module,exports){
35609
35646
  /**
35610
35647
  * Copyright 2012-2020, Plotly, Inc.
35611
35648
  * All rights reserved.
@@ -35633,7 +35670,7 @@ module.exports = {
35633
35670
  drawOne: drawModule.drawOne
35634
35671
  };
35635
35672
 
35636
- },{"../../plots/cartesian/include_components":258,"./attributes":151,"./calc_autorange":152,"./defaults":154,"./draw":155,"./draw_newshape/defaults":158}],164:[function(_dereq_,module,exports){
35673
+ },{"../../plots/cartesian/include_components":260,"./attributes":152,"./calc_autorange":153,"./defaults":155,"./draw":156,"./draw_newshape/defaults":159}],165:[function(_dereq_,module,exports){
35637
35674
  /**
35638
35675
  * Copyright 2012-2020, Plotly, Inc.
35639
35676
  * All rights reserved.
@@ -35876,7 +35913,7 @@ module.exports = overrideAll(templatedArray('slider', {
35876
35913
  }
35877
35914
  }), 'arraydraw', 'from-root');
35878
35915
 
35879
- },{"../../lib/extend":195,"../../plot_api/edit_types":228,"../../plot_api/plot_template":235,"../../plots/animation_attributes":240,"../../plots/font_attributes":274,"../../plots/pad_attributes":279,"./constants":165}],165:[function(_dereq_,module,exports){
35916
+ },{"../../lib/extend":196,"../../plot_api/edit_types":230,"../../plot_api/plot_template":237,"../../plots/animation_attributes":242,"../../plots/font_attributes":276,"../../plots/pad_attributes":281,"./constants":166}],166:[function(_dereq_,module,exports){
35880
35917
  /**
35881
35918
  * Copyright 2012-2020, Plotly, Inc.
35882
35919
  * All rights reserved.
@@ -35970,7 +36007,7 @@ module.exports = {
35970
36007
  currentValueInset: 0,
35971
36008
  };
35972
36009
 
35973
- },{}],166:[function(_dereq_,module,exports){
36010
+ },{}],167:[function(_dereq_,module,exports){
35974
36011
  /**
35975
36012
  * Copyright 2012-2020, Plotly, Inc.
35976
36013
  * All rights reserved.
@@ -36085,7 +36122,7 @@ function stepDefaults(valueIn, valueOut) {
36085
36122
  }
36086
36123
  }
36087
36124
 
36088
- },{"../../lib":201,"../../plots/array_container_defaults":241,"./attributes":164,"./constants":165}],167:[function(_dereq_,module,exports){
36125
+ },{"../../lib":202,"../../plots/array_container_defaults":243,"./attributes":165,"./constants":166}],168:[function(_dereq_,module,exports){
36089
36126
  /**
36090
36127
  * Copyright 2012-2020, Plotly, Inc.
36091
36128
  * All rights reserved.
@@ -36659,7 +36696,7 @@ function setGripPosition(sliderGroup, sliderOpts, doTransition) {
36659
36696
  .ease(sliderOpts.transition.easing);
36660
36697
  }
36661
36698
 
36662
- // Drawing.setTranslate doesn't work here becasue of the transition duck-typing.
36699
+ // Drawing.setTranslate doesn't work here because of the transition duck-typing.
36663
36700
  // It's also not necessary because there are no other transitions to preserve.
36664
36701
  el.attr('transform', strTranslate(x - constants.gripWidth * 0.5, sliderOpts._dims.currentValueTotalHeight));
36665
36702
  }
@@ -36716,7 +36753,7 @@ function drawRail(sliderGroup, sliderOpts) {
36716
36753
  );
36717
36754
  }
36718
36755
 
36719
- },{"../../constants/alignment":176,"../../lib":201,"../../lib/svg_text_utils":222,"../../plot_api/plot_template":235,"../../plots/plots":280,"../color":74,"../drawing":96,"./constants":165,"d3":9}],168:[function(_dereq_,module,exports){
36756
+ },{"../../constants/alignment":177,"../../lib":202,"../../lib/svg_text_utils":224,"../../plot_api/plot_template":237,"../../plots/plots":282,"../color":75,"../drawing":97,"./constants":166,"d3":9}],169:[function(_dereq_,module,exports){
36720
36757
  /**
36721
36758
  * Copyright 2012-2020, Plotly, Inc.
36722
36759
  * All rights reserved.
@@ -36739,7 +36776,7 @@ module.exports = {
36739
36776
  draw: _dereq_('./draw')
36740
36777
  };
36741
36778
 
36742
- },{"./attributes":164,"./constants":165,"./defaults":166,"./draw":167}],169:[function(_dereq_,module,exports){
36779
+ },{"./attributes":165,"./constants":166,"./defaults":167,"./draw":168}],170:[function(_dereq_,module,exports){
36743
36780
  /**
36744
36781
  * Copyright 2012-2020, Plotly, Inc.
36745
36782
  * All rights reserved.
@@ -37007,7 +37044,7 @@ module.exports = {
37007
37044
  draw: draw
37008
37045
  };
37009
37046
 
37010
- },{"../../constants/alignment":176,"../../constants/interactions":179,"../../lib":201,"../../lib/svg_text_utils":222,"../../plots/plots":280,"../../registry":288,"../color":74,"../drawing":96,"d3":9,"fast-isnumeric":11}],170:[function(_dereq_,module,exports){
37047
+ },{"../../constants/alignment":177,"../../constants/interactions":180,"../../lib":202,"../../lib/svg_text_utils":224,"../../plots/plots":282,"../../registry":290,"../color":75,"../drawing":97,"d3":9,"fast-isnumeric":11}],171:[function(_dereq_,module,exports){
37011
37048
  /**
37012
37049
  * Copyright 2012-2020, Plotly, Inc.
37013
37050
  * All rights reserved.
@@ -37176,7 +37213,7 @@ module.exports = overrideAll(templatedArray('updatemenu', {
37176
37213
  }
37177
37214
  }), 'arraydraw', 'from-root');
37178
37215
 
37179
- },{"../../lib/extend":195,"../../plot_api/edit_types":228,"../../plot_api/plot_template":235,"../../plots/font_attributes":274,"../../plots/pad_attributes":279,"../color/attributes":73}],171:[function(_dereq_,module,exports){
37216
+ },{"../../lib/extend":196,"../../plot_api/edit_types":230,"../../plot_api/plot_template":237,"../../plots/font_attributes":276,"../../plots/pad_attributes":281,"../color/attributes":74}],172:[function(_dereq_,module,exports){
37180
37217
  /**
37181
37218
  * Copyright 2012-2020, Plotly, Inc.
37182
37219
  * All rights reserved.
@@ -37257,7 +37294,7 @@ module.exports = {
37257
37294
  }
37258
37295
  };
37259
37296
 
37260
- },{}],172:[function(_dereq_,module,exports){
37297
+ },{}],173:[function(_dereq_,module,exports){
37261
37298
  /**
37262
37299
  * Copyright 2012-2020, Plotly, Inc.
37263
37300
  * All rights reserved.
@@ -37340,7 +37377,7 @@ function buttonDefaults(buttonIn, buttonOut) {
37340
37377
  }
37341
37378
  }
37342
37379
 
37343
- },{"../../lib":201,"../../plots/array_container_defaults":241,"./attributes":170,"./constants":171}],173:[function(_dereq_,module,exports){
37380
+ },{"../../lib":202,"../../plots/array_container_defaults":243,"./attributes":171,"./constants":172}],174:[function(_dereq_,module,exports){
37344
37381
  /**
37345
37382
  * Copyright 2012-2020, Plotly, Inc.
37346
37383
  * All rights reserved.
@@ -37991,9 +38028,9 @@ function removeAllButtons(gButton, newMenuIndexAttr) {
37991
38028
  .selectAll('g.' + constants.dropdownButtonClassName).remove();
37992
38029
  }
37993
38030
 
37994
- },{"../../constants/alignment":176,"../../lib":201,"../../lib/svg_text_utils":222,"../../plot_api/plot_template":235,"../../plots/plots":280,"../color":74,"../drawing":96,"./constants":171,"./scrollbox":175,"d3":9}],174:[function(_dereq_,module,exports){
37995
- arguments[4][168][0].apply(exports,arguments)
37996
- },{"./attributes":170,"./constants":171,"./defaults":172,"./draw":173,"dup":168}],175:[function(_dereq_,module,exports){
38031
+ },{"../../constants/alignment":177,"../../lib":202,"../../lib/svg_text_utils":224,"../../plot_api/plot_template":237,"../../plots/plots":282,"../color":75,"../drawing":97,"./constants":172,"./scrollbox":176,"d3":9}],175:[function(_dereq_,module,exports){
38032
+ arguments[4][169][0].apply(exports,arguments)
38033
+ },{"./attributes":171,"./constants":172,"./defaults":173,"./draw":174,"dup":169}],176:[function(_dereq_,module,exports){
37997
38034
  /**
37998
38035
  * Copyright 2012-2020, Plotly, Inc.
37999
38036
  * All rights reserved.
@@ -38458,7 +38495,7 @@ ScrollBox.prototype.setTranslate = function setTranslate(translateX, translateY)
38458
38495
  }
38459
38496
  };
38460
38497
 
38461
- },{"../../lib":201,"../color":74,"../drawing":96,"d3":9}],176:[function(_dereq_,module,exports){
38498
+ },{"../../lib":202,"../color":75,"../drawing":97,"d3":9}],177:[function(_dereq_,module,exports){
38462
38499
  /**
38463
38500
  * Copyright 2012-2020, Plotly, Inc.
38464
38501
  * All rights reserved.
@@ -38523,7 +38560,7 @@ module.exports = {
38523
38560
  }
38524
38561
  };
38525
38562
 
38526
- },{}],177:[function(_dereq_,module,exports){
38563
+ },{}],178:[function(_dereq_,module,exports){
38527
38564
  /**
38528
38565
  * Copyright 2012-2020, Plotly, Inc.
38529
38566
  * All rights reserved.
@@ -38555,7 +38592,7 @@ module.exports = {
38555
38592
  }
38556
38593
  };
38557
38594
 
38558
- },{}],178:[function(_dereq_,module,exports){
38595
+ },{}],179:[function(_dereq_,module,exports){
38559
38596
  /**
38560
38597
  * Copyright 2012-2020, Plotly, Inc.
38561
38598
  * All rights reserved.
@@ -38571,7 +38608,7 @@ module.exports = {
38571
38608
  DATE_FORMAT_LINK: 'https://github.com/d3/d3-time-format#locale_format'
38572
38609
  };
38573
38610
 
38574
- },{}],179:[function(_dereq_,module,exports){
38611
+ },{}],180:[function(_dereq_,module,exports){
38575
38612
  /**
38576
38613
  * Copyright 2012-2020, Plotly, Inc.
38577
38614
  * All rights reserved.
@@ -38594,7 +38631,7 @@ module.exports = {
38594
38631
  DESELECTDIM: 0.2
38595
38632
  };
38596
38633
 
38597
- },{}],180:[function(_dereq_,module,exports){
38634
+ },{}],181:[function(_dereq_,module,exports){
38598
38635
  /**
38599
38636
  * Copyright 2012-2020, Plotly, Inc.
38600
38637
  * All rights reserved.
@@ -38667,7 +38704,7 @@ module.exports = {
38667
38704
  MINUS_SIGN: '\u2212'
38668
38705
  };
38669
38706
 
38670
- },{}],181:[function(_dereq_,module,exports){
38707
+ },{}],182:[function(_dereq_,module,exports){
38671
38708
  /**
38672
38709
  * Copyright 2012-2020, Plotly, Inc.
38673
38710
  * All rights reserved.
@@ -38691,7 +38728,7 @@ exports.svgAttrs = {
38691
38728
  'xmlns:xlink': exports.xlink
38692
38729
  };
38693
38730
 
38694
- },{}],182:[function(_dereq_,module,exports){
38731
+ },{}],183:[function(_dereq_,module,exports){
38695
38732
  /**
38696
38733
  * Copyright 2012-2020, Plotly, Inc.
38697
38734
  * All rights reserved.
@@ -38777,7 +38814,7 @@ exports.Queue = _dereq_('./lib/queue');
38777
38814
  // export d3 used in the bundle
38778
38815
  exports.d3 = _dereq_('d3');
38779
38816
 
38780
- },{"../build/plotcss":1,"./components/annotations":67,"./components/annotations3d":72,"./components/colorbar":80,"./components/colorscale":86,"./components/errorbars":102,"./components/fx":114,"./components/grid":118,"./components/images":123,"./components/legend":131,"./components/rangeselector":142,"./components/rangeslider":149,"./components/shapes":163,"./components/sliders":168,"./components/updatemenus":174,"./fonts/mathjax_config":183,"./fonts/ploticon":184,"./lib/queue":215,"./locale-en":226,"./locale-en-us":225,"./plot_api":230,"./plot_api/plot_schema":234,"./plots/plots":280,"./registry":288,"./snapshot":293,"./traces/scatter":340,"./version":356,"d3":9,"es6-promise":10}],183:[function(_dereq_,module,exports){
38817
+ },{"../build/plotcss":1,"./components/annotations":68,"./components/annotations3d":73,"./components/colorbar":81,"./components/colorscale":87,"./components/errorbars":103,"./components/fx":115,"./components/grid":119,"./components/images":124,"./components/legend":132,"./components/rangeselector":143,"./components/rangeslider":150,"./components/shapes":164,"./components/sliders":169,"./components/updatemenus":175,"./fonts/mathjax_config":184,"./fonts/ploticon":185,"./lib/queue":217,"./locale-en":228,"./locale-en-us":227,"./plot_api":232,"./plot_api/plot_schema":236,"./plots/plots":282,"./registry":290,"./snapshot":295,"./traces/scatter":342,"./version":358,"d3":9,"es6-promise":10}],184:[function(_dereq_,module,exports){
38781
38818
  /**
38782
38819
  * Copyright 2012-2020, Plotly, Inc.
38783
38820
  * All rights reserved.
@@ -38808,7 +38845,7 @@ module.exports = function() {
38808
38845
  }
38809
38846
  };
38810
38847
 
38811
- },{}],184:[function(_dereq_,module,exports){
38848
+ },{}],185:[function(_dereq_,module,exports){
38812
38849
  /**
38813
38850
  * Copyright 2012-2020, Plotly, Inc.
38814
38851
  * All rights reserved.
@@ -38988,7 +39025,7 @@ module.exports = {
38988
39025
  }
38989
39026
  };
38990
39027
 
38991
- },{}],185:[function(_dereq_,module,exports){
39028
+ },{}],186:[function(_dereq_,module,exports){
38992
39029
  /**
38993
39030
  * Copyright 2012-2020, Plotly, Inc.
38994
39031
  * All rights reserved.
@@ -39052,7 +39089,7 @@ exports.isBottomAnchor = function isBottomAnchor(opts) {
39052
39089
  );
39053
39090
  };
39054
39091
 
39055
- },{}],186:[function(_dereq_,module,exports){
39092
+ },{}],187:[function(_dereq_,module,exports){
39056
39093
  /**
39057
39094
  * Copyright 2012-2020, Plotly, Inc.
39058
39095
  * All rights reserved.
@@ -39293,7 +39330,7 @@ module.exports = {
39293
39330
  pathAnnulus: pathAnnulus
39294
39331
  };
39295
39332
 
39296
- },{"./mod":208}],187:[function(_dereq_,module,exports){
39333
+ },{"./mod":209}],188:[function(_dereq_,module,exports){
39297
39334
  /**
39298
39335
  * Copyright 2012-2020, Plotly, Inc.
39299
39336
  * All rights reserved.
@@ -39450,7 +39487,7 @@ function _rowLength(z, fn, len0) {
39450
39487
  return 0;
39451
39488
  }
39452
39489
 
39453
- },{}],188:[function(_dereq_,module,exports){
39490
+ },{}],189:[function(_dereq_,module,exports){
39454
39491
  /**
39455
39492
  * Copyright 2012-2020, Plotly, Inc.
39456
39493
  * All rights reserved.
@@ -39483,7 +39520,7 @@ module.exports = function cleanNumber(v) {
39483
39520
  return BADNUM;
39484
39521
  };
39485
39522
 
39486
- },{"../constants/numerical":180,"fast-isnumeric":11}],189:[function(_dereq_,module,exports){
39523
+ },{"../constants/numerical":181,"fast-isnumeric":11}],190:[function(_dereq_,module,exports){
39487
39524
  /**
39488
39525
  * Copyright 2012-2020, Plotly, Inc.
39489
39526
  * All rights reserved.
@@ -39511,7 +39548,7 @@ module.exports = function clearGlCanvases(gd) {
39511
39548
  }
39512
39549
  };
39513
39550
 
39514
- },{}],190:[function(_dereq_,module,exports){
39551
+ },{}],191:[function(_dereq_,module,exports){
39515
39552
  /**
39516
39553
  * Copyright 2012-2020, Plotly, Inc.
39517
39554
  * All rights reserved.
@@ -39534,7 +39571,7 @@ module.exports = function clearResponsive(gd) {
39534
39571
  }
39535
39572
  };
39536
39573
 
39537
- },{}],191:[function(_dereq_,module,exports){
39574
+ },{}],192:[function(_dereq_,module,exports){
39538
39575
  /**
39539
39576
  * Copyright 2012-2020, Plotly, Inc.
39540
39577
  * All rights reserved.
@@ -39998,7 +40035,7 @@ function validate(value, opts) {
39998
40035
  }
39999
40036
  exports.validate = validate;
40000
40037
 
40001
- },{"../components/colorscale/scales":89,"../constants/interactions":179,"../plots/attributes":242,"./array":187,"./mod":208,"./nested_property":209,"./regex":216,"fast-isnumeric":11,"tinycolor2":57}],192:[function(_dereq_,module,exports){
40038
+ },{"../components/colorscale/scales":90,"../constants/interactions":180,"../plots/attributes":244,"./array":188,"./mod":209,"./nested_property":210,"./regex":218,"fast-isnumeric":11,"tinycolor2":58}],193:[function(_dereq_,module,exports){
40002
40039
  /**
40003
40040
  * Copyright 2012-2020, Plotly, Inc.
40004
40041
  * All rights reserved.
@@ -40599,7 +40636,7 @@ exports.findExactDates = function(data, calendar) {
40599
40636
  };
40600
40637
  };
40601
40638
 
40602
- },{"../constants/numerical":180,"../registry":288,"./loggers":205,"./mod":208,"d3-time-format":7,"fast-isnumeric":11}],193:[function(_dereq_,module,exports){
40639
+ },{"../constants/numerical":181,"../registry":290,"./loggers":206,"./mod":209,"d3-time-format":7,"fast-isnumeric":11}],194:[function(_dereq_,module,exports){
40603
40640
  /**
40604
40641
  * Copyright 2012-2020, Plotly, Inc.
40605
40642
  * All rights reserved.
@@ -40777,7 +40814,7 @@ module.exports = {
40777
40814
  equalDomRects: equalDomRects
40778
40815
  };
40779
40816
 
40780
- },{"./loggers":205,"./matrix":207,"d3":9,"gl-mat4":27}],194:[function(_dereq_,module,exports){
40817
+ },{"./loggers":206,"./matrix":208,"d3":9,"gl-mat4":27}],195:[function(_dereq_,module,exports){
40781
40818
  /**
40782
40819
  * Copyright 2012-2020, Plotly, Inc.
40783
40820
  * All rights reserved.
@@ -40950,7 +40987,7 @@ var Events = {
40950
40987
 
40951
40988
  module.exports = Events;
40952
40989
 
40953
- },{"events":6}],195:[function(_dereq_,module,exports){
40990
+ },{"events":6}],196:[function(_dereq_,module,exports){
40954
40991
  /**
40955
40992
  * Copyright 2012-2020, Plotly, Inc.
40956
40993
  * All rights reserved.
@@ -41064,7 +41101,7 @@ function _extend(inputs, isDeep, keepAllKeys, noArrayCopies) {
41064
41101
  return target;
41065
41102
  }
41066
41103
 
41067
- },{"./is_plain_object.js":202}],196:[function(_dereq_,module,exports){
41104
+ },{"./is_plain_object.js":203}],197:[function(_dereq_,module,exports){
41068
41105
  /**
41069
41106
  * Copyright 2012-2020, Plotly, Inc.
41070
41107
  * All rights reserved.
@@ -41115,7 +41152,7 @@ module.exports = function filterUnique(array) {
41115
41152
  return out;
41116
41153
  };
41117
41154
 
41118
- },{}],197:[function(_dereq_,module,exports){
41155
+ },{}],198:[function(_dereq_,module,exports){
41119
41156
  /**
41120
41157
  * Copyright 2012-2020, Plotly, Inc.
41121
41158
  * All rights reserved.
@@ -41163,7 +41200,7 @@ function isCalcData(cont) {
41163
41200
  );
41164
41201
  }
41165
41202
 
41166
- },{}],198:[function(_dereq_,module,exports){
41203
+ },{}],199:[function(_dereq_,module,exports){
41167
41204
  /**
41168
41205
  * Copyright 2012-2020, Plotly, Inc.
41169
41206
  * All rights reserved.
@@ -41407,7 +41444,7 @@ exports.findPointOnPath = function findPointOnPath(path, val, coord, opts) {
41407
41444
  return pt;
41408
41445
  };
41409
41446
 
41410
- },{"./mod":208}],199:[function(_dereq_,module,exports){
41447
+ },{"./mod":209}],200:[function(_dereq_,module,exports){
41411
41448
  /**
41412
41449
  * Copyright 2012-2020, Plotly, Inc.
41413
41450
  * All rights reserved.
@@ -41423,7 +41460,7 @@ exports.findPointOnPath = function findPointOnPath(path, val, coord, opts) {
41423
41460
 
41424
41461
  module.exports = function identity(d) { return d; };
41425
41462
 
41426
- },{}],200:[function(_dereq_,module,exports){
41463
+ },{}],201:[function(_dereq_,module,exports){
41427
41464
  /**
41428
41465
  * Copyright 2012-2020, Plotly, Inc.
41429
41466
  * All rights reserved.
@@ -41465,7 +41502,7 @@ module.exports = function incrementNumeric(x, delta) {
41465
41502
  return newX;
41466
41503
  };
41467
41504
 
41468
- },{}],201:[function(_dereq_,module,exports){
41505
+ },{}],202:[function(_dereq_,module,exports){
41469
41506
  /**
41470
41507
  * Copyright 2012-2020, Plotly, Inc.
41471
41508
  * All rights reserved.
@@ -41622,6 +41659,7 @@ lib.getElementAndAncestors = domModule.getElementAndAncestors;
41622
41659
  lib.equalDomRects = domModule.equalDomRects;
41623
41660
 
41624
41661
  lib.clearResponsive = _dereq_('./clear_responsive');
41662
+ lib.preserveDrawingBuffer = _dereq_('./preserve_drawing_buffer');
41625
41663
 
41626
41664
  lib.makeTraceGroups = _dereq_('./make_trace_groups');
41627
41665
 
@@ -42332,7 +42370,7 @@ lib.objectFromPath = function(path, value) {
42332
42370
  * lib.expandObjectPaths({'foo[1].bar': 10, 'foo[0].bar': 20});
42333
42371
  * => { foo: [{bar: 10}, {bar: 20}] }
42334
42372
  *
42335
- * It does NOT, however, merge mulitple mutliply-nested arrays::
42373
+ * It does NOT, however, merge multiple multiply-nested arrays::
42336
42374
  *
42337
42375
  * lib.expandObjectPaths({'marker[1].range[1]': 5, 'marker[1].range[0]': 4})
42338
42376
  * => { marker: [null, {range: 4}] }
@@ -42747,7 +42785,7 @@ lib.join2 = function(arr, mainSeparator, lastSeparator) {
42747
42785
  return arr.join(mainSeparator);
42748
42786
  };
42749
42787
 
42750
- },{"../constants/numerical":180,"./anchor_utils":185,"./angles":186,"./array":187,"./clean_number":188,"./clear_responsive":190,"./coerce":191,"./dates":192,"./dom":193,"./extend":195,"./filter_unique":196,"./filter_visible":197,"./geometry2d":198,"./identity":199,"./increment":200,"./is_plain_object":202,"./keyed_container":203,"./localize":204,"./loggers":205,"./make_trace_groups":206,"./matrix":207,"./mod":208,"./nested_property":209,"./noop":210,"./notifier":211,"./push_unique":214,"./regex":216,"./relative_attr":217,"./relink_private":218,"./search":219,"./stats":221,"./throttle":223,"./to_log_range":224,"d3":9,"d3-time-format":7,"fast-isnumeric":11}],202:[function(_dereq_,module,exports){
42788
+ },{"../constants/numerical":181,"./anchor_utils":186,"./angles":187,"./array":188,"./clean_number":189,"./clear_responsive":191,"./coerce":192,"./dates":193,"./dom":194,"./extend":196,"./filter_unique":197,"./filter_visible":198,"./geometry2d":199,"./identity":200,"./increment":201,"./is_plain_object":203,"./keyed_container":204,"./localize":205,"./loggers":206,"./make_trace_groups":207,"./matrix":208,"./mod":209,"./nested_property":210,"./noop":211,"./notifier":212,"./preserve_drawing_buffer":215,"./push_unique":216,"./regex":218,"./relative_attr":219,"./relink_private":220,"./search":221,"./stats":223,"./throttle":225,"./to_log_range":226,"d3":9,"d3-time-format":7,"fast-isnumeric":11}],203:[function(_dereq_,module,exports){
42751
42789
  /**
42752
42790
  * Copyright 2012-2020, Plotly, Inc.
42753
42791
  * All rights reserved.
@@ -42775,7 +42813,7 @@ module.exports = function isPlainObject(obj) {
42775
42813
  );
42776
42814
  };
42777
42815
 
42778
- },{}],203:[function(_dereq_,module,exports){
42816
+ },{}],204:[function(_dereq_,module,exports){
42779
42817
  /**
42780
42818
  * Copyright 2012-2020, Plotly, Inc.
42781
42819
  * All rights reserved.
@@ -42968,7 +43006,7 @@ module.exports = function keyedContainer(baseObj, path, keyName, valueName) {
42968
43006
  return obj;
42969
43007
  };
42970
43008
 
42971
- },{"./nested_property":209}],204:[function(_dereq_,module,exports){
43009
+ },{"./nested_property":210}],205:[function(_dereq_,module,exports){
42972
43010
  /**
42973
43011
  * Copyright 2012-2020, Plotly, Inc.
42974
43012
  * All rights reserved.
@@ -43024,7 +43062,7 @@ module.exports = function localize(gd, s) {
43024
43062
  return s;
43025
43063
  };
43026
43064
 
43027
- },{"../registry":288}],205:[function(_dereq_,module,exports){
43065
+ },{"../registry":290}],206:[function(_dereq_,module,exports){
43028
43066
  /**
43029
43067
  * Copyright 2012-2020, Plotly, Inc.
43030
43068
  * All rights reserved.
@@ -43134,7 +43172,7 @@ function apply(f, args) {
43134
43172
  }
43135
43173
  }
43136
43174
 
43137
- },{"../plot_api/plot_config":233,"./notifier":211}],206:[function(_dereq_,module,exports){
43175
+ },{"../plot_api/plot_config":235,"./notifier":212}],207:[function(_dereq_,module,exports){
43138
43176
  /**
43139
43177
  * Copyright 2012-2020, Plotly, Inc.
43140
43178
  * All rights reserved.
@@ -43177,7 +43215,7 @@ module.exports = function makeTraceGroups(traceLayer, cdModule, cls) {
43177
43215
  return traces;
43178
43216
  };
43179
43217
 
43180
- },{"d3":9}],207:[function(_dereq_,module,exports){
43218
+ },{"d3":9}],208:[function(_dereq_,module,exports){
43181
43219
  /**
43182
43220
  * Copyright 2012-2020, Plotly, Inc.
43183
43221
  * All rights reserved.
@@ -43329,7 +43367,7 @@ exports.inverseTransformMatrix = function(m) {
43329
43367
  ];
43330
43368
  };
43331
43369
 
43332
- },{"gl-mat4":27}],208:[function(_dereq_,module,exports){
43370
+ },{"gl-mat4":27}],209:[function(_dereq_,module,exports){
43333
43371
  /**
43334
43372
  * Copyright 2012-2020, Plotly, Inc.
43335
43373
  * All rights reserved.
@@ -43364,7 +43402,7 @@ module.exports = {
43364
43402
  modHalf: modHalf
43365
43403
  };
43366
43404
 
43367
- },{}],209:[function(_dereq_,module,exports){
43405
+ },{}],210:[function(_dereq_,module,exports){
43368
43406
  /**
43369
43407
  * Copyright 2012-2020, Plotly, Inc.
43370
43408
  * All rights reserved.
@@ -43610,7 +43648,7 @@ function badContainer(container, propStr, propParts) {
43610
43648
  };
43611
43649
  }
43612
43650
 
43613
- },{"./array":187,"fast-isnumeric":11}],210:[function(_dereq_,module,exports){
43651
+ },{"./array":188,"fast-isnumeric":11}],211:[function(_dereq_,module,exports){
43614
43652
  /**
43615
43653
  * Copyright 2012-2020, Plotly, Inc.
43616
43654
  * All rights reserved.
@@ -43626,7 +43664,7 @@ function badContainer(container, propStr, propParts) {
43626
43664
 
43627
43665
  module.exports = function noop() {};
43628
43666
 
43629
- },{}],211:[function(_dereq_,module,exports){
43667
+ },{}],212:[function(_dereq_,module,exports){
43630
43668
  /**
43631
43669
  * Copyright 2012-2020, Plotly, Inc.
43632
43670
  * All rights reserved.
@@ -43714,7 +43752,7 @@ module.exports = function(text, displayLength) {
43714
43752
  });
43715
43753
  };
43716
43754
 
43717
- },{"d3":9,"fast-isnumeric":11}],212:[function(_dereq_,module,exports){
43755
+ },{"d3":9,"fast-isnumeric":11}],213:[function(_dereq_,module,exports){
43718
43756
  /**
43719
43757
  * Copyright 2012-2020, Plotly, Inc.
43720
43758
  * All rights reserved.
@@ -43762,7 +43800,7 @@ module.exports = function overrideCursor(el3, csr) {
43762
43800
  }
43763
43801
  };
43764
43802
 
43765
- },{"./setcursor":220}],213:[function(_dereq_,module,exports){
43803
+ },{"./setcursor":222}],214:[function(_dereq_,module,exports){
43766
43804
  /**
43767
43805
  * Copyright 2012-2020, Plotly, Inc.
43768
43806
  * All rights reserved.
@@ -44014,7 +44052,77 @@ polygon.filter = function filter(pts, tolerance) {
44014
44052
  };
44015
44053
  };
44016
44054
 
44017
- },{"../constants/numerical":180,"./matrix":207}],214:[function(_dereq_,module,exports){
44055
+ },{"../constants/numerical":181,"./matrix":208}],215:[function(_dereq_,module,exports){
44056
+ /**
44057
+ * Copyright 2012-2020, Plotly, Inc.
44058
+ * All rights reserved.
44059
+ *
44060
+ * This source code is licensed under the MIT license found in the
44061
+ * LICENSE file in the root directory of this source tree.
44062
+ */
44063
+
44064
+ 'use strict';
44065
+
44066
+ var isNumeric = _dereq_('fast-isnumeric');
44067
+ var isMobileOrTablet = _dereq_('is-mobile');
44068
+
44069
+ module.exports = function preserveDrawingBuffer(opts) {
44070
+ var ua;
44071
+
44072
+ if(opts && opts.hasOwnProperty('userAgent')) {
44073
+ ua = opts.userAgent;
44074
+ } else {
44075
+ ua = getUserAgent();
44076
+ }
44077
+
44078
+ if(typeof ua !== 'string') return true;
44079
+
44080
+ var enable = isMobileOrTablet({
44081
+ ua: { headers: {'user-agent': ua }},
44082
+ tablet: true,
44083
+ featureDetect: false
44084
+ });
44085
+
44086
+ if(!enable) {
44087
+ var allParts = ua.split(' ');
44088
+ for(var i = 1; i < allParts.length; i++) {
44089
+ var part = allParts[i];
44090
+ if(part.indexOf('Safari') !== -1) {
44091
+ // find Safari version
44092
+ for(var k = i - 1; k > -1; k--) {
44093
+ var prevPart = allParts[k];
44094
+ if(prevPart.substr(0, 8) === 'Version/') {
44095
+ var v = prevPart.substr(8).split('.')[0];
44096
+ if(isNumeric(v)) v = +v;
44097
+ if(v >= 13) return true;
44098
+ }
44099
+ }
44100
+ }
44101
+ }
44102
+ }
44103
+
44104
+ return enable;
44105
+ };
44106
+
44107
+ function getUserAgent() {
44108
+ // similar to https://github.com/juliangruber/is-mobile/blob/91ca39ccdd4cfc5edfb5391e2515b923a730fbea/index.js#L14-L17
44109
+ var ua;
44110
+ if(typeof navigator !== 'undefined') {
44111
+ ua = navigator.userAgent;
44112
+ }
44113
+
44114
+ if(
44115
+ ua &&
44116
+ ua.headers &&
44117
+ typeof ua.headers['user-agent'] === 'string'
44118
+ ) {
44119
+ ua = ua.headers['user-agent'];
44120
+ }
44121
+
44122
+ return ua;
44123
+ }
44124
+
44125
+ },{"fast-isnumeric":11,"is-mobile":45}],216:[function(_dereq_,module,exports){
44018
44126
  /**
44019
44127
  * Copyright 2012-2020, Plotly, Inc.
44020
44128
  * All rights reserved.
@@ -44052,7 +44160,7 @@ module.exports = function pushUnique(array, item) {
44052
44160
  return array;
44053
44161
  };
44054
44162
 
44055
- },{}],215:[function(_dereq_,module,exports){
44163
+ },{}],217:[function(_dereq_,module,exports){
44056
44164
  /**
44057
44165
  * Copyright 2012-2020, Plotly, Inc.
44058
44166
  * All rights reserved.
@@ -44260,7 +44368,7 @@ queue.plotDo = function(gd, func, args) {
44260
44368
 
44261
44369
  module.exports = queue;
44262
44370
 
44263
- },{"../lib":201,"../plot_api/plot_config":233}],216:[function(_dereq_,module,exports){
44371
+ },{"../lib":202,"../plot_api/plot_config":235}],218:[function(_dereq_,module,exports){
44264
44372
  /**
44265
44373
  * Copyright 2012-2020, Plotly, Inc.
44266
44374
  * All rights reserved.
@@ -44290,7 +44398,7 @@ exports.counter = function(head, tail, openEnded, matchBeginning) {
44290
44398
  return new RegExp(startWithPrefix + head + '([2-9]|[1-9][0-9]+)?' + fullTail);
44291
44399
  };
44292
44400
 
44293
- },{}],217:[function(_dereq_,module,exports){
44401
+ },{}],219:[function(_dereq_,module,exports){
44294
44402
  /**
44295
44403
  * Copyright 2012-2020, Plotly, Inc.
44296
44404
  * All rights reserved.
@@ -44343,7 +44451,7 @@ module.exports = function(baseAttr, relativeAttr) {
44343
44451
  return baseAttr + relativeAttr;
44344
44452
  };
44345
44453
 
44346
- },{}],218:[function(_dereq_,module,exports){
44454
+ },{}],220:[function(_dereq_,module,exports){
44347
44455
  /**
44348
44456
  * Copyright 2012-2020, Plotly, Inc.
44349
44457
  * All rights reserved.
@@ -44400,7 +44508,7 @@ module.exports = function relinkPrivateKeys(toContainer, fromContainer) {
44400
44508
  }
44401
44509
  };
44402
44510
 
44403
- },{"./array":187,"./is_plain_object":202}],219:[function(_dereq_,module,exports){
44511
+ },{"./array":188,"./is_plain_object":203}],221:[function(_dereq_,module,exports){
44404
44512
  /**
44405
44513
  * Copyright 2012-2020, Plotly, Inc.
44406
44514
  * All rights reserved.
@@ -44605,7 +44713,7 @@ exports.findIndexOfMin = function(arr, fn) {
44605
44713
  return ind;
44606
44714
  };
44607
44715
 
44608
- },{"../constants/numerical":180,"./identity":199,"./loggers":205,"fast-isnumeric":11}],220:[function(_dereq_,module,exports){
44716
+ },{"../constants/numerical":181,"./identity":200,"./loggers":206,"fast-isnumeric":11}],222:[function(_dereq_,module,exports){
44609
44717
  /**
44610
44718
  * Copyright 2012-2020, Plotly, Inc.
44611
44719
  * All rights reserved.
@@ -44628,7 +44736,7 @@ module.exports = function setCursor(el3, csr) {
44628
44736
  if(csr) el3.classed('cursor-' + csr, true);
44629
44737
  };
44630
44738
 
44631
- },{}],221:[function(_dereq_,module,exports){
44739
+ },{}],223:[function(_dereq_,module,exports){
44632
44740
  /**
44633
44741
  * Copyright 2012-2020, Plotly, Inc.
44634
44742
  * All rights reserved.
@@ -44738,7 +44846,7 @@ exports.interp = function(arr, n) {
44738
44846
  return frac * arr[Math.ceil(n)] + (1 - frac) * arr[Math.floor(n)];
44739
44847
  };
44740
44848
 
44741
- },{"./array":187,"fast-isnumeric":11}],222:[function(_dereq_,module,exports){
44849
+ },{"./array":188,"fast-isnumeric":11}],224:[function(_dereq_,module,exports){
44742
44850
  /**
44743
44851
  * Copyright 2012-2020, Plotly, Inc.
44744
44852
  * All rights reserved.
@@ -45629,7 +45737,7 @@ exports.makeEditable = function(context, options) {
45629
45737
  return d3.rebind(context, dispatch, 'on');
45630
45738
  };
45631
45739
 
45632
- },{"../constants/alignment":176,"../constants/xmlns_namespaces":181,"../lib":201,"d3":9}],223:[function(_dereq_,module,exports){
45740
+ },{"../constants/alignment":177,"../constants/xmlns_namespaces":182,"../lib":202,"d3":9}],225:[function(_dereq_,module,exports){
45633
45741
  /**
45634
45742
  * Copyright 2012-2020, Plotly, Inc.
45635
45743
  * All rights reserved.
@@ -45732,7 +45840,7 @@ function _clearTimeout(cache) {
45732
45840
  }
45733
45841
  }
45734
45842
 
45735
- },{}],224:[function(_dereq_,module,exports){
45843
+ },{}],226:[function(_dereq_,module,exports){
45736
45844
  /**
45737
45845
  * Copyright 2012-2020, Plotly, Inc.
45738
45846
  * All rights reserved.
@@ -45760,7 +45868,7 @@ module.exports = function toLogRange(val, range) {
45760
45868
  return newVal;
45761
45869
  };
45762
45870
 
45763
- },{"fast-isnumeric":11}],225:[function(_dereq_,module,exports){
45871
+ },{"fast-isnumeric":11}],227:[function(_dereq_,module,exports){
45764
45872
  /**
45765
45873
  * Copyright 2012-2020, Plotly, Inc.
45766
45874
  * All rights reserved.
@@ -45782,7 +45890,7 @@ module.exports = {
45782
45890
  }
45783
45891
  };
45784
45892
 
45785
- },{}],226:[function(_dereq_,module,exports){
45893
+ },{}],228:[function(_dereq_,module,exports){
45786
45894
  /**
45787
45895
  * Copyright 2012-2020, Plotly, Inc.
45788
45896
  * All rights reserved.
@@ -45825,7 +45933,7 @@ module.exports = {
45825
45933
  }
45826
45934
  };
45827
45935
 
45828
- },{}],227:[function(_dereq_,module,exports){
45936
+ },{}],229:[function(_dereq_,module,exports){
45829
45937
  /**
45830
45938
  * Copyright 2012-2020, Plotly, Inc.
45831
45939
  * All rights reserved.
@@ -45883,7 +45991,7 @@ module.exports = function containerArrayMatch(astr) {
45883
45991
  return {array: arrayStr, index: Number(match[1]), property: match[3] || ''};
45884
45992
  };
45885
45993
 
45886
- },{"../registry":288}],228:[function(_dereq_,module,exports){
45994
+ },{"../registry":290}],230:[function(_dereq_,module,exports){
45887
45995
  /**
45888
45996
  * Copyright 2012-2020, Plotly, Inc.
45889
45997
  * All rights reserved.
@@ -46008,7 +46116,7 @@ function overrideOne(attr, editTypeOverride, overrideContainers, key) {
46008
46116
  }
46009
46117
  }
46010
46118
 
46011
- },{"../lib":201}],229:[function(_dereq_,module,exports){
46119
+ },{"../lib":202}],231:[function(_dereq_,module,exports){
46012
46120
  /**
46013
46121
  * Copyright 2012-2020, Plotly, Inc.
46014
46122
  * All rights reserved.
@@ -46710,7 +46818,7 @@ exports.clearAxisTypes = function(gd, traces, layoutUpdate) {
46710
46818
  }
46711
46819
  };
46712
46820
 
46713
- },{"../components/color":74,"../lib":201,"../plots/cartesian/axis_ids":249,"../plots/plots":280,"../registry":288,"fast-isnumeric":11,"gl-mat4/fromQuat":17}],230:[function(_dereq_,module,exports){
46821
+ },{"../components/color":75,"../lib":202,"../plots/cartesian/axis_ids":251,"../plots/plots":282,"../registry":290,"fast-isnumeric":11,"gl-mat4/fromQuat":17}],232:[function(_dereq_,module,exports){
46714
46822
  /**
46715
46823
  * Copyright 2012-2020, Plotly, Inc.
46716
46824
  * All rights reserved.
@@ -46753,7 +46861,7 @@ var templateApi = _dereq_('./template_api');
46753
46861
  exports.makeTemplate = templateApi.makeTemplate;
46754
46862
  exports.validateTemplate = templateApi.validateTemplate;
46755
46863
 
46756
- },{"../snapshot/download":290,"./plot_api":232,"./template_api":237,"./to_image":238,"./validate":239}],231:[function(_dereq_,module,exports){
46864
+ },{"../snapshot/download":292,"./plot_api":234,"./template_api":239,"./to_image":240,"./validate":241}],233:[function(_dereq_,module,exports){
46757
46865
  /**
46758
46866
  * Copyright 2012-2020, Plotly, Inc.
46759
46867
  * All rights reserved.
@@ -46966,7 +47074,7 @@ exports.applyContainerArrayChanges = function applyContainerArrayChanges(gd, np,
46966
47074
  return true;
46967
47075
  };
46968
47076
 
46969
- },{"../lib/is_plain_object":202,"../lib/loggers":205,"../lib/noop":210,"../lib/search":219,"../registry":288,"./container_array_match":227}],232:[function(_dereq_,module,exports){
47077
+ },{"../lib/is_plain_object":203,"../lib/loggers":206,"../lib/noop":211,"../lib/search":221,"../registry":290,"./container_array_match":229}],234:[function(_dereq_,module,exports){
46970
47078
  /**
46971
47079
  * Copyright 2012-2020, Plotly, Inc.
46972
47080
  * All rights reserved.
@@ -48917,7 +49025,9 @@ function axRangeSupplyDefaultsByPass(gd, flags, specs) {
48917
49025
  var axIn = gd.layout[axName];
48918
49026
  var axOut = fullLayout[axName];
48919
49027
  axOut.autorange = axIn.autorange;
48920
- axOut.range = axIn.range.slice();
49028
+ if(axIn.range) {
49029
+ axOut.range = axIn.range.slice();
49030
+ }
48921
49031
  axOut.cleanRange();
48922
49032
 
48923
49033
  if(axOut._matchGroup) {
@@ -49704,16 +49814,6 @@ function react(gd, data, layout, config) {
49704
49814
 
49705
49815
  applyUIRevisions(gd.data, gd.layout, oldFullData, oldFullLayout);
49706
49816
 
49707
- var allNames = Object.getOwnPropertyNames(oldFullLayout);
49708
- for(var q = 0; q < allNames.length; q++) {
49709
- var name = allNames[q];
49710
- var start = name.substring(0, 5);
49711
- if(start === 'xaxis' || start === 'yaxis') {
49712
- var emptyCategories = oldFullLayout[name]._emptyCategories;
49713
- if(emptyCategories) emptyCategories();
49714
- }
49715
- }
49716
-
49717
49817
  // "true" skips updating calcdata and remapping arrays from calcTransforms,
49718
49818
  // which supplyDefaults usually does at the end, but we may need to NOT do
49719
49819
  // if the diff (which we haven't determined yet) says we'll recalc
@@ -49739,10 +49839,22 @@ function react(gd, data, layout, config) {
49739
49839
 
49740
49840
  if(updateAutosize(gd)) relayoutFlags.layoutReplot = true;
49741
49841
 
49742
- // clear calcdata if required
49743
- if(restyleFlags.calc || relayoutFlags.calc) gd.calcdata = undefined;
49842
+ // clear calcdata and empty categories if required
49843
+ if(restyleFlags.calc || relayoutFlags.calc) {
49844
+ gd.calcdata = undefined;
49845
+ var allNames = Object.getOwnPropertyNames(newFullLayout);
49846
+ for(var q = 0; q < allNames.length; q++) {
49847
+ var name = allNames[q];
49848
+ var start = name.substring(0, 5);
49849
+ if(start === 'xaxis' || start === 'yaxis') {
49850
+ var emptyCategories = newFullLayout[name]._emptyCategories;
49851
+ if(emptyCategories) emptyCategories();
49852
+ }
49853
+ }
49744
49854
  // otherwise do the calcdata updates and calcTransform array remaps that we skipped earlier
49745
- else Plots.supplyDefaultsUpdateCalc(gd.calcdata, newFullData);
49855
+ } else {
49856
+ Plots.supplyDefaultsUpdateCalc(gd.calcdata, newFullData);
49857
+ }
49746
49858
 
49747
49859
  // Note: what restyle/relayout use impliedEdits and clearAxisTypes for
49748
49860
  // must be handled by the user when using Plotly.react.
@@ -50196,7 +50308,7 @@ function animate(gd, frameOrGroupNameOrFrameList, animationOpts) {
50196
50308
  }
50197
50309
 
50198
50310
  // Execute a callback after the wrapper function has been called n times.
50199
- // This is used to defer the resolution until a transition has resovled *and*
50311
+ // This is used to defer the resolution until a transition has resolved *and*
50200
50312
  // the frame has completed. If it's not done this way, then we get a race
50201
50313
  // condition in which the animation might resolve before a transition is complete
50202
50314
  // or vice versa.
@@ -50892,7 +51004,7 @@ exports._guiUpdate = guiEdit(update);
50892
51004
 
50893
51005
  exports._storeDirectGUIEdit = _storeDirectGUIEdit;
50894
51006
 
50895
- },{"../components/color":74,"../components/drawing":96,"../constants/xmlns_namespaces":181,"../lib":201,"../lib/events":194,"../lib/queue":215,"../lib/svg_text_utils":222,"../plots/cartesian/axes":246,"../plots/cartesian/constants":252,"../plots/cartesian/graph_interact":255,"../plots/cartesian/select":265,"../plots/plots":280,"../plots/polar/legacy":283,"../registry":288,"./edit_types":228,"./helpers":229,"./manage_arrays":231,"./plot_config":233,"./plot_schema":234,"./subroutines":236,"d3":9,"fast-isnumeric":11,"has-hover":42}],233:[function(_dereq_,module,exports){
51007
+ },{"../components/color":75,"../components/drawing":97,"../constants/xmlns_namespaces":182,"../lib":202,"../lib/events":195,"../lib/queue":217,"../lib/svg_text_utils":224,"../plots/cartesian/axes":248,"../plots/cartesian/constants":254,"../plots/cartesian/graph_interact":257,"../plots/cartesian/select":267,"../plots/plots":282,"../plots/polar/legacy":285,"../registry":290,"./edit_types":230,"./helpers":231,"./manage_arrays":233,"./plot_config":235,"./plot_schema":236,"./subroutines":238,"d3":9,"fast-isnumeric":11,"has-hover":42}],235:[function(_dereq_,module,exports){
50896
51008
  /**
50897
51009
  * Copyright 2012-2020, Plotly, Inc.
50898
51010
  * All rights reserved.
@@ -51207,7 +51319,7 @@ module.exports = {
51207
51319
  dfltConfig: dfltConfig
51208
51320
  };
51209
51321
 
51210
- },{}],234:[function(_dereq_,module,exports){
51322
+ },{}],236:[function(_dereq_,module,exports){
51211
51323
  /**
51212
51324
  * Copyright 2012-2020, Plotly, Inc.
51213
51325
  * All rights reserved.
@@ -51918,7 +52030,7 @@ function insertAttrs(baseAttrs, newAttrs, astr) {
51918
52030
  np.set(extendDeepAll(np.get() || {}, newAttrs));
51919
52031
  }
51920
52032
 
51921
- },{"../lib":201,"../plots/animation_attributes":240,"../plots/attributes":242,"../plots/frame_attributes":275,"../plots/layout_attributes":278,"../plots/polar/legacy/area_attributes":281,"../plots/polar/legacy/axis_attributes":282,"../registry":288,"./edit_types":228,"./plot_config":233}],235:[function(_dereq_,module,exports){
52033
+ },{"../lib":202,"../plots/animation_attributes":242,"../plots/attributes":244,"../plots/frame_attributes":277,"../plots/layout_attributes":280,"../plots/polar/legacy/area_attributes":283,"../plots/polar/legacy/axis_attributes":284,"../registry":290,"./edit_types":230,"./plot_config":235}],237:[function(_dereq_,module,exports){
51922
52034
  /**
51923
52035
  * Copyright 2012-2020, Plotly, Inc.
51924
52036
  * All rights reserved.
@@ -52230,7 +52342,7 @@ exports.arrayEditor = function(parentIn, containerStr, itemOut) {
52230
52342
  };
52231
52343
  };
52232
52344
 
52233
- },{"../lib":201,"../plots/attributes":242}],236:[function(_dereq_,module,exports){
52345
+ },{"../lib":202,"../plots/attributes":244}],238:[function(_dereq_,module,exports){
52234
52346
  /**
52235
52347
  * Copyright 2012-2020, Plotly, Inc.
52236
52348
  * All rights reserved.
@@ -52954,7 +53066,7 @@ exports.drawMarginPushers = function(gd) {
52954
53066
  Registry.getComponentMethod('colorbar', 'draw')(gd);
52955
53067
  };
52956
53068
 
52957
- },{"../components/color":74,"../components/drawing":96,"../components/modebar":134,"../components/titles":169,"../constants/alignment":176,"../lib":201,"../lib/clear_gl_canvases":189,"../plots/cartesian/autorange":245,"../plots/cartesian/axes":246,"../plots/cartesian/constraints":253,"../plots/plots":280,"../registry":288,"d3":9}],237:[function(_dereq_,module,exports){
53069
+ },{"../components/color":75,"../components/drawing":97,"../components/modebar":135,"../components/titles":170,"../constants/alignment":177,"../lib":202,"../lib/clear_gl_canvases":190,"../plots/cartesian/autorange":247,"../plots/cartesian/axes":248,"../plots/cartesian/constraints":255,"../plots/plots":282,"../registry":290,"d3":9}],239:[function(_dereq_,module,exports){
52958
53070
  /**
52959
53071
  * Copyright 2012-2020, Plotly, Inc.
52960
53072
  * All rights reserved.
@@ -53416,7 +53528,7 @@ function format(opts) {
53416
53528
  return opts;
53417
53529
  }
53418
53530
 
53419
- },{"../lib":201,"../plots/attributes":242,"../plots/plots":280,"./plot_config":233,"./plot_schema":234,"./plot_template":235}],238:[function(_dereq_,module,exports){
53531
+ },{"../lib":202,"../plots/attributes":244,"../plots/plots":282,"./plot_config":235,"./plot_schema":236,"./plot_template":237}],240:[function(_dereq_,module,exports){
53420
53532
  /**
53421
53533
  * Copyright 2012-2020, Plotly, Inc.
53422
53534
  * All rights reserved.
@@ -53637,7 +53749,7 @@ function toImage(gd, opts) {
53637
53749
 
53638
53750
  module.exports = toImage;
53639
53751
 
53640
- },{"../lib":201,"../plots/plots":280,"../snapshot/helpers":292,"../snapshot/svgtoimg":294,"../snapshot/tosvg":296,"../version":356,"./plot_api":232,"fast-isnumeric":11}],239:[function(_dereq_,module,exports){
53752
+ },{"../lib":202,"../plots/plots":282,"../snapshot/helpers":294,"../snapshot/svgtoimg":296,"../snapshot/tosvg":298,"../version":358,"./plot_api":234,"fast-isnumeric":11}],241:[function(_dereq_,module,exports){
53641
53753
  /**
53642
53754
  * Copyright 2012-2020, Plotly, Inc.
53643
53755
  * All rights reserved.
@@ -54068,7 +54180,7 @@ function convertPathToAttributeString(path) {
54068
54180
  return astr;
54069
54181
  }
54070
54182
 
54071
- },{"../lib":201,"../plots/plots":280,"./plot_config":233,"./plot_schema":234}],240:[function(_dereq_,module,exports){
54183
+ },{"../lib":202,"../plots/plots":282,"./plot_config":235,"./plot_schema":236}],242:[function(_dereq_,module,exports){
54072
54184
  /**
54073
54185
  * Copyright 2012-2020, Plotly, Inc.
54074
54186
  * All rights reserved.
@@ -54180,7 +54292,7 @@ module.exports = {
54180
54292
  }
54181
54293
  };
54182
54294
 
54183
- },{}],241:[function(_dereq_,module,exports){
54295
+ },{}],243:[function(_dereq_,module,exports){
54184
54296
  /**
54185
54297
  * Copyright 2012-2020, Plotly, Inc.
54186
54298
  * All rights reserved.
@@ -54275,7 +54387,7 @@ module.exports = function handleArrayContainerDefaults(parentObjIn, parentObjOut
54275
54387
  return contOut;
54276
54388
  };
54277
54389
 
54278
- },{"../lib":201,"../plot_api/plot_template":235}],242:[function(_dereq_,module,exports){
54390
+ },{"../lib":202,"../plot_api/plot_template":237}],244:[function(_dereq_,module,exports){
54279
54391
  /**
54280
54392
  * Copyright 2012-2020, Plotly, Inc.
54281
54393
  * All rights reserved.
@@ -54416,7 +54528,7 @@ module.exports = {
54416
54528
  }
54417
54529
  };
54418
54530
 
54419
- },{"../components/fx/attributes":105}],243:[function(_dereq_,module,exports){
54531
+ },{"../components/fx/attributes":106}],245:[function(_dereq_,module,exports){
54420
54532
  /**
54421
54533
  * Copyright 2012-2020, Plotly, Inc.
54422
54534
  * All rights reserved.
@@ -54508,7 +54620,7 @@ module.exports = function alignPeriod(trace, ax, axLetter, vals) {
54508
54620
  return newVals;
54509
54621
  };
54510
54622
 
54511
- },{"../../constants/numerical":180,"../../lib":201,"fast-isnumeric":11}],244:[function(_dereq_,module,exports){
54623
+ },{"../../constants/numerical":181,"../../lib":202,"fast-isnumeric":11}],246:[function(_dereq_,module,exports){
54512
54624
  /**
54513
54625
  * Copyright 2012-2020, Plotly, Inc.
54514
54626
  * All rights reserved.
@@ -54537,7 +54649,7 @@ module.exports = {
54537
54649
  }
54538
54650
  };
54539
54651
 
54540
- },{}],245:[function(_dereq_,module,exports){
54652
+ },{}],247:[function(_dereq_,module,exports){
54541
54653
  /**
54542
54654
  * Copyright 2012-2020, Plotly, Inc.
54543
54655
  * All rights reserved.
@@ -54554,7 +54666,9 @@ var Lib = _dereq_('../../lib');
54554
54666
  var FP_SAFE = _dereq_('../../constants/numerical').FP_SAFE;
54555
54667
  var Registry = _dereq_('../../registry');
54556
54668
 
54557
- var getFromId = _dereq_('./axis_ids').getFromId;
54669
+ var axIds = _dereq_('./axis_ids');
54670
+ var getFromId = axIds.getFromId;
54671
+ var isLinked = axIds.isLinked;
54558
54672
 
54559
54673
  module.exports = {
54560
54674
  getAutoRange: getAutoRange,
@@ -54596,8 +54710,9 @@ function getAutoRange(gd, ax) {
54596
54710
  var i, j;
54597
54711
  var newRange = [];
54598
54712
 
54599
- var getPadMin = makePadFn(ax, 0);
54600
- var getPadMax = makePadFn(ax, 1);
54713
+ var fullLayout = gd._fullLayout;
54714
+ var getPadMin = makePadFn(fullLayout, ax, 0);
54715
+ var getPadMax = makePadFn(fullLayout, ax, 1);
54601
54716
  var extremes = concatExtremes(gd, ax);
54602
54717
  var minArray = extremes.min;
54603
54718
  var maxArray = extremes.max;
@@ -54657,8 +54772,8 @@ function getAutoRange(gd, ax) {
54657
54772
  } else if(dv / axLen > mbest) {
54658
54773
  // in case of padding longer than the axis
54659
54774
  // at least include the unpadded data values.
54660
- minbest = {val: minpt.val, pad: 0};
54661
- maxbest = {val: maxpt.val, pad: 0};
54775
+ minbest = {val: minpt.val, nopad: 1};
54776
+ maxbest = {val: maxpt.val, nopad: 1};
54662
54777
  mbest = dv / axLen;
54663
54778
  }
54664
54779
  }
@@ -54695,17 +54810,17 @@ function getAutoRange(gd, ax) {
54695
54810
  } else {
54696
54811
  if(toZero) {
54697
54812
  if(minbest.val >= 0) {
54698
- minbest = {val: 0, pad: 0};
54813
+ minbest = {val: 0, nopad: 1};
54699
54814
  }
54700
54815
  if(maxbest.val <= 0) {
54701
- maxbest = {val: 0, pad: 0};
54816
+ maxbest = {val: 0, nopad: 1};
54702
54817
  }
54703
54818
  } else if(nonNegative) {
54704
54819
  if(minbest.val - mbest * getPadMin(minbest) < 0) {
54705
- minbest = {val: 0, pad: 0};
54820
+ minbest = {val: 0, nopad: 1};
54706
54821
  }
54707
54822
  if(maxbest.val <= 0) {
54708
- maxbest = {val: 1, pad: 0};
54823
+ maxbest = {val: 1, nopad: 1};
54709
54824
  }
54710
54825
  }
54711
54826
 
@@ -54742,13 +54857,15 @@ function calcBreaksLength(ax, v0, v1) {
54742
54857
  * calculate the pixel padding for ax._min and ax._max entries with
54743
54858
  * optional extrapad as 5% of the total axis length
54744
54859
  */
54745
- function makePadFn(ax, max) {
54860
+ function makePadFn(fullLayout, ax, max) {
54746
54861
  // 5% padding for points that specify extrapad: true
54747
54862
  var extrappad = 0.05 * ax._length;
54748
54863
 
54864
+ var anchorAxis = ax._anchorAxis || {};
54865
+
54749
54866
  if(
54750
54867
  (ax.ticklabelposition || '').indexOf('inside') !== -1 ||
54751
- ((ax._anchorAxis || {}).ticklabelposition || '').indexOf('inside') !== -1
54868
+ (anchorAxis.ticklabelposition || '').indexOf('inside') !== -1
54752
54869
  ) {
54753
54870
  var axReverse = ax.autorange === 'reversed';
54754
54871
  if(!axReverse) {
@@ -54758,8 +54875,11 @@ function makePadFn(ax, max) {
54758
54875
  if(axReverse) max = !max;
54759
54876
  }
54760
54877
 
54761
- extrappad = adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max);
54762
- extrappad = adjustPadForInsideLabelsOnThisAxis(extrappad, ax, max);
54878
+ var zero = 0;
54879
+ if(!isLinked(fullLayout, ax._id)) {
54880
+ zero = padInsideLabelsOnAnchorAxis(ax, max);
54881
+ }
54882
+ extrappad = Math.max(zero, extrappad);
54763
54883
 
54764
54884
  // domain-constrained axes: base extrappad on the unconstrained
54765
54885
  // domain so it's consistent as the domain changes
@@ -54768,50 +54888,17 @@ function makePadFn(ax, max) {
54768
54888
  (ax.domain[1] - ax.domain[0]);
54769
54889
  }
54770
54890
 
54771
- return function getPad(pt) { return pt.pad + (pt.extrapad ? extrappad : 0); };
54891
+ return function getPad(pt) {
54892
+ if(pt.nopad) return 0;
54893
+ return pt.pad + (pt.extrapad ? extrappad : zero);
54894
+ };
54772
54895
  }
54773
54896
 
54774
54897
  var TEXTPAD = 3;
54775
54898
 
54776
- function adjustPadForInsideLabelsOnThisAxis(extrappad, ax, max) {
54777
- var ticklabelposition = ax.ticklabelposition || '';
54778
- var has = function(str) {
54779
- return ticklabelposition.indexOf(str) !== -1;
54780
- };
54781
-
54782
- if(!has('inside')) return extrappad;
54783
- var isTop = has('top');
54784
- var isLeft = has('left');
54785
- var isRight = has('right');
54786
- var isBottom = has('bottom');
54787
- var isAligned = isBottom || isLeft || isTop || isRight;
54788
-
54789
- if(
54790
- (max && (isLeft || isBottom)) ||
54791
- (!max && (isRight || isTop))
54792
- ) {
54793
- return extrappad;
54794
- }
54795
-
54796
- // increase padding to make more room for inside tick labels of the axis
54797
- var fontSize = ax.tickfont ? ax.tickfont.size : 12;
54798
- var isX = ax._id.charAt(0) === 'x';
54799
- var morePad = (isX ? 1.2 : 0.6) * fontSize;
54800
-
54801
- if(isAligned) {
54802
- morePad *= 2;
54803
- morePad += (ax.tickwidth || 0) / 2;
54804
- }
54805
-
54806
- morePad += TEXTPAD;
54807
-
54808
- extrappad = Math.max(extrappad, morePad);
54809
-
54810
- return extrappad;
54811
- }
54812
-
54813
- function adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max) {
54814
- var anchorAxis = (ax._anchorAxis || {});
54899
+ function padInsideLabelsOnAnchorAxis(ax, max) {
54900
+ var pad = 0;
54901
+ var anchorAxis = ax._anchorAxis || {};
54815
54902
  if((anchorAxis.ticklabelposition || '').indexOf('inside') !== -1) {
54816
54903
  // increase padding to make more room for inside tick labels of the counter axis
54817
54904
  if((
@@ -54827,7 +54914,6 @@ function adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max) {
54827
54914
  )) {
54828
54915
  var isX = ax._id.charAt(0) === 'x';
54829
54916
 
54830
- var morePad = 0;
54831
54917
  if(anchorAxis._vals) {
54832
54918
  var rad = Lib.deg2rad(anchorAxis._tickAngles[anchorAxis._id + 'tick'] || 0);
54833
54919
  var cosA = Math.abs(Math.cos(rad));
@@ -54836,29 +54922,24 @@ function adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max) {
54836
54922
  // use bounding boxes
54837
54923
  anchorAxis._vals.forEach(function(t) {
54838
54924
  if(t.bb) {
54839
- var w = t.bb.width;
54840
- var h = t.bb.height;
54925
+ var w = 2 * TEXTPAD + t.bb.width;
54926
+ var h = 2 * TEXTPAD + t.bb.height;
54841
54927
 
54842
- morePad = Math.max(morePad, isX ?
54928
+ pad = Math.max(pad, isX ?
54843
54929
  Math.max(w * cosA, h * sinA) :
54844
54930
  Math.max(h * cosA, w * sinA)
54845
54931
  );
54846
-
54847
- // add extra pad around label
54848
- morePad += 3;
54849
54932
  }
54850
54933
  });
54851
54934
  }
54852
54935
 
54853
54936
  if(anchorAxis.ticks === 'inside' && anchorAxis.ticklabelposition === 'inside') {
54854
- morePad += anchorAxis.ticklen || 0;
54937
+ pad += anchorAxis.ticklen || 0;
54855
54938
  }
54856
-
54857
- extrappad = Math.max(extrappad, morePad);
54858
54939
  }
54859
54940
  }
54860
54941
 
54861
- return extrappad;
54942
+ return pad;
54862
54943
  }
54863
54944
 
54864
54945
  function concatExtremes(gd, ax, noMatch) {
@@ -55177,7 +55258,7 @@ function goodNumber(v) {
55177
55258
  function lessOrEqual(v0, v1) { return v0 <= v1; }
55178
55259
  function greaterOrEqual(v0, v1) { return v0 >= v1; }
55179
55260
 
55180
- },{"../../constants/numerical":180,"../../lib":201,"../../registry":288,"./axis_ids":249,"fast-isnumeric":11}],246:[function(_dereq_,module,exports){
55261
+ },{"../../constants/numerical":181,"../../lib":202,"../../registry":290,"./axis_ids":251,"fast-isnumeric":11}],248:[function(_dereq_,module,exports){
55181
55262
  /**
55182
55263
  * Copyright 2012-2020, Plotly, Inc.
55183
55264
  * All rights reserved.
@@ -55236,6 +55317,10 @@ axes.setConvert = _dereq_('./set_convert');
55236
55317
  var autoType = _dereq_('./axis_autotype');
55237
55318
 
55238
55319
  var axisIds = _dereq_('./axis_ids');
55320
+ var idSort = axisIds.idSort;
55321
+ var isLinked = axisIds.isLinked;
55322
+
55323
+ // tight coupling to chart studio
55239
55324
  axes.id2name = axisIds.id2name;
55240
55325
  axes.name2id = axisIds.name2id;
55241
55326
  axes.cleanId = axisIds.cleanId;
@@ -56625,9 +56710,23 @@ function formatDate(ax, out, hover, extraPrecision) {
56625
56710
  // except for year headPart: turn this into "Jan 1, 2000" etc.
56626
56711
  if(tr === 'd') dateStr += ', ' + headStr;
56627
56712
  else dateStr = headStr + (dateStr ? ', ' + dateStr : '');
56628
- } else if(!ax._inCalcTicks || (headStr !== ax._prevDateHead)) {
56629
- dateStr += '<br>' + headStr;
56630
- ax._prevDateHead = headStr;
56713
+ } else {
56714
+ if(
56715
+ !ax._inCalcTicks ||
56716
+ ax._prevDateHead !== headStr
56717
+ ) {
56718
+ ax._prevDateHead = headStr;
56719
+ dateStr += '<br>' + headStr;
56720
+ } else {
56721
+ var isInside = (ax.ticklabelposition || '').indexOf('inside') !== -1;
56722
+ var side = ax._realSide || ax.side; // polar mocks the side of the radial axis
56723
+ if(
56724
+ (!isInside && side === 'top') ||
56725
+ (isInside && side === 'bottom')
56726
+ ) {
56727
+ dateStr += '<br> ';
56728
+ }
56729
+ }
56631
56730
  }
56632
56731
  }
56633
56732
 
@@ -58073,7 +58172,7 @@ axes.drawZeroLine = function(gd, ax, opts) {
58073
58172
  // If several zerolines enter at the same time we will sort once per,
58074
58173
  // but generally this should be a minimal overhead.
58075
58174
  opts.layer.selectAll('path').sort(function(da, db) {
58076
- return axisIds.idSort(da.id, db.id);
58175
+ return idSort(da.id, db.id);
58077
58176
  });
58078
58177
  });
58079
58178
 
@@ -58371,7 +58470,8 @@ axes.drawLabels = function(gd, ax, opts) {
58371
58470
  var anchorAx = ax._anchorAxis;
58372
58471
  if(
58373
58472
  anchorAx && anchorAx.autorange &&
58374
- (ax.ticklabelposition || '').indexOf('inside') !== -1
58473
+ (ax.ticklabelposition || '').indexOf('inside') !== -1 &&
58474
+ !isLinked(fullLayout, ax._id)
58375
58475
  ) {
58376
58476
  if(!fullLayout._insideTickLabelsAutorange) {
58377
58477
  fullLayout._insideTickLabelsAutorange = {};
@@ -58514,27 +58614,36 @@ function drawTitle(gd, ax) {
58514
58614
  var axId = ax._id;
58515
58615
  var axLetter = axId.charAt(0);
58516
58616
  var fontSize = ax.title.font.size;
58517
-
58518
58617
  var titleStandoff;
58519
58618
 
58520
58619
  if(ax.title.hasOwnProperty('standoff')) {
58521
58620
  titleStandoff = ax._depth + ax.title.standoff + approxTitleDepth(ax);
58522
58621
  } else {
58622
+ var isInside = (ax.ticklabelposition || '').indexOf('inside') !== -1;
58623
+
58523
58624
  if(ax.type === 'multicategory') {
58524
58625
  titleStandoff = ax._depth;
58525
58626
  } else {
58526
- var offsetBase = 1.5;
58527
- titleStandoff = 10 + fontSize * offsetBase + (ax.linewidth ? ax.linewidth - 1 : 0);
58627
+ var offsetBase = 1.5 * fontSize;
58628
+ if(isInside) {
58629
+ offsetBase = 0.5 * fontSize;
58630
+ if(ax.ticks === 'outside') {
58631
+ offsetBase += ax.ticklen;
58632
+ }
58633
+ }
58634
+ titleStandoff = 10 + offsetBase + (ax.linewidth ? ax.linewidth - 1 : 0);
58528
58635
  }
58529
58636
 
58530
- if(axLetter === 'x') {
58531
- titleStandoff += ax.side === 'top' ?
58532
- fontSize * (ax.showticklabels ? 1 : 0) :
58533
- fontSize * (ax.showticklabels ? 1.5 : 0.5);
58534
- } else {
58535
- titleStandoff += ax.side === 'right' ?
58536
- fontSize * (ax.showticklabels ? 1 : 0.5) :
58537
- fontSize * (ax.showticklabels ? 0.5 : 0);
58637
+ if(!isInside) {
58638
+ if(axLetter === 'x') {
58639
+ titleStandoff += ax.side === 'top' ?
58640
+ fontSize * (ax.showticklabels ? 1 : 0) :
58641
+ fontSize * (ax.showticklabels ? 1.5 : 0.5);
58642
+ } else {
58643
+ titleStandoff += ax.side === 'right' ?
58644
+ fontSize * (ax.showticklabels ? 1 : 0.5) :
58645
+ fontSize * (ax.showticklabels ? 0.5 : 0);
58646
+ }
58538
58647
  }
58539
58648
  }
58540
58649
 
@@ -58869,7 +58978,7 @@ function moveOutsideBreak(v, ax) {
58869
58978
  return v;
58870
58979
  }
58871
58980
 
58872
- },{"../../components/color":74,"../../components/drawing":96,"../../components/titles":169,"../../constants/alignment":176,"../../constants/numerical":180,"../../lib":201,"../../lib/svg_text_utils":222,"../../plots/plots":280,"../../registry":288,"./autorange":245,"./axis_autotype":247,"./axis_ids":249,"./clean_ticks":251,"./layout_attributes":260,"./set_convert":266,"d3":9,"fast-isnumeric":11}],247:[function(_dereq_,module,exports){
58981
+ },{"../../components/color":75,"../../components/drawing":97,"../../components/titles":170,"../../constants/alignment":177,"../../constants/numerical":181,"../../lib":202,"../../lib/svg_text_utils":224,"../../plots/plots":282,"../../registry":290,"./autorange":247,"./axis_autotype":249,"./axis_ids":251,"./clean_ticks":253,"./layout_attributes":262,"./set_convert":268,"d3":9,"fast-isnumeric":11}],249:[function(_dereq_,module,exports){
58873
58982
  /**
58874
58983
  * Copyright 2012-2020, Plotly, Inc.
58875
58984
  * All rights reserved.
@@ -59000,7 +59109,7 @@ function multiCategory(a) {
59000
59109
  return isArrayOrTypedArray(a[0]) && isArrayOrTypedArray(a[1]);
59001
59110
  }
59002
59111
 
59003
- },{"../../constants/numerical":180,"../../lib":201,"fast-isnumeric":11}],248:[function(_dereq_,module,exports){
59112
+ },{"../../constants/numerical":181,"../../lib":202,"fast-isnumeric":11}],250:[function(_dereq_,module,exports){
59004
59113
  /**
59005
59114
  * Copyright 2012-2020, Plotly, Inc.
59006
59115
  * All rights reserved.
@@ -59308,7 +59417,7 @@ function indexOfDay(v) {
59308
59417
  ];
59309
59418
  }
59310
59419
 
59311
- },{"../../lib":201,"../../registry":288,"../array_container_defaults":241,"./category_order_defaults":250,"./constants":252,"./layout_attributes":260,"./line_grid_defaults":262,"./set_convert":266,"./tick_label_defaults":267,"./tick_mark_defaults":268,"./tick_value_defaults":269,"fast-isnumeric":11}],249:[function(_dereq_,module,exports){
59420
+ },{"../../lib":202,"../../registry":290,"../array_container_defaults":243,"./category_order_defaults":252,"./constants":254,"./layout_attributes":262,"./line_grid_defaults":264,"./set_convert":268,"./tick_label_defaults":269,"./tick_mark_defaults":270,"./tick_value_defaults":271,"fast-isnumeric":11}],251:[function(_dereq_,module,exports){
59312
59421
  /**
59313
59422
  * Copyright 2012-2020, Plotly, Inc.
59314
59423
  * All rights reserved.
@@ -59448,7 +59557,23 @@ exports.ref2id = function(ar) {
59448
59557
  return (/^[xyz]/.test(ar)) ? ar.split(' ')[0] : false;
59449
59558
  };
59450
59559
 
59451
- },{"../../registry":288,"./constants":252}],250:[function(_dereq_,module,exports){
59560
+ function isFound(axId, list) {
59561
+ if(list && list.length) {
59562
+ for(var i = 0; i < list.length; i++) {
59563
+ if(list[i][axId]) return true;
59564
+ }
59565
+ }
59566
+ return false;
59567
+ }
59568
+
59569
+ exports.isLinked = function(fullLayout, axId) {
59570
+ return (
59571
+ isFound(axId, fullLayout._axisMatchGroups) ||
59572
+ isFound(axId, fullLayout._axisConstraintGroups)
59573
+ );
59574
+ };
59575
+
59576
+ },{"../../registry":290,"./constants":254}],252:[function(_dereq_,module,exports){
59452
59577
  /**
59453
59578
  * Copyright 2012-2020, Plotly, Inc.
59454
59579
  * All rights reserved.
@@ -59542,7 +59667,7 @@ module.exports = function handleCategoryOrderDefaults(containerIn, containerOut,
59542
59667
  }
59543
59668
  };
59544
59669
 
59545
- },{}],251:[function(_dereq_,module,exports){
59670
+ },{}],253:[function(_dereq_,module,exports){
59546
59671
  /**
59547
59672
  * Copyright 2012-2020, Plotly, Inc.
59548
59673
  * All rights reserved.
@@ -59634,7 +59759,7 @@ exports.tick0 = function(tick0, axType, calendar, dtick) {
59634
59759
  return isNumeric(tick0) ? Number(tick0) : 0;
59635
59760
  };
59636
59761
 
59637
- },{"../../constants/numerical":180,"../../lib":201,"fast-isnumeric":11}],252:[function(_dereq_,module,exports){
59762
+ },{"../../constants/numerical":181,"../../lib":202,"fast-isnumeric":11}],254:[function(_dereq_,module,exports){
59638
59763
  /**
59639
59764
  * Copyright 2012-2020, Plotly, Inc.
59640
59765
  * All rights reserved.
@@ -59726,7 +59851,7 @@ module.exports = {
59726
59851
  }
59727
59852
  };
59728
59853
 
59729
- },{"../../lib/regex":216}],253:[function(_dereq_,module,exports){
59854
+ },{"../../lib/regex":218}],255:[function(_dereq_,module,exports){
59730
59855
  /**
59731
59856
  * Copyright 2012-2020, Plotly, Inc.
59732
59857
  * All rights reserved.
@@ -60294,8 +60419,8 @@ exports.enforce = function enforce(gd) {
60294
60419
  // *are* expanding to the full domain
60295
60420
  var outerMin = rangeCenter - halfRange * factor * 1.0001;
60296
60421
  var outerMax = rangeCenter + halfRange * factor * 1.0001;
60297
- var getPadMin = autorange.makePadFn(ax, 0);
60298
- var getPadMax = autorange.makePadFn(ax, 1);
60422
+ var getPadMin = autorange.makePadFn(fullLayout, ax, 0);
60423
+ var getPadMax = autorange.makePadFn(fullLayout, ax, 1);
60299
60424
 
60300
60425
  updateDomain(ax, factor);
60301
60426
  var m = Math.abs(ax._m);
@@ -60377,7 +60502,7 @@ function updateDomain(ax, factor) {
60377
60502
  ax.setScale();
60378
60503
  }
60379
60504
 
60380
- },{"../../constants/alignment":176,"../../constants/numerical":180,"../../lib":201,"./autorange":245,"./axis_ids":249,"./layout_attributes":260,"./scale_zoom":264,"./set_convert":266}],254:[function(_dereq_,module,exports){
60505
+ },{"../../constants/alignment":177,"../../constants/numerical":181,"../../lib":202,"./autorange":247,"./axis_ids":251,"./layout_attributes":262,"./scale_zoom":266,"./set_convert":268}],256:[function(_dereq_,module,exports){
60381
60506
  /**
60382
60507
  * Copyright 2012-2020, Plotly, Inc.
60383
60508
  * All rights reserved.
@@ -61715,7 +61840,7 @@ module.exports = {
61715
61840
  attachWheelEventHandler: attachWheelEventHandler
61716
61841
  };
61717
61842
 
61718
- },{"../../components/color":74,"../../components/dragelement":93,"../../components/dragelement/helpers":92,"../../components/drawing":96,"../../components/fx":114,"../../constants/alignment":176,"../../lib":201,"../../lib/clear_gl_canvases":189,"../../lib/setcursor":220,"../../lib/svg_text_utils":222,"../../plot_api/subroutines":236,"../../registry":288,"../plots":280,"./axes":246,"./axis_ids":249,"./constants":252,"./scale_zoom":264,"./select":265,"d3":9,"has-passive-events":43,"tinycolor2":57}],255:[function(_dereq_,module,exports){
61843
+ },{"../../components/color":75,"../../components/dragelement":94,"../../components/dragelement/helpers":93,"../../components/drawing":97,"../../components/fx":115,"../../constants/alignment":177,"../../lib":202,"../../lib/clear_gl_canvases":190,"../../lib/setcursor":222,"../../lib/svg_text_utils":224,"../../plot_api/subroutines":238,"../../registry":290,"../plots":282,"./axes":248,"./axis_ids":251,"./constants":254,"./scale_zoom":266,"./select":267,"d3":9,"has-passive-events":43,"tinycolor2":58}],257:[function(_dereq_,module,exports){
61719
61844
  /**
61720
61845
  * Copyright 2012-2020, Plotly, Inc.
61721
61846
  * All rights reserved.
@@ -61883,7 +62008,7 @@ exports.updateFx = function(gd) {
61883
62008
  setCursor(fullLayout._draggers, cursor);
61884
62009
  };
61885
62010
 
61886
- },{"../../components/dragelement":93,"../../components/fx":114,"../../lib/setcursor":220,"./constants":252,"./dragbox":254,"d3":9}],256:[function(_dereq_,module,exports){
62011
+ },{"../../components/dragelement":94,"../../components/fx":115,"../../lib/setcursor":222,"./constants":254,"./dragbox":256,"d3":9}],258:[function(_dereq_,module,exports){
61887
62012
  /**
61888
62013
  * Copyright 2012-2020, Plotly, Inc.
61889
62014
  * All rights reserved.
@@ -61919,7 +62044,7 @@ module.exports = {
61919
62044
  clearSelect: clearSelect
61920
62045
  };
61921
62046
 
61922
- },{}],257:[function(_dereq_,module,exports){
62047
+ },{}],259:[function(_dereq_,module,exports){
61923
62048
  /**
61924
62049
  * Copyright 2012-2020, Plotly, Inc.
61925
62050
  * All rights reserved.
@@ -61976,7 +62101,7 @@ module.exports = {
61976
62101
  getTransform: getTransform
61977
62102
  };
61978
62103
 
61979
- },{"../../lib":201}],258:[function(_dereq_,module,exports){
62104
+ },{"../../lib":202}],260:[function(_dereq_,module,exports){
61980
62105
  /**
61981
62106
  * Copyright 2012-2020, Plotly, Inc.
61982
62107
  * All rights reserved.
@@ -62054,7 +62179,7 @@ module.exports = function makeIncludeComponents(containerArrayName) {
62054
62179
  };
62055
62180
  };
62056
62181
 
62057
- },{"../../lib":201,"../../registry":288,"./axis_ids":249}],259:[function(_dereq_,module,exports){
62182
+ },{"../../lib":202,"../../registry":290,"./axis_ids":251}],261:[function(_dereq_,module,exports){
62058
62183
  /**
62059
62184
  * Copyright 2012-2020, Plotly, Inc.
62060
62185
  * All rights reserved.
@@ -62672,7 +62797,7 @@ exports.toSVG = function(gd) {
62672
62797
 
62673
62798
  exports.updateFx = _dereq_('./graph_interact').updateFx;
62674
62799
 
62675
- },{"../../components/drawing":96,"../../constants/xmlns_namespaces":181,"../../lib":201,"../../registry":288,"../get_data":276,"../plots":280,"./attributes":244,"./axis_ids":249,"./constants":252,"./graph_interact":255,"./layout_attributes":260,"./layout_defaults":261,"./transition_axes":270,"d3":9}],260:[function(_dereq_,module,exports){
62800
+ },{"../../components/drawing":97,"../../constants/xmlns_namespaces":182,"../../lib":202,"../../registry":290,"../get_data":278,"../plots":282,"./attributes":246,"./axis_ids":251,"./constants":254,"./graph_interact":257,"./layout_attributes":262,"./layout_defaults":263,"./transition_axes":272,"d3":9}],262:[function(_dereq_,module,exports){
62676
62801
  /**
62677
62802
  * Copyright 2012-2020, Plotly, Inc.
62678
62803
  * All rights reserved.
@@ -63392,7 +63517,7 @@ module.exports = {
63392
63517
  }
63393
63518
  };
63394
63519
 
63395
- },{"../../components/color/attributes":73,"../../components/drawing/attributes":95,"../../constants/docs":178,"../../constants/numerical":180,"../../lib/extend":195,"../../plot_api/plot_template":235,"../font_attributes":274,"./constants":252}],261:[function(_dereq_,module,exports){
63520
+ },{"../../components/color/attributes":74,"../../components/drawing/attributes":96,"../../constants/docs":179,"../../constants/numerical":181,"../../lib/extend":196,"../../plot_api/plot_template":237,"../font_attributes":276,"./constants":254}],263:[function(_dereq_,module,exports){
63396
63521
  /**
63397
63522
  * Copyright 2012-2020, Plotly, Inc.
63398
63523
  * All rights reserved.
@@ -63779,7 +63904,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {
63779
63904
  });
63780
63905
  };
63781
63906
 
63782
- },{"../../components/color":74,"../../components/fx/helpers":110,"../../components/fx/hovermode_defaults":113,"../../lib":201,"../../plot_api/plot_template":235,"../../registry":288,"../layout_attributes":278,"./axis_defaults":248,"./axis_ids":249,"./constants":252,"./constraints":253,"./layout_attributes":260,"./position_defaults":263,"./type_defaults":271}],262:[function(_dereq_,module,exports){
63907
+ },{"../../components/color":75,"../../components/fx/helpers":111,"../../components/fx/hovermode_defaults":114,"../../lib":202,"../../plot_api/plot_template":237,"../../registry":290,"../layout_attributes":280,"./axis_defaults":250,"./axis_ids":251,"./constants":254,"./constraints":255,"./layout_attributes":262,"./position_defaults":265,"./type_defaults":273}],264:[function(_dereq_,module,exports){
63783
63908
  /**
63784
63909
  * Copyright 2012-2020, Plotly, Inc.
63785
63910
  * All rights reserved.
@@ -63844,7 +63969,7 @@ module.exports = function handleLineGridDefaults(containerIn, containerOut, coer
63844
63969
  }
63845
63970
  };
63846
63971
 
63847
- },{"../../components/color/attributes":73,"../../lib":201,"tinycolor2":57}],263:[function(_dereq_,module,exports){
63972
+ },{"../../components/color/attributes":74,"../../lib":202,"tinycolor2":58}],265:[function(_dereq_,module,exports){
63848
63973
  /**
63849
63974
  * Copyright 2012-2020, Plotly, Inc.
63850
63975
  * All rights reserved.
@@ -63932,7 +64057,7 @@ module.exports = function handlePositionDefaults(containerIn, containerOut, coer
63932
64057
  return containerOut;
63933
64058
  };
63934
64059
 
63935
- },{"../../lib":201,"fast-isnumeric":11}],264:[function(_dereq_,module,exports){
64060
+ },{"../../lib":202,"fast-isnumeric":11}],266:[function(_dereq_,module,exports){
63936
64061
  /**
63937
64062
  * Copyright 2012-2020, Plotly, Inc.
63938
64063
  * All rights reserved.
@@ -63961,7 +64086,7 @@ module.exports = function scaleZoom(ax, factor, centerFraction) {
63961
64086
  ax.setScale();
63962
64087
  };
63963
64088
 
63964
- },{"../../constants/alignment":176}],265:[function(_dereq_,module,exports){
64089
+ },{"../../constants/alignment":177}],267:[function(_dereq_,module,exports){
63965
64090
  /**
63966
64091
  * Copyright 2012-2020, Plotly, Inc.
63967
64092
  * All rights reserved.
@@ -64904,7 +65029,7 @@ module.exports = {
64904
65029
  selectOnClick: selectOnClick
64905
65030
  };
64906
65031
 
64907
- },{"../../components/color":74,"../../components/dragelement/helpers":92,"../../components/drawing":96,"../../components/fx":114,"../../components/fx/helpers":110,"../../components/shapes/draw_newshape/display_outlines":159,"../../components/shapes/draw_newshape/helpers":160,"../../components/shapes/draw_newshape/newshapes":161,"../../lib":201,"../../lib/clear_gl_canvases":189,"../../lib/polygon":213,"../../lib/throttle":223,"../../plot_api/subroutines":236,"../../registry":288,"./axis_ids":249,"./constants":252,"./handle_outline":256,"./helpers":257,"polybooljs":48}],266:[function(_dereq_,module,exports){
65032
+ },{"../../components/color":75,"../../components/dragelement/helpers":93,"../../components/drawing":97,"../../components/fx":115,"../../components/fx/helpers":111,"../../components/shapes/draw_newshape/display_outlines":160,"../../components/shapes/draw_newshape/helpers":161,"../../components/shapes/draw_newshape/newshapes":162,"../../lib":202,"../../lib/clear_gl_canvases":190,"../../lib/polygon":214,"../../lib/throttle":225,"../../plot_api/subroutines":238,"../../registry":290,"./axis_ids":251,"./constants":254,"./handle_outline":258,"./helpers":259,"polybooljs":49}],268:[function(_dereq_,module,exports){
64908
65033
  /**
64909
65034
  * Copyright 2012-2020, Plotly, Inc.
64910
65035
  * All rights reserved.
@@ -65862,7 +65987,7 @@ module.exports = function setConvert(ax, fullLayout) {
65862
65987
  delete ax._forceTick0;
65863
65988
  };
65864
65989
 
65865
- },{"../../constants/numerical":180,"../../lib":201,"./axis_ids":249,"./constants":252,"d3":9,"d3-time-format":7,"fast-isnumeric":11}],267:[function(_dereq_,module,exports){
65990
+ },{"../../constants/numerical":181,"../../lib":202,"./axis_ids":251,"./constants":254,"d3":9,"d3-time-format":7,"fast-isnumeric":11}],269:[function(_dereq_,module,exports){
65866
65991
  /**
65867
65992
  * Copyright 2012-2020, Plotly, Inc.
65868
65993
  * All rights reserved.
@@ -65989,7 +66114,7 @@ function tickformatstopDefaults(valueIn, valueOut) {
65989
66114
  }
65990
66115
  }
65991
66116
 
65992
- },{"../../components/color":74,"../../lib":201,"../array_container_defaults":241,"./layout_attributes":260}],268:[function(_dereq_,module,exports){
66117
+ },{"../../components/color":75,"../../lib":202,"../array_container_defaults":243,"./layout_attributes":262}],270:[function(_dereq_,module,exports){
65993
66118
  /**
65994
66119
  * Copyright 2012-2020, Plotly, Inc.
65995
66120
  * All rights reserved.
@@ -66022,7 +66147,7 @@ module.exports = function handleTickDefaults(containerIn, containerOut, coerce,
66022
66147
  }
66023
66148
  };
66024
66149
 
66025
- },{"../../lib":201,"./layout_attributes":260}],269:[function(_dereq_,module,exports){
66150
+ },{"../../lib":202,"./layout_attributes":262}],271:[function(_dereq_,module,exports){
66026
66151
  /**
66027
66152
  * Copyright 2012-2020, Plotly, Inc.
66028
66153
  * All rights reserved.
@@ -66069,7 +66194,7 @@ module.exports = function handleTickValueDefaults(containerIn, containerOut, coe
66069
66194
  }
66070
66195
  };
66071
66196
 
66072
- },{"../../lib":201,"./clean_ticks":251}],270:[function(_dereq_,module,exports){
66197
+ },{"../../lib":202,"./clean_ticks":253}],272:[function(_dereq_,module,exports){
66073
66198
  /**
66074
66199
  * Copyright 2012-2020, Plotly, Inc.
66075
66200
  * All rights reserved.
@@ -66282,7 +66407,7 @@ module.exports = function transitionAxes(gd, edits, transitionOpts, makeOnComple
66282
66407
  return Promise.resolve();
66283
66408
  };
66284
66409
 
66285
- },{"../../components/drawing":96,"../../lib":201,"../../registry":288,"./axes":246,"d3":9}],271:[function(_dereq_,module,exports){
66410
+ },{"../../components/drawing":97,"../../lib":202,"../../registry":290,"./axes":248,"d3":9}],273:[function(_dereq_,module,exports){
66286
66411
  /**
66287
66412
  * Copyright 2012-2020, Plotly, Inc.
66288
66413
  * All rights reserved.
@@ -66422,7 +66547,7 @@ function isBoxWithoutPositionCoords(trace, axLetter) {
66422
66547
  );
66423
66548
  }
66424
66549
 
66425
- },{"../../registry":288,"./axis_autotype":247}],272:[function(_dereq_,module,exports){
66550
+ },{"../../registry":290,"./axis_autotype":249}],274:[function(_dereq_,module,exports){
66426
66551
  /**
66427
66552
  * Copyright 2012-2020, Plotly, Inc.
66428
66553
  * All rights reserved.
@@ -66849,7 +66974,7 @@ function crawl(attrs, callback, path, depth) {
66849
66974
  });
66850
66975
  }
66851
66976
 
66852
- },{"../lib":201,"../registry":288}],273:[function(_dereq_,module,exports){
66977
+ },{"../lib":202,"../registry":290}],275:[function(_dereq_,module,exports){
66853
66978
  /**
66854
66979
  * Copyright 2012-2020, Plotly, Inc.
66855
66980
  * All rights reserved.
@@ -66961,7 +67086,7 @@ exports.defaults = function(containerOut, layout, coerce, dfltDomains) {
66961
67086
  if(!(y[0] < y[1])) containerOut.domain.y = dfltY.slice();
66962
67087
  };
66963
67088
 
66964
- },{"../lib/extend":195}],274:[function(_dereq_,module,exports){
67089
+ },{"../lib/extend":196}],276:[function(_dereq_,module,exports){
66965
67090
  /**
66966
67091
  * Copyright 2012-2020, Plotly, Inc.
66967
67092
  * All rights reserved.
@@ -67026,7 +67151,7 @@ module.exports = function(opts) {
67026
67151
  return attrs;
67027
67152
  };
67028
67153
 
67029
- },{}],275:[function(_dereq_,module,exports){
67154
+ },{}],277:[function(_dereq_,module,exports){
67030
67155
  /**
67031
67156
  * Copyright 2012-2020, Plotly, Inc.
67032
67157
  * All rights reserved.
@@ -67072,7 +67197,7 @@ module.exports = {
67072
67197
  }
67073
67198
  };
67074
67199
 
67075
- },{}],276:[function(_dereq_,module,exports){
67200
+ },{}],278:[function(_dereq_,module,exports){
67076
67201
  /**
67077
67202
  * Copyright 2012-2020, Plotly, Inc.
67078
67203
  * All rights reserved.
@@ -67201,7 +67326,7 @@ exports.getSubplotData = function getSubplotData(data, type, subplotId) {
67201
67326
  return subplotData;
67202
67327
  };
67203
67328
 
67204
- },{"../registry":288,"./cartesian/constants":252}],277:[function(_dereq_,module,exports){
67329
+ },{"../registry":290,"./cartesian/constants":254}],279:[function(_dereq_,module,exports){
67205
67330
  /**
67206
67331
  * Copyright 2012-2020, Plotly, Inc.
67207
67332
  * All rights reserved.
@@ -67235,7 +67360,7 @@ function project(camera, v) {
67235
67360
 
67236
67361
  module.exports = project;
67237
67362
 
67238
- },{}],278:[function(_dereq_,module,exports){
67363
+ },{}],280:[function(_dereq_,module,exports){
67239
67364
  /**
67240
67365
  * Copyright 2012-2020, Plotly, Inc.
67241
67366
  * All rights reserved.
@@ -67576,7 +67701,7 @@ module.exports = {
67576
67701
  }
67577
67702
  };
67578
67703
 
67579
- },{"../components/color/attributes":73,"../components/shapes/draw_newshape/attributes":156,"../lib/extend":195,"./animation_attributes":240,"./font_attributes":274,"./pad_attributes":279}],279:[function(_dereq_,module,exports){
67704
+ },{"../components/color/attributes":74,"../components/shapes/draw_newshape/attributes":157,"../lib/extend":196,"./animation_attributes":242,"./font_attributes":276,"./pad_attributes":281}],281:[function(_dereq_,module,exports){
67580
67705
  /**
67581
67706
  * Copyright 2012-2020, Plotly, Inc.
67582
67707
  * All rights reserved.
@@ -67631,7 +67756,7 @@ module.exports = function(opts) {
67631
67756
  };
67632
67757
  };
67633
67758
 
67634
- },{}],280:[function(_dereq_,module,exports){
67759
+ },{}],282:[function(_dereq_,module,exports){
67635
67760
  /**
67636
67761
  * Copyright 2012-2020, Plotly, Inc.
67637
67762
  * All rights reserved.
@@ -69500,8 +69625,13 @@ function initMargins(fullLayout) {
69500
69625
  if(!fullLayout._pushmarginIds) fullLayout._pushmarginIds = {};
69501
69626
  }
69502
69627
 
69503
- var minFinalWidth = 64; // could possibly be exposed as layout.margin.minfinalwidth
69504
- var minFinalHeight = 64; // could possibly be exposed as layout.margin.minfinalheight
69628
+ // non-negotiable - this is the smallest height we will allow users to specify via explicit margins
69629
+ var MIN_SPECIFIED_WIDTH = 2;
69630
+ var MIN_SPECIFIED_HEIGHT = 2;
69631
+
69632
+ // could be exposed as an option - the smallest we will allow automargin to shrink a larger plot
69633
+ var MIN_REDUCED_WIDTH = 64;
69634
+ var MIN_REDUCED_HEIGHT = 64;
69505
69635
 
69506
69636
  /**
69507
69637
  * autoMargin: called by components that may need to expand the margins to
@@ -69522,20 +69652,33 @@ plots.autoMargin = function(gd, id, o) {
69522
69652
  var fullLayout = gd._fullLayout;
69523
69653
  var width = fullLayout.width;
69524
69654
  var height = fullLayout.height;
69655
+ var margin = fullLayout.margin;
69656
+
69657
+ var minFinalWidth = Lib.constrain(
69658
+ width - margin.l - margin.r,
69659
+ MIN_SPECIFIED_WIDTH,
69660
+ MIN_REDUCED_WIDTH
69661
+ );
69662
+
69663
+ var minFinalHeight = Lib.constrain(
69664
+ height - margin.t - margin.b,
69665
+ MIN_SPECIFIED_HEIGHT,
69666
+ MIN_REDUCED_HEIGHT
69667
+ );
69668
+
69525
69669
  var maxSpaceW = Math.max(0, width - minFinalWidth);
69526
69670
  var maxSpaceH = Math.max(0, height - minFinalHeight);
69527
69671
 
69528
69672
  var pushMargin = fullLayout._pushmargin;
69529
69673
  var pushMarginIds = fullLayout._pushmarginIds;
69530
69674
 
69531
- if(fullLayout.margin.autoexpand !== false) {
69675
+ if(margin.autoexpand !== false) {
69532
69676
  if(!o) {
69533
69677
  delete pushMargin[id];
69534
69678
  delete pushMarginIds[id];
69535
69679
  } else {
69536
69680
  var pad = o.pad;
69537
69681
  if(pad === undefined) {
69538
- var margin = fullLayout.margin;
69539
69682
  // if no explicit pad is given, use 12px unless there's a
69540
69683
  // specified margin that's smaller than that
69541
69684
  pad = Math.min(12, margin.l, margin.r, margin.t, margin.b);
@@ -69543,15 +69686,19 @@ plots.autoMargin = function(gd, id, o) {
69543
69686
 
69544
69687
  // if the item is too big, just give it enough automargin to
69545
69688
  // make sure you can still grab it and bring it back
69546
- var rW = (o.l + o.r) / maxSpaceW;
69547
- if(rW > 1) {
69548
- o.l /= rW;
69549
- o.r /= rW;
69689
+ if(maxSpaceW) {
69690
+ var rW = (o.l + o.r) / maxSpaceW;
69691
+ if(rW > 1) {
69692
+ o.l /= rW;
69693
+ o.r /= rW;
69694
+ }
69550
69695
  }
69551
- var rH = (o.t + o.b) / maxSpaceH;
69552
- if(rH > 1) {
69553
- o.t /= rH;
69554
- o.b /= rH;
69696
+ if(maxSpaceH) {
69697
+ var rH = (o.t + o.b) / maxSpaceH;
69698
+ if(rH > 1) {
69699
+ o.t /= rH;
69700
+ o.b /= rH;
69701
+ }
69555
69702
  }
69556
69703
 
69557
69704
  var xl = o.xl !== undefined ? o.xl : o.x;
@@ -69578,8 +69725,6 @@ plots.doAutoMargin = function(gd) {
69578
69725
  var fullLayout = gd._fullLayout;
69579
69726
  var width = fullLayout.width;
69580
69727
  var height = fullLayout.height;
69581
- var maxSpaceW = Math.max(0, width - minFinalWidth);
69582
- var maxSpaceH = Math.max(0, height - minFinalHeight);
69583
69728
 
69584
69729
  if(!fullLayout._size) fullLayout._size = {};
69585
69730
  initMargins(fullLayout);
@@ -69652,16 +69797,35 @@ plots.doAutoMargin = function(gd) {
69652
69797
  }
69653
69798
  }
69654
69799
 
69655
- var rW = (ml + mr) / maxSpaceW;
69656
- if(rW > 1) {
69657
- ml /= rW;
69658
- mr /= rW;
69800
+ var minFinalWidth = Lib.constrain(
69801
+ width - margin.l - margin.r,
69802
+ MIN_SPECIFIED_WIDTH,
69803
+ MIN_REDUCED_WIDTH
69804
+ );
69805
+
69806
+ var minFinalHeight = Lib.constrain(
69807
+ height - margin.t - margin.b,
69808
+ MIN_SPECIFIED_HEIGHT,
69809
+ MIN_REDUCED_HEIGHT
69810
+ );
69811
+
69812
+ var maxSpaceW = Math.max(0, width - minFinalWidth);
69813
+ var maxSpaceH = Math.max(0, height - minFinalHeight);
69814
+
69815
+ if(maxSpaceW) {
69816
+ var rW = (ml + mr) / maxSpaceW;
69817
+ if(rW > 1) {
69818
+ ml /= rW;
69819
+ mr /= rW;
69820
+ }
69659
69821
  }
69660
69822
 
69661
- var rH = (mb + mt) / maxSpaceH;
69662
- if(rH > 1) {
69663
- mb /= rH;
69664
- mt /= rH;
69823
+ if(maxSpaceH) {
69824
+ var rH = (mb + mt) / maxSpaceH;
69825
+ if(rH > 1) {
69826
+ mb /= rH;
69827
+ mt /= rH;
69828
+ }
69665
69829
  }
69666
69830
 
69667
69831
  gs.l = Math.round(ml);
@@ -71019,7 +71183,7 @@ plots.cleanBasePlot = function(desiredType, newFullData, newFullLayout, oldFullD
71019
71183
  }
71020
71184
  };
71021
71185
 
71022
- },{"../components/color":74,"../constants/numerical":180,"../lib":201,"../plot_api/plot_schema":234,"../plot_api/plot_template":235,"../plots/get_data":276,"../registry":288,"./animation_attributes":240,"./attributes":242,"./cartesian/axis_ids":249,"./cartesian/handle_outline":256,"./command":272,"./font_attributes":274,"./frame_attributes":275,"./layout_attributes":278,"d3":9,"d3-time-format":7,"fast-isnumeric":11}],281:[function(_dereq_,module,exports){
71186
+ },{"../components/color":75,"../constants/numerical":181,"../lib":202,"../plot_api/plot_schema":236,"../plot_api/plot_template":237,"../plots/get_data":278,"../registry":290,"./animation_attributes":242,"./attributes":244,"./cartesian/axis_ids":251,"./cartesian/handle_outline":258,"./command":274,"./font_attributes":276,"./frame_attributes":277,"./layout_attributes":280,"d3":9,"d3-time-format":7,"fast-isnumeric":11}],283:[function(_dereq_,module,exports){
71023
71187
  /**
71024
71188
  * Copyright 2012-2020, Plotly, Inc.
71025
71189
  * All rights reserved.
@@ -71063,7 +71227,7 @@ module.exports = {
71063
71227
  }
71064
71228
  };
71065
71229
 
71066
- },{"../../../lib/extend":195,"../../../traces/scatter/attributes":328}],282:[function(_dereq_,module,exports){
71230
+ },{"../../../lib/extend":196,"../../../traces/scatter/attributes":330}],284:[function(_dereq_,module,exports){
71067
71231
  /**
71068
71232
  * Copyright 2012-2020, Plotly, Inc.
71069
71233
  * All rights reserved.
@@ -71185,7 +71349,7 @@ module.exports = overrideAll({
71185
71349
  }
71186
71350
  }, 'plot', 'nested');
71187
71351
 
71188
- },{"../../../lib/extend":195,"../../../plot_api/edit_types":228,"../../cartesian/layout_attributes":260}],283:[function(_dereq_,module,exports){
71352
+ },{"../../../lib/extend":196,"../../../plot_api/edit_types":230,"../../cartesian/layout_attributes":262}],285:[function(_dereq_,module,exports){
71189
71353
  /**
71190
71354
  * Copyright 2012-2020, Plotly, Inc.
71191
71355
  * All rights reserved.
@@ -71200,7 +71364,7 @@ var Polar = module.exports = _dereq_('./micropolar');
71200
71364
 
71201
71365
  Polar.manager = _dereq_('./micropolar_manager');
71202
71366
 
71203
- },{"./micropolar":284,"./micropolar_manager":285}],284:[function(_dereq_,module,exports){
71367
+ },{"./micropolar":286,"./micropolar_manager":287}],286:[function(_dereq_,module,exports){
71204
71368
  /**
71205
71369
  * Copyright 2012-2020, Plotly, Inc.
71206
71370
  * All rights reserved.
@@ -72620,7 +72784,7 @@ var µ = module.exports = { version: '0.2.2' };
72620
72784
  return exports;
72621
72785
  };
72622
72786
 
72623
- },{"../../../constants/alignment":176,"../../../lib":201,"d3":9}],285:[function(_dereq_,module,exports){
72787
+ },{"../../../constants/alignment":177,"../../../lib":202,"d3":9}],287:[function(_dereq_,module,exports){
72624
72788
  /**
72625
72789
  * Copyright 2012-2020, Plotly, Inc.
72626
72790
  * All rights reserved.
@@ -72706,7 +72870,7 @@ manager.fillLayout = function(_gd) {
72706
72870
  _gd._fullLayout = extendDeepAll(dflts, _gd.layout);
72707
72871
  };
72708
72872
 
72709
- },{"../../../components/color":74,"../../../lib":201,"./micropolar":284,"./undo_manager":286,"d3":9}],286:[function(_dereq_,module,exports){
72873
+ },{"../../../components/color":75,"../../../lib":202,"./micropolar":286,"./undo_manager":288,"d3":9}],288:[function(_dereq_,module,exports){
72710
72874
  /**
72711
72875
  * Copyright 2012-2020, Plotly, Inc.
72712
72876
  * All rights reserved.
@@ -72772,7 +72936,7 @@ module.exports = function UndoManager() {
72772
72936
  };
72773
72937
  };
72774
72938
 
72775
- },{}],287:[function(_dereq_,module,exports){
72939
+ },{}],289:[function(_dereq_,module,exports){
72776
72940
  /**
72777
72941
  * Copyright 2012-2020, Plotly, Inc.
72778
72942
  * All rights reserved.
@@ -72855,7 +73019,7 @@ exports.texttemplateAttrs = function(opts, extra) {
72855
73019
  return texttemplate;
72856
73020
  };
72857
73021
 
72858
- },{"../constants/docs":178}],288:[function(_dereq_,module,exports){
73022
+ },{"../constants/docs":179}],290:[function(_dereq_,module,exports){
72859
73023
  /**
72860
73024
  * Copyright 2012-2020, Plotly, Inc.
72861
73025
  * All rights reserved.
@@ -73321,7 +73485,7 @@ function getTraceType(traceType) {
73321
73485
  return traceType;
73322
73486
  }
73323
73487
 
73324
- },{"./lib/dom":193,"./lib/extend":195,"./lib/is_plain_object":202,"./lib/loggers":205,"./lib/noop":210,"./lib/push_unique":214,"./plots/attributes":242,"./plots/layout_attributes":278}],289:[function(_dereq_,module,exports){
73488
+ },{"./lib/dom":194,"./lib/extend":196,"./lib/is_plain_object":203,"./lib/loggers":206,"./lib/noop":211,"./lib/push_unique":216,"./plots/attributes":244,"./plots/layout_attributes":280}],291:[function(_dereq_,module,exports){
73325
73489
  /**
73326
73490
  * Copyright 2012-2020, Plotly, Inc.
73327
73491
  * All rights reserved.
@@ -73494,7 +73658,7 @@ module.exports = function clonePlot(graphObj, options) {
73494
73658
  return plotTile;
73495
73659
  };
73496
73660
 
73497
- },{"../lib":201,"../registry":288}],290:[function(_dereq_,module,exports){
73661
+ },{"../lib":202,"../registry":290}],292:[function(_dereq_,module,exports){
73498
73662
  /**
73499
73663
  * Copyright 2012-2020, Plotly, Inc.
73500
73664
  * All rights reserved.
@@ -73566,7 +73730,7 @@ function downloadImage(gd, opts) {
73566
73730
 
73567
73731
  module.exports = downloadImage;
73568
73732
 
73569
- },{"../lib":201,"../plot_api/to_image":238,"./filesaver":291,"./helpers":292}],291:[function(_dereq_,module,exports){
73733
+ },{"../lib":202,"../plot_api/to_image":240,"./filesaver":293,"./helpers":294}],293:[function(_dereq_,module,exports){
73570
73734
  /**
73571
73735
  * Copyright 2012-2020, Plotly, Inc.
73572
73736
  * All rights reserved.
@@ -73646,7 +73810,7 @@ function fileSaver(url, name, format) {
73646
73810
 
73647
73811
  module.exports = fileSaver;
73648
73812
 
73649
- },{"../lib":201,"./helpers":292}],292:[function(_dereq_,module,exports){
73813
+ },{"../lib":202,"./helpers":294}],294:[function(_dereq_,module,exports){
73650
73814
  /**
73651
73815
  * Copyright 2012-2020, Plotly, Inc.
73652
73816
  * All rights reserved.
@@ -73729,7 +73893,7 @@ exports.IMAGE_URL_PREFIX = /^data:image\/\w+;base64,/;
73729
73893
 
73730
73894
  exports.MSG_IE_BAD_FORMAT = 'Sorry IE does not support downloading from canvas. Try {format:\'svg\'} instead.';
73731
73895
 
73732
- },{"../registry":288}],293:[function(_dereq_,module,exports){
73896
+ },{"../registry":290}],295:[function(_dereq_,module,exports){
73733
73897
  /**
73734
73898
  * Copyright 2012-2020, Plotly, Inc.
73735
73899
  * All rights reserved.
@@ -73755,7 +73919,7 @@ var Snapshot = {
73755
73919
 
73756
73920
  module.exports = Snapshot;
73757
73921
 
73758
- },{"./cloneplot":289,"./download":290,"./helpers":292,"./svgtoimg":294,"./toimage":295,"./tosvg":296}],294:[function(_dereq_,module,exports){
73922
+ },{"./cloneplot":291,"./download":292,"./helpers":294,"./svgtoimg":296,"./toimage":297,"./tosvg":298}],296:[function(_dereq_,module,exports){
73759
73923
  /**
73760
73924
  * Copyright 2012-2020, Plotly, Inc.
73761
73925
  * All rights reserved.
@@ -73882,7 +74046,7 @@ function svgToImg(opts) {
73882
74046
 
73883
74047
  module.exports = svgToImg;
73884
74048
 
73885
- },{"../lib":201,"./helpers":292,"events":6}],295:[function(_dereq_,module,exports){
74049
+ },{"../lib":202,"./helpers":294,"events":6}],297:[function(_dereq_,module,exports){
73886
74050
  /**
73887
74051
  * Copyright 2012-2020, Plotly, Inc.
73888
74052
  * All rights reserved.
@@ -73959,7 +74123,7 @@ function toImage(gd, opts) {
73959
74123
 
73960
74124
  module.exports = toImage;
73961
74125
 
73962
- },{"../lib":201,"../registry":288,"./cloneplot":289,"./helpers":292,"./svgtoimg":294,"./tosvg":296,"events":6}],296:[function(_dereq_,module,exports){
74126
+ },{"../lib":202,"../registry":290,"./cloneplot":291,"./helpers":294,"./svgtoimg":296,"./tosvg":298,"events":6}],298:[function(_dereq_,module,exports){
73963
74127
  /**
73964
74128
  * Copyright 2012-2020, Plotly, Inc.
73965
74129
  * All rights reserved.
@@ -74148,7 +74312,7 @@ module.exports = function toSVG(gd, format, scale) {
74148
74312
  return s;
74149
74313
  };
74150
74314
 
74151
- },{"../components/color":74,"../components/drawing":96,"../constants/xmlns_namespaces":181,"../lib":201,"d3":9}],297:[function(_dereq_,module,exports){
74315
+ },{"../components/color":75,"../components/drawing":97,"../constants/xmlns_namespaces":182,"../lib":202,"d3":9}],299:[function(_dereq_,module,exports){
74152
74316
  /**
74153
74317
  * Copyright 2012-2020, Plotly, Inc.
74154
74318
  * All rights reserved.
@@ -74181,7 +74345,7 @@ module.exports = function arraysToCalcdata(cd, trace) {
74181
74345
  }
74182
74346
  };
74183
74347
 
74184
- },{"../../lib":201}],298:[function(_dereq_,module,exports){
74348
+ },{"../../lib":202}],300:[function(_dereq_,module,exports){
74185
74349
  /**
74186
74350
  * Copyright 2012-2020, Plotly, Inc.
74187
74351
  * All rights reserved.
@@ -74397,7 +74561,7 @@ module.exports = {
74397
74561
  }
74398
74562
  };
74399
74563
 
74400
- },{"../../components/colorscale/attributes":81,"../../lib/extend":195,"../../plots/font_attributes":274,"../../plots/template_attributes":287,"../scatter/attributes":328,"./constants":300}],299:[function(_dereq_,module,exports){
74564
+ },{"../../components/colorscale/attributes":82,"../../lib/extend":196,"../../plots/font_attributes":276,"../../plots/template_attributes":289,"../scatter/attributes":330,"./constants":302}],301:[function(_dereq_,module,exports){
74401
74565
  /**
74402
74566
  * Copyright 2012-2020, Plotly, Inc.
74403
74567
  * All rights reserved.
@@ -74476,7 +74640,7 @@ module.exports = function calc(gd, trace) {
74476
74640
  return cd;
74477
74641
  };
74478
74642
 
74479
- },{"../../components/colorscale/calc":82,"../../components/colorscale/helpers":85,"../../plots/cartesian/align_period":243,"../../plots/cartesian/axes":246,"../scatter/calc_selection":330,"./arrays_to_calcdata":297}],300:[function(_dereq_,module,exports){
74643
+ },{"../../components/colorscale/calc":83,"../../components/colorscale/helpers":86,"../../plots/cartesian/align_period":245,"../../plots/cartesian/axes":248,"../scatter/calc_selection":332,"./arrays_to_calcdata":299}],302:[function(_dereq_,module,exports){
74480
74644
  /**
74481
74645
  * Copyright 2012-2020, Plotly, Inc.
74482
74646
  * All rights reserved.
@@ -74498,7 +74662,7 @@ module.exports = {
74498
74662
  eventDataKeys: ['value', 'label']
74499
74663
  };
74500
74664
 
74501
- },{}],301:[function(_dereq_,module,exports){
74665
+ },{}],303:[function(_dereq_,module,exports){
74502
74666
  /**
74503
74667
  * Copyright 2012-2020, Plotly, Inc.
74504
74668
  * All rights reserved.
@@ -75278,7 +75442,7 @@ module.exports = {
75278
75442
  setGroupPositions: setGroupPositions
75279
75443
  };
75280
75444
 
75281
- },{"../../constants/numerical":180,"../../lib":201,"../../plots/cartesian/axes":246,"../../plots/cartesian/constraints":253,"../../registry":288,"./sieve.js":311,"fast-isnumeric":11}],302:[function(_dereq_,module,exports){
75445
+ },{"../../constants/numerical":181,"../../lib":202,"../../plots/cartesian/axes":248,"../../plots/cartesian/constraints":255,"../../registry":290,"./sieve.js":313,"fast-isnumeric":11}],304:[function(_dereq_,module,exports){
75282
75446
  /**
75283
75447
  * Copyright 2012-2020, Plotly, Inc.
75284
75448
  * All rights reserved.
@@ -75463,7 +75627,7 @@ module.exports = {
75463
75627
  handleText: handleText
75464
75628
  };
75465
75629
 
75466
- },{"../../components/color":74,"../../lib":201,"../../plots/cartesian/constraints":253,"../../registry":288,"../scatter/period_defaults":348,"../scatter/xy_defaults":355,"./attributes":298,"./style_defaults":313}],303:[function(_dereq_,module,exports){
75630
+ },{"../../components/color":75,"../../lib":202,"../../plots/cartesian/constraints":255,"../../registry":290,"../scatter/period_defaults":350,"../scatter/xy_defaults":357,"./attributes":300,"./style_defaults":315}],305:[function(_dereq_,module,exports){
75467
75631
  /**
75468
75632
  * Copyright 2012-2020, Plotly, Inc.
75469
75633
  * All rights reserved.
@@ -75492,7 +75656,7 @@ module.exports = function eventData(out, pt, trace) {
75492
75656
  return out;
75493
75657
  };
75494
75658
 
75495
- },{}],304:[function(_dereq_,module,exports){
75659
+ },{}],306:[function(_dereq_,module,exports){
75496
75660
  /**
75497
75661
  * Copyright 2012-2020, Plotly, Inc.
75498
75662
  * All rights reserved.
@@ -75570,7 +75734,7 @@ exports.getLineWidth = function(trace, di) {
75570
75734
  return w;
75571
75735
  };
75572
75736
 
75573
- },{"../../lib":201,"fast-isnumeric":11,"tinycolor2":57}],305:[function(_dereq_,module,exports){
75737
+ },{"../../lib":202,"fast-isnumeric":11,"tinycolor2":58}],307:[function(_dereq_,module,exports){
75574
75738
  /**
75575
75739
  * Copyright 2012-2020, Plotly, Inc.
75576
75740
  * All rights reserved.
@@ -75766,7 +75930,7 @@ module.exports = {
75766
75930
  getTraceColor: getTraceColor
75767
75931
  };
75768
75932
 
75769
- },{"../../components/color":74,"../../components/fx":114,"../../constants/numerical":180,"../../lib":201,"../../plots/cartesian/axes":246,"../../registry":288,"./helpers":304}],306:[function(_dereq_,module,exports){
75933
+ },{"../../components/color":75,"../../components/fx":115,"../../constants/numerical":181,"../../lib":202,"../../plots/cartesian/axes":248,"../../registry":290,"./helpers":306}],308:[function(_dereq_,module,exports){
75770
75934
  /**
75771
75935
  * Copyright 2012-2020, Plotly, Inc.
75772
75936
  * All rights reserved.
@@ -75804,7 +75968,7 @@ module.exports = {
75804
75968
  }
75805
75969
  };
75806
75970
 
75807
- },{"../../plots/cartesian":259,"../scatter/marker_colorbar":346,"./arrays_to_calcdata":297,"./attributes":298,"./calc":299,"./cross_trace_calc":301,"./defaults":302,"./event_data":303,"./hover":305,"./layout_attributes":307,"./layout_defaults":308,"./plot":309,"./select":310,"./style":312}],307:[function(_dereq_,module,exports){
75971
+ },{"../../plots/cartesian":261,"../scatter/marker_colorbar":348,"./arrays_to_calcdata":299,"./attributes":300,"./calc":301,"./cross_trace_calc":303,"./defaults":304,"./event_data":305,"./hover":307,"./layout_attributes":309,"./layout_defaults":310,"./plot":311,"./select":312,"./style":314}],309:[function(_dereq_,module,exports){
75808
75972
  /**
75809
75973
  * Copyright 2012-2020, Plotly, Inc.
75810
75974
  * All rights reserved.
@@ -75852,7 +76016,7 @@ module.exports = {
75852
76016
  }
75853
76017
  };
75854
76018
 
75855
- },{}],308:[function(_dereq_,module,exports){
76019
+ },{}],310:[function(_dereq_,module,exports){
75856
76020
  /**
75857
76021
  * Copyright 2012-2020, Plotly, Inc.
75858
76022
  * All rights reserved.
@@ -75912,7 +76076,7 @@ module.exports = function(layoutIn, layoutOut, fullData) {
75912
76076
  coerce('bargroupgap');
75913
76077
  };
75914
76078
 
75915
- },{"../../lib":201,"../../plots/cartesian/axes":246,"../../registry":288,"./layout_attributes":307}],309:[function(_dereq_,module,exports){
76079
+ },{"../../lib":202,"../../plots/cartesian/axes":248,"../../registry":290,"./layout_attributes":309}],311:[function(_dereq_,module,exports){
75916
76080
  /**
75917
76081
  * Copyright 2012-2020, Plotly, Inc.
75918
76082
  * All rights reserved.
@@ -76697,7 +76861,7 @@ module.exports = {
76697
76861
  toMoveInsideBar: toMoveInsideBar
76698
76862
  };
76699
76863
 
76700
- },{"../../components/color":74,"../../components/drawing":96,"../../components/fx/helpers":110,"../../lib":201,"../../lib/svg_text_utils":222,"../../plots/cartesian/axes":246,"../../registry":288,"./attributes":298,"./constants":300,"./helpers":304,"./style":312,"./uniform_text":314,"d3":9,"fast-isnumeric":11}],310:[function(_dereq_,module,exports){
76864
+ },{"../../components/color":75,"../../components/drawing":97,"../../components/fx/helpers":111,"../../lib":202,"../../lib/svg_text_utils":224,"../../plots/cartesian/axes":248,"../../registry":290,"./attributes":300,"./constants":302,"./helpers":306,"./style":314,"./uniform_text":316,"d3":9,"fast-isnumeric":11}],312:[function(_dereq_,module,exports){
76701
76865
  /**
76702
76866
  * Copyright 2012-2020, Plotly, Inc.
76703
76867
  * All rights reserved.
@@ -76761,7 +76925,7 @@ function getCentroid(d, xa, ya, isHorizontal, isFunnel) {
76761
76925
  }
76762
76926
  }
76763
76927
 
76764
- },{}],311:[function(_dereq_,module,exports){
76928
+ },{}],313:[function(_dereq_,module,exports){
76765
76929
  /**
76766
76930
  * Copyright 2012-2020, Plotly, Inc.
76767
76931
  * All rights reserved.
@@ -76875,7 +77039,7 @@ Sieve.prototype.getLabel = function getLabel(position, value) {
76875
77039
  return prefix + label;
76876
77040
  };
76877
77041
 
76878
- },{"../../constants/numerical":180,"../../lib":201}],312:[function(_dereq_,module,exports){
77042
+ },{"../../constants/numerical":181,"../../lib":202}],314:[function(_dereq_,module,exports){
76879
77043
  /**
76880
77044
  * Copyright 2012-2020, Plotly, Inc.
76881
77045
  * All rights reserved.
@@ -77057,7 +77221,7 @@ module.exports = {
77057
77221
  resizeText: resizeText
77058
77222
  };
77059
77223
 
77060
- },{"../../components/color":74,"../../components/drawing":96,"../../lib":201,"../../registry":288,"./attributes":298,"./helpers":304,"./uniform_text":314,"d3":9}],313:[function(_dereq_,module,exports){
77224
+ },{"../../components/color":75,"../../components/drawing":97,"../../lib":202,"../../registry":290,"./attributes":300,"./helpers":306,"./uniform_text":316,"d3":9}],315:[function(_dereq_,module,exports){
77061
77225
  /**
77062
77226
  * Copyright 2012-2020, Plotly, Inc.
77063
77227
  * All rights reserved.
@@ -77095,7 +77259,7 @@ module.exports = function handleStyleDefaults(traceIn, traceOut, coerce, default
77095
77259
  coerce('unselected.marker.color');
77096
77260
  };
77097
77261
 
77098
- },{"../../components/color":74,"../../components/colorscale/defaults":84,"../../components/colorscale/helpers":85}],314:[function(_dereq_,module,exports){
77262
+ },{"../../components/color":75,"../../components/colorscale/defaults":85,"../../components/colorscale/helpers":86}],316:[function(_dereq_,module,exports){
77099
77263
  /**
77100
77264
  * Copyright 2012-2020, Plotly, Inc.
77101
77265
  * All rights reserved.
@@ -77181,7 +77345,7 @@ module.exports = {
77181
77345
  resizeText: resizeText
77182
77346
  };
77183
77347
 
77184
- },{"../../lib":201,"d3":9}],315:[function(_dereq_,module,exports){
77348
+ },{"../../lib":202,"d3":9}],317:[function(_dereq_,module,exports){
77185
77349
  /**
77186
77350
  * Copyright 2012-2020, Plotly, Inc.
77187
77351
  * All rights reserved.
@@ -77452,7 +77616,7 @@ module.exports = {
77452
77616
  }
77453
77617
  };
77454
77618
 
77455
- },{"../../components/color/attributes":73,"../../lib/extend":195,"../../plots/attributes":242,"../../plots/domain":273,"../../plots/font_attributes":274,"../../plots/template_attributes":287}],316:[function(_dereq_,module,exports){
77619
+ },{"../../components/color/attributes":74,"../../lib/extend":196,"../../plots/attributes":244,"../../plots/domain":275,"../../plots/font_attributes":276,"../../plots/template_attributes":289}],318:[function(_dereq_,module,exports){
77456
77620
  /**
77457
77621
  * Copyright 2012-2020, Plotly, Inc.
77458
77622
  * All rights reserved.
@@ -77475,7 +77639,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
77475
77639
  plots.cleanBasePlot(exports.name, newFullData, newFullLayout, oldFullData, oldFullLayout);
77476
77640
  };
77477
77641
 
77478
- },{"../../plots/plots":280}],317:[function(_dereq_,module,exports){
77642
+ },{"../../plots/plots":282}],319:[function(_dereq_,module,exports){
77479
77643
  /**
77480
77644
  * Copyright 2012-2020, Plotly, Inc.
77481
77645
  * All rights reserved.
@@ -77658,7 +77822,7 @@ module.exports = {
77658
77822
  generateExtendedColors: generateExtendedColors
77659
77823
  };
77660
77824
 
77661
- },{"../../components/color":74,"fast-isnumeric":11,"tinycolor2":57}],318:[function(_dereq_,module,exports){
77825
+ },{"../../components/color":75,"fast-isnumeric":11,"tinycolor2":58}],320:[function(_dereq_,module,exports){
77662
77826
  /**
77663
77827
  * Copyright 2012-2020, Plotly, Inc.
77664
77828
  * All rights reserved.
@@ -77789,7 +77953,7 @@ module.exports = {
77789
77953
  supplyDefaults: supplyDefaults
77790
77954
  };
77791
77955
 
77792
- },{"../../lib":201,"../../plots/domain":273,"../bar/defaults":302,"./attributes":315,"fast-isnumeric":11}],319:[function(_dereq_,module,exports){
77956
+ },{"../../lib":202,"../../plots/domain":275,"../bar/defaults":304,"./attributes":317,"fast-isnumeric":11}],321:[function(_dereq_,module,exports){
77793
77957
  /**
77794
77958
  * Copyright 2012-2020, Plotly, Inc.
77795
77959
  * All rights reserved.
@@ -77838,7 +78002,7 @@ module.exports = function eventData(pt, trace) {
77838
78002
  return out;
77839
78003
  };
77840
78004
 
77841
- },{"../../components/fx/helpers":110}],320:[function(_dereq_,module,exports){
78005
+ },{"../../components/fx/helpers":111}],322:[function(_dereq_,module,exports){
77842
78006
  /**
77843
78007
  * Copyright 2012-2020, Plotly, Inc.
77844
78008
  * All rights reserved.
@@ -77886,7 +78050,7 @@ exports.getRotationAngle = function(rotation) {
77886
78050
  return (rotation === 'auto' ? 0 : rotation) * Math.PI / 180;
77887
78051
  };
77888
78052
 
77889
- },{"../../lib":201}],321:[function(_dereq_,module,exports){
78053
+ },{"../../lib":202}],323:[function(_dereq_,module,exports){
77890
78054
  /**
77891
78055
  * Copyright 2012-2020, Plotly, Inc.
77892
78056
  * All rights reserved.
@@ -77919,7 +78083,7 @@ module.exports = {
77919
78083
  }
77920
78084
  };
77921
78085
 
77922
- },{"./attributes":315,"./base_plot":316,"./calc":317,"./defaults":318,"./layout_attributes":322,"./layout_defaults":323,"./plot":324,"./style":325,"./style_one":326}],322:[function(_dereq_,module,exports){
78086
+ },{"./attributes":317,"./base_plot":318,"./calc":319,"./defaults":320,"./layout_attributes":324,"./layout_defaults":325,"./plot":326,"./style":327,"./style_one":328}],324:[function(_dereq_,module,exports){
77923
78087
  /**
77924
78088
  * Copyright 2012-2020, Plotly, Inc.
77925
78089
  * All rights reserved.
@@ -77952,7 +78116,7 @@ module.exports = {
77952
78116
  }
77953
78117
  };
77954
78118
 
77955
- },{}],323:[function(_dereq_,module,exports){
78119
+ },{}],325:[function(_dereq_,module,exports){
77956
78120
  /**
77957
78121
  * Copyright 2012-2020, Plotly, Inc.
77958
78122
  * All rights reserved.
@@ -77977,7 +78141,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
77977
78141
  coerce('extendpiecolors');
77978
78142
  };
77979
78143
 
77980
- },{"../../lib":201,"./layout_attributes":322}],324:[function(_dereq_,module,exports){
78144
+ },{"../../lib":202,"./layout_attributes":324}],326:[function(_dereq_,module,exports){
77981
78145
  /**
77982
78146
  * Copyright 2012-2020, Plotly, Inc.
77983
78147
  * All rights reserved.
@@ -79157,7 +79321,7 @@ module.exports = {
79157
79321
  computeTransform: computeTransform
79158
79322
  };
79159
79323
 
79160
- },{"../../components/color":74,"../../components/drawing":96,"../../components/fx":114,"../../lib":201,"../../lib/svg_text_utils":222,"../../plots/plots":280,"../bar/constants":300,"../bar/uniform_text":314,"./event_data":319,"./helpers":320,"d3":9}],325:[function(_dereq_,module,exports){
79324
+ },{"../../components/color":75,"../../components/drawing":97,"../../components/fx":115,"../../lib":202,"../../lib/svg_text_utils":224,"../../plots/plots":282,"../bar/constants":302,"../bar/uniform_text":316,"./event_data":321,"./helpers":322,"d3":9}],327:[function(_dereq_,module,exports){
79161
79325
  /**
79162
79326
  * Copyright 2012-2020, Plotly, Inc.
79163
79327
  * All rights reserved.
@@ -79190,7 +79354,7 @@ module.exports = function style(gd) {
79190
79354
  });
79191
79355
  };
79192
79356
 
79193
- },{"../bar/uniform_text":314,"./style_one":326,"d3":9}],326:[function(_dereq_,module,exports){
79357
+ },{"../bar/uniform_text":316,"./style_one":328,"d3":9}],328:[function(_dereq_,module,exports){
79194
79358
  /**
79195
79359
  * Copyright 2012-2020, Plotly, Inc.
79196
79360
  * All rights reserved.
@@ -79214,7 +79378,7 @@ module.exports = function styleOne(s, pt, trace) {
79214
79378
  .call(Color.stroke, lineColor);
79215
79379
  };
79216
79380
 
79217
- },{"../../components/color":74,"./helpers":320}],327:[function(_dereq_,module,exports){
79381
+ },{"../../components/color":75,"./helpers":322}],329:[function(_dereq_,module,exports){
79218
79382
  /**
79219
79383
  * Copyright 2012-2020, Plotly, Inc.
79220
79384
  * All rights reserved.
@@ -79266,7 +79430,7 @@ module.exports = function arraysToCalcdata(cd, trace) {
79266
79430
  }
79267
79431
  };
79268
79432
 
79269
- },{"../../lib":201}],328:[function(_dereq_,module,exports){
79433
+ },{"../../lib":202}],330:[function(_dereq_,module,exports){
79270
79434
  /**
79271
79435
  * Copyright 2012-2020, Plotly, Inc.
79272
79436
  * All rights reserved.
@@ -79720,7 +79884,7 @@ module.exports = {
79720
79884
  }
79721
79885
  };
79722
79886
 
79723
- },{"../../components/colorscale/attributes":81,"../../components/drawing":96,"../../components/drawing/attributes":95,"../../lib/extend":195,"../../plots/font_attributes":274,"../../plots/template_attributes":287,"./constants":332}],329:[function(_dereq_,module,exports){
79887
+ },{"../../components/colorscale/attributes":82,"../../components/drawing":97,"../../components/drawing/attributes":96,"../../lib/extend":196,"../../plots/font_attributes":276,"../../plots/template_attributes":289,"./constants":334}],331:[function(_dereq_,module,exports){
79724
79888
  /**
79725
79889
  * Copyright 2012-2020, Plotly, Inc.
79726
79890
  * All rights reserved.
@@ -80019,7 +80183,7 @@ module.exports = {
80019
80183
  getStackOpts: getStackOpts
80020
80184
  };
80021
80185
 
80022
- },{"../../constants/numerical":180,"../../lib":201,"../../plots/cartesian/align_period":243,"../../plots/cartesian/axes":246,"./arrays_to_calcdata":327,"./calc_selection":330,"./colorscale_calc":331,"./subtypes":353,"fast-isnumeric":11}],330:[function(_dereq_,module,exports){
80186
+ },{"../../constants/numerical":181,"../../lib":202,"../../plots/cartesian/align_period":245,"../../plots/cartesian/axes":248,"./arrays_to_calcdata":329,"./calc_selection":332,"./colorscale_calc":333,"./subtypes":355,"fast-isnumeric":11}],332:[function(_dereq_,module,exports){
80023
80187
  /**
80024
80188
  * Copyright 2012-2020, Plotly, Inc.
80025
80189
  * All rights reserved.
@@ -80038,7 +80202,7 @@ module.exports = function calcSelection(cd, trace) {
80038
80202
  }
80039
80203
  };
80040
80204
 
80041
- },{"../../lib":201}],331:[function(_dereq_,module,exports){
80205
+ },{"../../lib":202}],333:[function(_dereq_,module,exports){
80042
80206
  /**
80043
80207
  * Copyright 2012-2020, Plotly, Inc.
80044
80208
  * All rights reserved.
@@ -80081,7 +80245,7 @@ module.exports = function calcMarkerColorscale(gd, trace) {
80081
80245
  }
80082
80246
  };
80083
80247
 
80084
- },{"../../components/colorscale/calc":82,"../../components/colorscale/helpers":85,"./subtypes":353}],332:[function(_dereq_,module,exports){
80248
+ },{"../../components/colorscale/calc":83,"../../components/colorscale/helpers":86,"./subtypes":355}],334:[function(_dereq_,module,exports){
80085
80249
  /**
80086
80250
  * Copyright 2012-2020, Plotly, Inc.
80087
80251
  * All rights reserved.
@@ -80110,7 +80274,7 @@ module.exports = {
80110
80274
  eventDataKeys: []
80111
80275
  };
80112
80276
 
80113
- },{}],333:[function(_dereq_,module,exports){
80277
+ },{}],335:[function(_dereq_,module,exports){
80114
80278
  /**
80115
80279
  * Copyright 2012-2020, Plotly, Inc.
80116
80280
  * All rights reserved.
@@ -80291,7 +80455,7 @@ function getInterp(calcTrace, index, position, posAttr) {
80291
80455
  return pt0.s + (pt1.s - pt0.s) * (position - pt0[posAttr]) / (pt1[posAttr] - pt0[posAttr]);
80292
80456
  }
80293
80457
 
80294
- },{"./calc":329}],334:[function(_dereq_,module,exports){
80458
+ },{"./calc":331}],336:[function(_dereq_,module,exports){
80295
80459
  /**
80296
80460
  * Copyright 2012-2020, Plotly, Inc.
80297
80461
  * All rights reserved.
@@ -80330,7 +80494,7 @@ module.exports = function crossTraceDefaults(fullData) {
80330
80494
  }
80331
80495
  };
80332
80496
 
80333
- },{}],335:[function(_dereq_,module,exports){
80497
+ },{}],337:[function(_dereq_,module,exports){
80334
80498
  /**
80335
80499
  * Copyright 2012-2020, Plotly, Inc.
80336
80500
  * All rights reserved.
@@ -80423,7 +80587,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
80423
80587
  Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
80424
80588
  };
80425
80589
 
80426
- },{"../../lib":201,"../../registry":288,"./attributes":328,"./constants":332,"./fillcolor_defaults":336,"./line_defaults":341,"./line_shape_defaults":343,"./marker_defaults":347,"./period_defaults":348,"./stack_defaults":351,"./subtypes":353,"./text_defaults":354,"./xy_defaults":355}],336:[function(_dereq_,module,exports){
80590
+ },{"../../lib":202,"../../registry":290,"./attributes":330,"./constants":334,"./fillcolor_defaults":338,"./line_defaults":343,"./line_shape_defaults":345,"./marker_defaults":349,"./period_defaults":350,"./stack_defaults":353,"./subtypes":355,"./text_defaults":356,"./xy_defaults":357}],338:[function(_dereq_,module,exports){
80427
80591
  /**
80428
80592
  * Copyright 2012-2020, Plotly, Inc.
80429
80593
  * All rights reserved.
@@ -80460,7 +80624,7 @@ module.exports = function fillColorDefaults(traceIn, traceOut, defaultColor, coe
80460
80624
  ));
80461
80625
  };
80462
80626
 
80463
- },{"../../components/color":74,"../../lib":201}],337:[function(_dereq_,module,exports){
80627
+ },{"../../components/color":75,"../../lib":202}],339:[function(_dereq_,module,exports){
80464
80628
  /**
80465
80629
  * Copyright 2012-2020, Plotly, Inc.
80466
80630
  * All rights reserved.
@@ -80486,7 +80650,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
80486
80650
  return labels;
80487
80651
  };
80488
80652
 
80489
- },{"../../plots/cartesian/axes":246}],338:[function(_dereq_,module,exports){
80653
+ },{"../../plots/cartesian/axes":248}],340:[function(_dereq_,module,exports){
80490
80654
  /**
80491
80655
  * Copyright 2012-2020, Plotly, Inc.
80492
80656
  * All rights reserved.
@@ -80535,7 +80699,7 @@ module.exports = function getTraceColor(trace, di) {
80535
80699
  }
80536
80700
  };
80537
80701
 
80538
- },{"../../components/color":74,"./subtypes":353}],339:[function(_dereq_,module,exports){
80702
+ },{"../../components/color":75,"./subtypes":355}],341:[function(_dereq_,module,exports){
80539
80703
  /**
80540
80704
  * Copyright 2012-2020, Plotly, Inc.
80541
80705
  * All rights reserved.
@@ -80730,7 +80894,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
80730
80894
  }
80731
80895
  };
80732
80896
 
80733
- },{"../../components/color":74,"../../components/fx":114,"../../lib":201,"../../registry":288,"./get_trace_color":338}],340:[function(_dereq_,module,exports){
80897
+ },{"../../components/color":75,"../../components/fx":115,"../../lib":202,"../../registry":290,"./get_trace_color":340}],342:[function(_dereq_,module,exports){
80734
80898
  /**
80735
80899
  * Copyright 2012-2020, Plotly, Inc.
80736
80900
  * All rights reserved.
@@ -80776,7 +80940,7 @@ module.exports = {
80776
80940
  }
80777
80941
  };
80778
80942
 
80779
- },{"../../plots/cartesian":259,"./arrays_to_calcdata":327,"./attributes":328,"./calc":329,"./cross_trace_calc":333,"./cross_trace_defaults":334,"./defaults":335,"./format_labels":337,"./hover":339,"./marker_colorbar":346,"./plot":349,"./select":350,"./style":352,"./subtypes":353}],341:[function(_dereq_,module,exports){
80943
+ },{"../../plots/cartesian":261,"./arrays_to_calcdata":329,"./attributes":330,"./calc":331,"./cross_trace_calc":335,"./cross_trace_defaults":336,"./defaults":337,"./format_labels":339,"./hover":341,"./marker_colorbar":348,"./plot":351,"./select":352,"./style":354,"./subtypes":355}],343:[function(_dereq_,module,exports){
80780
80944
  /**
80781
80945
  * Copyright 2012-2020, Plotly, Inc.
80782
80946
  * All rights reserved.
@@ -80807,7 +80971,7 @@ module.exports = function lineDefaults(traceIn, traceOut, defaultColor, layout,
80807
80971
  if(!(opts || {}).noDash) coerce('line.dash');
80808
80972
  };
80809
80973
 
80810
- },{"../../components/colorscale/defaults":84,"../../components/colorscale/helpers":85,"../../lib":201}],342:[function(_dereq_,module,exports){
80974
+ },{"../../components/colorscale/defaults":85,"../../components/colorscale/helpers":86,"../../lib":202}],344:[function(_dereq_,module,exports){
80811
80975
  /**
80812
80976
  * Copyright 2012-2020, Plotly, Inc.
80813
80977
  * All rights reserved.
@@ -81268,7 +81432,7 @@ module.exports = function linePoints(d, opts) {
81268
81432
  return segments;
81269
81433
  };
81270
81434
 
81271
- },{"../../constants/numerical":180,"../../lib":201,"./constants":332}],343:[function(_dereq_,module,exports){
81435
+ },{"../../constants/numerical":181,"../../lib":202,"./constants":334}],345:[function(_dereq_,module,exports){
81272
81436
  /**
81273
81437
  * Copyright 2012-2020, Plotly, Inc.
81274
81438
  * All rights reserved.
@@ -81287,7 +81451,7 @@ module.exports = function handleLineShapeDefaults(traceIn, traceOut, coerce) {
81287
81451
  if(shape === 'spline') coerce('line.smoothing');
81288
81452
  };
81289
81453
 
81290
- },{}],344:[function(_dereq_,module,exports){
81454
+ },{}],346:[function(_dereq_,module,exports){
81291
81455
  /**
81292
81456
  * Copyright 2012-2020, Plotly, Inc.
81293
81457
  * All rights reserved.
@@ -81377,7 +81541,7 @@ module.exports = function linkTraces(gd, plotinfo, cdscatter) {
81377
81541
  return cdscatterSorted;
81378
81542
  };
81379
81543
 
81380
- },{}],345:[function(_dereq_,module,exports){
81544
+ },{}],347:[function(_dereq_,module,exports){
81381
81545
  /**
81382
81546
  * Copyright 2012-2020, Plotly, Inc.
81383
81547
  * All rights reserved.
@@ -81419,7 +81583,7 @@ module.exports = function makeBubbleSizeFn(trace) {
81419
81583
  };
81420
81584
  };
81421
81585
 
81422
- },{"fast-isnumeric":11}],346:[function(_dereq_,module,exports){
81586
+ },{"fast-isnumeric":11}],348:[function(_dereq_,module,exports){
81423
81587
  /**
81424
81588
  * Copyright 2012-2020, Plotly, Inc.
81425
81589
  * All rights reserved.
@@ -81437,7 +81601,7 @@ module.exports = {
81437
81601
  max: 'cmax'
81438
81602
  };
81439
81603
 
81440
- },{}],347:[function(_dereq_,module,exports){
81604
+ },{}],349:[function(_dereq_,module,exports){
81441
81605
  /**
81442
81606
  * Copyright 2012-2020, Plotly, Inc.
81443
81607
  * All rights reserved.
@@ -81518,7 +81682,7 @@ module.exports = function markerDefaults(traceIn, traceOut, defaultColor, layout
81518
81682
  }
81519
81683
  };
81520
81684
 
81521
- },{"../../components/color":74,"../../components/colorscale/defaults":84,"../../components/colorscale/helpers":85,"./subtypes":353}],348:[function(_dereq_,module,exports){
81685
+ },{"../../components/color":75,"../../components/colorscale/defaults":85,"../../components/colorscale/helpers":86,"./subtypes":355}],350:[function(_dereq_,module,exports){
81522
81686
  /**
81523
81687
  * Copyright 2012-2020, Plotly, Inc.
81524
81688
  * All rights reserved.
@@ -81565,7 +81729,7 @@ module.exports = function handlePeriodDefaults(traceIn, traceOut, layout, coerce
81565
81729
  }
81566
81730
  };
81567
81731
 
81568
- },{"../../constants/numerical":180,"../../lib":201}],349:[function(_dereq_,module,exports){
81732
+ },{"../../constants/numerical":181,"../../lib":202}],351:[function(_dereq_,module,exports){
81569
81733
  /**
81570
81734
  * Copyright 2012-2020, Plotly, Inc.
81571
81735
  * All rights reserved.
@@ -82059,7 +82223,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
82059
82223
  join.selectAll('text')
82060
82224
  .call(Drawing.textPointStyle, trace, gd)
82061
82225
  .each(function(d) {
82062
- // This just *has* to be totally custom becuase of SVG text positioning :(
82226
+ // This just *has* to be totally custom because of SVG text positioning :(
82063
82227
  // It's obviously copied from translatePoint; we just can't use that
82064
82228
  var x = xa.c2p(d.x);
82065
82229
  var y = ya.c2p(d.y);
@@ -82126,7 +82290,7 @@ function selectMarkers(gd, idx, plotinfo, cdscatter, cdscatterAll) {
82126
82290
  });
82127
82291
  }
82128
82292
 
82129
- },{"../../components/drawing":96,"../../lib":201,"../../lib/polygon":213,"../../registry":288,"./line_points":342,"./link_traces":344,"./subtypes":353,"d3":9}],350:[function(_dereq_,module,exports){
82293
+ },{"../../components/drawing":97,"../../lib":202,"../../lib/polygon":214,"../../registry":290,"./line_points":344,"./link_traces":346,"./subtypes":355,"d3":9}],352:[function(_dereq_,module,exports){
82130
82294
  /**
82131
82295
  * Copyright 2012-2020, Plotly, Inc.
82132
82296
  * All rights reserved.
@@ -82180,7 +82344,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
82180
82344
  return selection;
82181
82345
  };
82182
82346
 
82183
- },{"./subtypes":353}],351:[function(_dereq_,module,exports){
82347
+ },{"./subtypes":355}],353:[function(_dereq_,module,exports){
82184
82348
  /**
82185
82349
  * Copyright 2012-2020, Plotly, Inc.
82186
82350
  * All rights reserved.
@@ -82285,7 +82449,7 @@ module.exports = function handleStackDefaults(traceIn, traceOut, layout, coerce)
82285
82449
  }
82286
82450
  };
82287
82451
 
82288
- },{}],352:[function(_dereq_,module,exports){
82452
+ },{}],354:[function(_dereq_,module,exports){
82289
82453
  /**
82290
82454
  * Copyright 2012-2020, Plotly, Inc.
82291
82455
  * All rights reserved.
@@ -82356,7 +82520,7 @@ module.exports = {
82356
82520
  styleOnSelect: styleOnSelect
82357
82521
  };
82358
82522
 
82359
- },{"../../components/drawing":96,"../../registry":288,"d3":9}],353:[function(_dereq_,module,exports){
82523
+ },{"../../components/drawing":97,"../../registry":290,"d3":9}],355:[function(_dereq_,module,exports){
82360
82524
  /**
82361
82525
  * Copyright 2012-2020, Plotly, Inc.
82362
82526
  * All rights reserved.
@@ -82395,7 +82559,7 @@ module.exports = {
82395
82559
  }
82396
82560
  };
82397
82561
 
82398
- },{"../../lib":201}],354:[function(_dereq_,module,exports){
82562
+ },{"../../lib":202}],356:[function(_dereq_,module,exports){
82399
82563
  /**
82400
82564
  * Copyright 2012-2020, Plotly, Inc.
82401
82565
  * All rights reserved.
@@ -82425,7 +82589,7 @@ module.exports = function(traceIn, traceOut, layout, coerce, opts) {
82425
82589
  }
82426
82590
  };
82427
82591
 
82428
- },{"../../lib":201}],355:[function(_dereq_,module,exports){
82592
+ },{"../../lib":202}],357:[function(_dereq_,module,exports){
82429
82593
  /**
82430
82594
  * Copyright 2012-2020, Plotly, Inc.
82431
82595
  * All rights reserved.
@@ -82469,7 +82633,7 @@ module.exports = function handleXYDefaults(traceIn, traceOut, layout, coerce) {
82469
82633
  return len;
82470
82634
  };
82471
82635
 
82472
- },{"../../lib":201,"../../registry":288}],356:[function(_dereq_,module,exports){
82636
+ },{"../../lib":202,"../../registry":290}],358:[function(_dereq_,module,exports){
82473
82637
  /**
82474
82638
  * Copyright 2012-2020, Plotly, Inc.
82475
82639
  * All rights reserved.
@@ -82481,7 +82645,7 @@ module.exports = function handleXYDefaults(traceIn, traceOut, layout, coerce) {
82481
82645
  'use strict';
82482
82646
 
82483
82647
  // package version injected by `npm run preprocess`
82484
- exports.version = '1.58.0';
82648
+ exports.version = '1.58.4';
82485
82649
 
82486
82650
  },{}]},{},[4])(4)
82487
82651
  });