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 (gl3d) v1.58.0
2
+ * plotly.js (gl3d) v1.58.4
3
3
  * Copyright 2012-2020, Plotly, Inc.
4
4
  * All rights reserved.
5
5
  * Licensed under the MIT license
@@ -85,7 +85,7 @@ for(var selector in rules) {
85
85
 
86
86
  module.exports = _dereq_('../src/traces/cone');
87
87
 
88
- },{"../src/traces/cone":638}],3:[function(_dereq_,module,exports){
88
+ },{"../src/traces/cone":639}],3:[function(_dereq_,module,exports){
89
89
  /**
90
90
  * Copyright 2012-2020, Plotly, Inc.
91
91
  * All rights reserved.
@@ -136,7 +136,7 @@ module.exports = Plotly;
136
136
 
137
137
  module.exports = _dereq_('../src/traces/isosurface');
138
138
 
139
- },{"../src/traces/isosurface":645}],6:[function(_dereq_,module,exports){
139
+ },{"../src/traces/isosurface":646}],6:[function(_dereq_,module,exports){
140
140
  /**
141
141
  * Copyright 2012-2020, Plotly, Inc.
142
142
  * All rights reserved.
@@ -149,7 +149,7 @@ module.exports = _dereq_('../src/traces/isosurface');
149
149
 
150
150
  module.exports = _dereq_('../src/traces/mesh3d');
151
151
 
152
- },{"../src/traces/mesh3d":650}],7:[function(_dereq_,module,exports){
152
+ },{"../src/traces/mesh3d":651}],7:[function(_dereq_,module,exports){
153
153
  /**
154
154
  * Copyright 2012-2020, Plotly, Inc.
155
155
  * All rights reserved.
@@ -162,7 +162,7 @@ module.exports = _dereq_('../src/traces/mesh3d');
162
162
 
163
163
  module.exports = _dereq_('../src/traces/scatter3d');
164
164
 
165
- },{"../src/traces/scatter3d":687}],8:[function(_dereq_,module,exports){
165
+ },{"../src/traces/scatter3d":688}],8:[function(_dereq_,module,exports){
166
166
  /**
167
167
  * Copyright 2012-2020, Plotly, Inc.
168
168
  * All rights reserved.
@@ -175,7 +175,7 @@ module.exports = _dereq_('../src/traces/scatter3d');
175
175
 
176
176
  module.exports = _dereq_('../src/traces/streamtube');
177
177
 
178
- },{"../src/traces/streamtube":692}],9:[function(_dereq_,module,exports){
178
+ },{"../src/traces/streamtube":693}],9:[function(_dereq_,module,exports){
179
179
  /**
180
180
  * Copyright 2012-2020, Plotly, Inc.
181
181
  * All rights reserved.
@@ -188,7 +188,7 @@ module.exports = _dereq_('../src/traces/streamtube');
188
188
 
189
189
  module.exports = _dereq_('../src/traces/surface');
190
190
 
191
- },{"../src/traces/surface":697}],10:[function(_dereq_,module,exports){
191
+ },{"../src/traces/surface":698}],10:[function(_dereq_,module,exports){
192
192
  /**
193
193
  * Copyright 2012-2020, Plotly, Inc.
194
194
  * All rights reserved.
@@ -201,7 +201,7 @@ module.exports = _dereq_('../src/traces/surface');
201
201
 
202
202
  module.exports = _dereq_('../src/traces/volume');
203
203
 
204
- },{"../src/traces/volume":701}],11:[function(_dereq_,module,exports){
204
+ },{"../src/traces/volume":702}],11:[function(_dereq_,module,exports){
205
205
  'use strict'
206
206
 
207
207
  module.exports = createViewController
@@ -55358,7 +55358,7 @@ module.exports = templatedArray('annotation', {
55358
55358
  }
55359
55359
  });
55360
55360
 
55361
- },{"../../constants/axis_placeable_objects":497,"../../plot_api/plot_template":560,"../../plots/cartesian/constants":577,"../../plots/font_attributes":599,"./arrow_paths":378}],380:[function(_dereq_,module,exports){
55361
+ },{"../../constants/axis_placeable_objects":497,"../../plot_api/plot_template":561,"../../plots/cartesian/constants":578,"../../plots/font_attributes":600,"./arrow_paths":378}],380:[function(_dereq_,module,exports){
55362
55362
  /**
55363
55363
  * Copyright 2012-2020, Plotly, Inc.
55364
55364
  * All rights reserved.
@@ -55449,7 +55449,7 @@ function calcAxisExpansion(ann, ax) {
55449
55449
  ann._extremes[axId] = extremes;
55450
55450
  }
55451
55451
 
55452
- },{"../../lib":524,"../../plots/cartesian/axes":571,"./draw":385}],381:[function(_dereq_,module,exports){
55452
+ },{"../../lib":524,"../../plots/cartesian/axes":572,"./draw":385}],381:[function(_dereq_,module,exports){
55453
55453
  /**
55454
55454
  * Copyright 2012-2020, Plotly, Inc.
55455
55455
  * All rights reserved.
@@ -55587,7 +55587,7 @@ function clickData2r(d, ax) {
55587
55587
  return ax.type === 'log' ? ax.l2r(d) : ax.d2r(d);
55588
55588
  }
55589
55589
 
55590
- },{"../../lib":524,"../../plot_api/plot_template":560,"../../registry":625}],382:[function(_dereq_,module,exports){
55590
+ },{"../../lib":524,"../../plot_api/plot_template":561,"../../registry":626}],382:[function(_dereq_,module,exports){
55591
55591
  /**
55592
55592
  * Copyright 2012-2020, Plotly, Inc.
55593
55593
  * All rights reserved.
@@ -55729,7 +55729,7 @@ module.exports = function convertCoords(gd, ax, newType, doExtra) {
55729
55729
  }
55730
55730
  };
55731
55731
 
55732
- },{"../../lib/to_log_range":549,"fast-isnumeric":91}],384:[function(_dereq_,module,exports){
55732
+ },{"../../lib/to_log_range":550,"fast-isnumeric":91}],384:[function(_dereq_,module,exports){
55733
55733
  /**
55734
55734
  * Copyright 2012-2020, Plotly, Inc.
55735
55735
  * All rights reserved.
@@ -55837,7 +55837,7 @@ function handleAnnotationDefaults(annIn, annOut, fullLayout) {
55837
55837
  }
55838
55838
  }
55839
55839
 
55840
- },{"../../lib":524,"../../plots/array_container_defaults":566,"../../plots/cartesian/axes":571,"./attributes":379,"./common_defaults":382}],385:[function(_dereq_,module,exports){
55840
+ },{"../../lib":524,"../../plots/array_container_defaults":567,"../../plots/cartesian/axes":572,"./attributes":379,"./common_defaults":382}],385:[function(_dereq_,module,exports){
55841
55841
  /**
55842
55842
  * Copyright 2012-2020, Plotly, Inc.
55843
55843
  * All rights reserved.
@@ -56598,7 +56598,7 @@ function drawRaw(gd, options, index, subplotId, xa, ya) {
56598
56598
  } else annText.call(textLayout);
56599
56599
  }
56600
56600
 
56601
- },{"../../lib":524,"../../lib/setcursor":543,"../../lib/svg_text_utils":547,"../../plot_api/plot_template":560,"../../plots/cartesian/axes":571,"../../plots/plots":616,"../../registry":625,"../color":394,"../dragelement":413,"../drawing":416,"../fx":434,"./draw_arrow_head":386,"d3":82}],386:[function(_dereq_,module,exports){
56601
+ },{"../../lib":524,"../../lib/setcursor":544,"../../lib/svg_text_utils":548,"../../plot_api/plot_template":561,"../../plots/cartesian/axes":572,"../../plots/plots":617,"../../registry":626,"../color":394,"../dragelement":413,"../drawing":416,"../fx":434,"./draw_arrow_head":386,"d3":82}],386:[function(_dereq_,module,exports){
56602
56602
  /**
56603
56603
  * Copyright 2012-2020, Plotly, Inc.
56604
56604
  * All rights reserved.
@@ -56788,7 +56788,7 @@ module.exports = {
56788
56788
  convertCoords: _dereq_('./convert_coords')
56789
56789
  };
56790
56790
 
56791
- },{"../../plots/cartesian/include_components":583,"./attributes":379,"./calc_autorange":380,"./click":381,"./convert_coords":383,"./defaults":384,"./draw":385}],388:[function(_dereq_,module,exports){
56791
+ },{"../../plots/cartesian/include_components":584,"./attributes":379,"./calc_autorange":380,"./click":381,"./convert_coords":383,"./defaults":384,"./draw":385}],388:[function(_dereq_,module,exports){
56792
56792
  /**
56793
56793
  * Copyright 2012-2020, Plotly, Inc.
56794
56794
  * All rights reserved.
@@ -56876,7 +56876,7 @@ module.exports = overrideAll(templatedArray('annotation', {
56876
56876
  // zref: 'z'
56877
56877
  }), 'calc', 'from-root');
56878
56878
 
56879
- },{"../../plot_api/edit_types":553,"../../plot_api/plot_template":560,"../annotations/attributes":379}],389:[function(_dereq_,module,exports){
56879
+ },{"../../plot_api/edit_types":554,"../../plot_api/plot_template":561,"../annotations/attributes":379}],389:[function(_dereq_,module,exports){
56880
56880
  /**
56881
56881
  * Copyright 2012-2020, Plotly, Inc.
56882
56882
  * All rights reserved.
@@ -56941,7 +56941,7 @@ function mockAnnAxes(ann, scene) {
56941
56941
  };
56942
56942
  }
56943
56943
 
56944
- },{"../../lib":524,"../../plots/cartesian/axes":571}],390:[function(_dereq_,module,exports){
56944
+ },{"../../lib":524,"../../plots/cartesian/axes":572}],390:[function(_dereq_,module,exports){
56945
56945
  /**
56946
56946
  * Copyright 2012-2020, Plotly, Inc.
56947
56947
  * All rights reserved.
@@ -57017,7 +57017,7 @@ function handleAnnotationDefaults(annIn, annOut, sceneLayout, opts) {
57017
57017
  }
57018
57018
  }
57019
57019
 
57020
- },{"../../lib":524,"../../plots/array_container_defaults":566,"../../plots/cartesian/axes":571,"../annotations/common_defaults":382,"./attributes":388}],391:[function(_dereq_,module,exports){
57020
+ },{"../../lib":524,"../../plots/array_container_defaults":567,"../../plots/cartesian/axes":572,"../annotations/common_defaults":382,"./attributes":388}],391:[function(_dereq_,module,exports){
57021
57021
  /**
57022
57022
  * Copyright 2012-2020, Plotly, Inc.
57023
57023
  * All rights reserved.
@@ -57069,7 +57069,7 @@ module.exports = function draw(scene) {
57069
57069
  }
57070
57070
  };
57071
57071
 
57072
- },{"../../plots/gl3d/project":611,"../annotations/draw":385}],392:[function(_dereq_,module,exports){
57072
+ },{"../../plots/gl3d/project":612,"../annotations/draw":385}],392:[function(_dereq_,module,exports){
57073
57073
  /**
57074
57074
  * Copyright 2012-2020, Plotly, Inc.
57075
57075
  * All rights reserved.
@@ -57117,7 +57117,7 @@ function includeGL3D(layoutIn, layoutOut) {
57117
57117
  }
57118
57118
  }
57119
57119
 
57120
- },{"../../lib":524,"../../registry":625,"./attributes":388,"./convert":389,"./defaults":390,"./draw":391}],393:[function(_dereq_,module,exports){
57120
+ },{"../../lib":524,"../../registry":626,"./attributes":388,"./convert":389,"./defaults":390,"./draw":391}],393:[function(_dereq_,module,exports){
57121
57121
  /**
57122
57122
  * Copyright 2012-2020, Plotly, Inc.
57123
57123
  * All rights reserved.
@@ -57522,7 +57522,7 @@ module.exports = overrideAll({
57522
57522
  }
57523
57523
  }, 'colorbars', 'from-root');
57524
57524
 
57525
- },{"../../lib/extend":517,"../../plot_api/edit_types":553,"../../plots/cartesian/layout_attributes":585,"../../plots/font_attributes":599}],396:[function(_dereq_,module,exports){
57525
+ },{"../../lib/extend":517,"../../plot_api/edit_types":554,"../../plots/cartesian/layout_attributes":586,"../../plots/font_attributes":600}],396:[function(_dereq_,module,exports){
57526
57526
  /**
57527
57527
  * Copyright 2012-2020, Plotly, Inc.
57528
57528
  * All rights reserved.
@@ -57620,7 +57620,7 @@ module.exports = function colorbarDefaults(containerIn, containerOut, layout) {
57620
57620
  coerce('title.side');
57621
57621
  };
57622
57622
 
57623
- },{"../../lib":524,"../../plot_api/plot_template":560,"../../plots/cartesian/tick_label_defaults":592,"../../plots/cartesian/tick_mark_defaults":593,"../../plots/cartesian/tick_value_defaults":594,"./attributes":395}],398:[function(_dereq_,module,exports){
57623
+ },{"../../lib":524,"../../plot_api/plot_template":561,"../../plots/cartesian/tick_label_defaults":593,"../../plots/cartesian/tick_mark_defaults":594,"../../plots/cartesian/tick_value_defaults":595,"./attributes":395}],398:[function(_dereq_,module,exports){
57624
57624
  /**
57625
57625
  * Copyright 2012-2020, Plotly, Inc.
57626
57626
  * All rights reserved.
@@ -58354,7 +58354,7 @@ module.exports = {
58354
58354
  draw: draw
58355
58355
  };
58356
58356
 
58357
- },{"../../constants/alignment":496,"../../lib":524,"../../lib/extend":517,"../../lib/setcursor":543,"../../lib/svg_text_utils":547,"../../plots/cartesian/axes":571,"../../plots/cartesian/axis_defaults":573,"../../plots/cartesian/layout_attributes":585,"../../plots/cartesian/position_defaults":588,"../../plots/plots":616,"../../registry":625,"../color":394,"../colorscale/helpers":405,"../dragelement":413,"../drawing":416,"../titles":489,"./constants":396,"d3":82,"tinycolor2":360}],399:[function(_dereq_,module,exports){
58357
+ },{"../../constants/alignment":496,"../../lib":524,"../../lib/extend":517,"../../lib/setcursor":544,"../../lib/svg_text_utils":548,"../../plots/cartesian/axes":572,"../../plots/cartesian/axis_defaults":574,"../../plots/cartesian/layout_attributes":586,"../../plots/cartesian/position_defaults":589,"../../plots/plots":617,"../../registry":626,"../color":394,"../colorscale/helpers":405,"../dragelement":413,"../drawing":416,"../titles":489,"./constants":396,"d3":82,"tinycolor2":360}],399:[function(_dereq_,module,exports){
58358
58358
  /**
58359
58359
  * Copyright 2012-2020, Plotly, Inc.
58360
58360
  * All rights reserved.
@@ -58603,7 +58603,7 @@ module.exports = function colorScaleAttrs(context, opts) {
58603
58603
  return attrs;
58604
58604
  };
58605
58605
 
58606
- },{"../../lib/regex":539,"../colorbar/attributes":395,"./scales.js":409}],402:[function(_dereq_,module,exports){
58606
+ },{"../../lib/regex":540,"../colorbar/attributes":395,"./scales.js":409}],402:[function(_dereq_,module,exports){
58607
58607
  /**
58608
58608
  * Copyright 2012-2020, Plotly, Inc.
58609
58609
  * All rights reserved.
@@ -58884,7 +58884,7 @@ module.exports = function colorScaleDefaults(parentContIn, parentContOut, layout
58884
58884
  }
58885
58885
  };
58886
58886
 
58887
- },{"../../lib":524,"../../registry":625,"../colorbar/defaults":397,"../colorbar/has_colorbar":399,"./scales":409,"fast-isnumeric":91}],405:[function(_dereq_,module,exports){
58887
+ },{"../../lib":524,"../../registry":626,"../colorbar/defaults":397,"../colorbar/has_colorbar":399,"./scales":409,"fast-isnumeric":91}],405:[function(_dereq_,module,exports){
58888
58888
  /**
58889
58889
  * Copyright 2012-2020, Plotly, Inc.
58890
58890
  * All rights reserved.
@@ -59152,7 +59152,7 @@ module.exports = {
59152
59152
  calc: _dereq_('./calc'),
59153
59153
 
59154
59154
  // ./scales.js is required in lib/coerce.js ;
59155
- // it needs to be a seperate module to avoid circular a dependency
59155
+ // it needs to be a separate module to avoid circular a dependency
59156
59156
  scales: scales.scales,
59157
59157
  defaultScale: scales.defaultScale,
59158
59158
  getScale: scales.get,
@@ -59278,7 +59278,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
59278
59278
  }
59279
59279
  };
59280
59280
 
59281
- },{"../../lib":524,"../../plot_api/plot_template":560,"./defaults":404,"./layout_attributes":407}],409:[function(_dereq_,module,exports){
59281
+ },{"../../lib":524,"../../plot_api/plot_template":561,"./defaults":404,"./layout_attributes":407}],409:[function(_dereq_,module,exports){
59282
59282
  /**
59283
59283
  * Copyright 2012-2020, Plotly, Inc.
59284
59284
  * All rights reserved.
@@ -59904,7 +59904,7 @@ function pointerOffset(e) {
59904
59904
  );
59905
59905
  }
59906
59906
 
59907
- },{"../../lib":524,"../../plots/cartesian/constants":577,"./align":410,"./cursor":411,"./unhover":414,"has-hover":267,"has-passive-events":268,"mouse-event-offset":290}],414:[function(_dereq_,module,exports){
59907
+ },{"../../lib":524,"../../plots/cartesian/constants":578,"./align":410,"./cursor":411,"./unhover":414,"has-hover":267,"has-passive-events":268,"mouse-event-offset":290}],414:[function(_dereq_,module,exports){
59908
59908
  /**
59909
59909
  * Copyright 2012-2020, Plotly, Inc.
59910
59910
  * All rights reserved.
@@ -59959,7 +59959,7 @@ unhover.raw = function raw(gd, evt) {
59959
59959
  }
59960
59960
  };
59961
59961
 
59962
- },{"../../lib/dom":515,"../../lib/events":516,"../../lib/throttle":548,"../fx/constants":428}],415:[function(_dereq_,module,exports){
59962
+ },{"../../lib/dom":515,"../../lib/events":516,"../../lib/throttle":549,"../fx/constants":428}],415:[function(_dereq_,module,exports){
59963
59963
  /**
59964
59964
  * Copyright 2012-2020, Plotly, Inc.
59965
59965
  * All rights reserved.
@@ -61181,7 +61181,7 @@ drawing.setTextPointsScale = function(selection, xScale, yScale) {
61181
61181
  });
61182
61182
  };
61183
61183
 
61184
- },{"../../components/fx/helpers":430,"../../constants/alignment":496,"../../constants/interactions":501,"../../constants/xmlns_namespaces":503,"../../lib":524,"../../lib/svg_text_utils":547,"../../registry":625,"../../traces/scatter/make_bubble_size_func":671,"../../traces/scatter/subtypes":679,"../color":394,"../colorscale":406,"./symbol_defs":417,"d3":82,"fast-isnumeric":91,"tinycolor2":360}],417:[function(_dereq_,module,exports){
61184
+ },{"../../components/fx/helpers":430,"../../constants/alignment":496,"../../constants/interactions":501,"../../constants/xmlns_namespaces":503,"../../lib":524,"../../lib/svg_text_utils":548,"../../registry":626,"../../traces/scatter/make_bubble_size_func":672,"../../traces/scatter/subtypes":680,"../color":394,"../colorscale":406,"./symbol_defs":417,"d3":82,"fast-isnumeric":91,"tinycolor2":360}],417:[function(_dereq_,module,exports){
61185
61185
  /**
61186
61186
  * Copyright 2012-2020, Plotly, Inc.
61187
61187
  * All rights reserved.
@@ -61946,7 +61946,7 @@ function calcOneAxis(calcTrace, trace, axis, coord) {
61946
61946
  baseExtremes.max = baseExtremes.max.concat(extremes.max);
61947
61947
  }
61948
61948
 
61949
- },{"../../lib":524,"../../plots/cartesian/axes":571,"../../registry":625,"./compute_error":420,"fast-isnumeric":91}],420:[function(_dereq_,module,exports){
61949
+ },{"../../lib":524,"../../plots/cartesian/axes":572,"../../registry":626,"./compute_error":420,"fast-isnumeric":91}],420:[function(_dereq_,module,exports){
61950
61950
  /**
61951
61951
  * Copyright 2012-2020, Plotly, Inc.
61952
61952
  * All rights reserved.
@@ -62122,7 +62122,7 @@ module.exports = function(traceIn, traceOut, defaultColor, opts) {
62122
62122
  }
62123
62123
  };
62124
62124
 
62125
- },{"../../lib":524,"../../plot_api/plot_template":560,"../../registry":625,"./attributes":418,"fast-isnumeric":91}],422:[function(_dereq_,module,exports){
62125
+ },{"../../lib":524,"../../plot_api/plot_template":561,"../../registry":626,"./attributes":418,"fast-isnumeric":91}],422:[function(_dereq_,module,exports){
62126
62126
  /**
62127
62127
  * Copyright 2012-2020, Plotly, Inc.
62128
62128
  * All rights reserved.
@@ -62191,7 +62191,7 @@ function hoverInfo(calcPoint, trace, hoverPoint) {
62191
62191
  }
62192
62192
  }
62193
62193
 
62194
- },{"../../lib":524,"../../plot_api/edit_types":553,"./attributes":418,"./calc":419,"./compute_error":420,"./defaults":421,"./plot":423,"./style":424}],423:[function(_dereq_,module,exports){
62194
+ },{"../../lib":524,"../../plot_api/edit_types":554,"./attributes":418,"./calc":419,"./compute_error":420,"./defaults":421,"./plot":423,"./style":424}],423:[function(_dereq_,module,exports){
62195
62195
  /**
62196
62196
  * Copyright 2012-2020, Plotly, Inc.
62197
62197
  * All rights reserved.
@@ -62363,7 +62363,7 @@ function errorCoords(d, xa, ya) {
62363
62363
  return out;
62364
62364
  }
62365
62365
 
62366
- },{"../../traces/scatter/subtypes":679,"../drawing":416,"d3":82,"fast-isnumeric":91}],424:[function(_dereq_,module,exports){
62366
+ },{"../../traces/scatter/subtypes":680,"../drawing":416,"d3":82,"fast-isnumeric":91}],424:[function(_dereq_,module,exports){
62367
62367
  /**
62368
62368
  * Copyright 2012-2020, Plotly, Inc.
62369
62369
  * All rights reserved.
@@ -62436,7 +62436,7 @@ module.exports = {
62436
62436
  }
62437
62437
  };
62438
62438
 
62439
- },{"../../lib/extend":517,"../../plots/font_attributes":599,"./layout_attributes":435}],426:[function(_dereq_,module,exports){
62439
+ },{"../../lib/extend":517,"../../plots/font_attributes":600,"./layout_attributes":435}],426:[function(_dereq_,module,exports){
62440
62440
  /**
62441
62441
  * Copyright 2012-2020, Plotly, Inc.
62442
62442
  * All rights reserved.
@@ -62495,7 +62495,7 @@ function paste(traceAttr, cd, cdAttr, fn) {
62495
62495
  }
62496
62496
  }
62497
62497
 
62498
- },{"../../lib":524,"../../registry":625}],427:[function(_dereq_,module,exports){
62498
+ },{"../../lib":524,"../../registry":626}],427:[function(_dereq_,module,exports){
62499
62499
  /**
62500
62500
  * Copyright 2012-2020, Plotly, Inc.
62501
62501
  * All rights reserved.
@@ -62532,7 +62532,7 @@ module.exports = function click(gd, evt, subplot) {
62532
62532
  }
62533
62533
  };
62534
62534
 
62535
- },{"../../registry":625,"./hover":431}],428:[function(_dereq_,module,exports){
62535
+ },{"../../registry":626,"./hover":431}],428:[function(_dereq_,module,exports){
62536
62536
  /**
62537
62537
  * Copyright 2012-2020, Plotly, Inc.
62538
62538
  * All rights reserved.
@@ -64161,7 +64161,7 @@ function getHoverLabelText(d, showCommonLabel, hovermode, fullLayout, t0, g) {
64161
64161
 
64162
64162
  // Make groups of touching points, and within each group
64163
64163
  // move each point so that no labels overlap, but the average
64164
- // label position is the same as it was before moving. Indicentally,
64164
+ // label position is the same as it was before moving. Incidentally,
64165
64165
  // this is equivalent to saying all the labels are on equal linear
64166
64166
  // springs about their initial position. Initially, each point is
64167
64167
  // its own group, but as we find overlaps we will clump the points.
@@ -64724,7 +64724,7 @@ function plainText(s, len) {
64724
64724
  });
64725
64725
  }
64726
64726
 
64727
- },{"../../lib":524,"../../lib/events":516,"../../lib/override_cursor":535,"../../lib/svg_text_utils":547,"../../plots/cartesian/axes":571,"../../registry":625,"../color":394,"../dragelement":413,"../drawing":416,"../legend/defaults":446,"../legend/draw":447,"./constants":428,"./helpers":430,"d3":82,"fast-isnumeric":91,"tinycolor2":360}],432:[function(_dereq_,module,exports){
64727
+ },{"../../lib":524,"../../lib/events":516,"../../lib/override_cursor":535,"../../lib/svg_text_utils":548,"../../plots/cartesian/axes":572,"../../registry":626,"../color":394,"../dragelement":413,"../drawing":416,"../legend/defaults":446,"../legend/draw":447,"./constants":428,"./helpers":430,"d3":82,"fast-isnumeric":91,"tinycolor2":360}],432:[function(_dereq_,module,exports){
64728
64728
  /**
64729
64729
  * Copyright 2012-2020, Plotly, Inc.
64730
64730
  * All rights reserved.
@@ -65021,7 +65021,7 @@ module.exports = {
65021
65021
  }
65022
65022
  };
65023
65023
 
65024
- },{"../../plots/font_attributes":599,"./constants":428}],436:[function(_dereq_,module,exports){
65024
+ },{"../../plots/font_attributes":600,"./constants":428}],436:[function(_dereq_,module,exports){
65025
65025
  /**
65026
65026
  * Copyright 2012-2020, Plotly, Inc.
65027
65027
  * All rights reserved.
@@ -65466,7 +65466,7 @@ module.exports = {
65466
65466
  contentDefaults: contentDefaults
65467
65467
  };
65468
65468
 
65469
- },{"../../lib":524,"../../lib/regex":539,"../../plot_api/plot_template":560,"../../plots/cartesian/constants":577,"../../plots/domain":598}],439:[function(_dereq_,module,exports){
65469
+ },{"../../lib":524,"../../lib/regex":540,"../../plot_api/plot_template":561,"../../plots/cartesian/constants":578,"../../plots/domain":599}],439:[function(_dereq_,module,exports){
65470
65470
  /**
65471
65471
  * Copyright 2012-2020, Plotly, Inc.
65472
65472
  * All rights reserved.
@@ -65602,7 +65602,7 @@ module.exports = templatedArray('image', {
65602
65602
  editType: 'arraydraw'
65603
65603
  });
65604
65604
 
65605
- },{"../../constants/axis_placeable_objects":497,"../../plot_api/plot_template":560,"../../plots/cartesian/constants":577}],440:[function(_dereq_,module,exports){
65605
+ },{"../../constants/axis_placeable_objects":497,"../../plot_api/plot_template":561,"../../plots/cartesian/constants":578}],440:[function(_dereq_,module,exports){
65606
65606
  /**
65607
65607
  * Copyright 2012-2020, Plotly, Inc.
65608
65608
  * All rights reserved.
@@ -65683,7 +65683,7 @@ module.exports = function convertCoords(gd, ax, newType, doExtra) {
65683
65683
  }
65684
65684
  };
65685
65685
 
65686
- },{"../../lib/to_log_range":549,"fast-isnumeric":91}],441:[function(_dereq_,module,exports){
65686
+ },{"../../lib/to_log_range":550,"fast-isnumeric":91}],441:[function(_dereq_,module,exports){
65687
65687
  /**
65688
65688
  * Copyright 2012-2020, Plotly, Inc.
65689
65689
  * All rights reserved.
@@ -65748,7 +65748,7 @@ function imageDefaults(imageIn, imageOut, fullLayout) {
65748
65748
  return imageOut;
65749
65749
  }
65750
65750
 
65751
- },{"../../lib":524,"../../plots/array_container_defaults":566,"../../plots/cartesian/axes":571,"./attributes":439}],442:[function(_dereq_,module,exports){
65751
+ },{"../../lib":524,"../../plots/array_container_defaults":567,"../../plots/cartesian/axes":572,"./attributes":439}],442:[function(_dereq_,module,exports){
65752
65752
  /**
65753
65753
  * Copyright 2012-2020, Plotly, Inc.
65754
65754
  * All rights reserved.
@@ -66006,7 +66006,7 @@ module.exports = function draw(gd) {
66006
66006
  }
66007
66007
  };
66008
66008
 
66009
- },{"../../constants/xmlns_namespaces":503,"../../plots/cartesian/axes":571,"../../plots/cartesian/axis_ids":574,"../drawing":416,"d3":82}],443:[function(_dereq_,module,exports){
66009
+ },{"../../constants/xmlns_namespaces":503,"../../plots/cartesian/axes":572,"../../plots/cartesian/axis_ids":575,"../drawing":416,"d3":82}],443:[function(_dereq_,module,exports){
66010
66010
  /**
66011
66011
  * Copyright 2012-2020, Plotly, Inc.
66012
66012
  * All rights reserved.
@@ -66030,7 +66030,7 @@ module.exports = {
66030
66030
  convertCoords: _dereq_('./convert_coords')
66031
66031
  };
66032
66032
 
66033
- },{"../../plots/cartesian/include_components":583,"./attributes":439,"./convert_coords":440,"./defaults":441,"./draw":442}],444:[function(_dereq_,module,exports){
66033
+ },{"../../plots/cartesian/include_components":584,"./attributes":439,"./convert_coords":440,"./defaults":441,"./draw":442}],444:[function(_dereq_,module,exports){
66034
66034
  /**
66035
66035
  * Copyright 2012-2020, Plotly, Inc.
66036
66036
  * All rights reserved.
@@ -66199,7 +66199,7 @@ module.exports = {
66199
66199
  editType: 'legend'
66200
66200
  };
66201
66201
 
66202
- },{"../../plots/font_attributes":599,"../color/attributes":393}],445:[function(_dereq_,module,exports){
66202
+ },{"../../plots/font_attributes":600,"../color/attributes":393}],445:[function(_dereq_,module,exports){
66203
66203
  /**
66204
66204
  * Copyright 2012-2020, Plotly, Inc.
66205
66205
  * All rights reserved.
@@ -66358,7 +66358,7 @@ module.exports = function legendDefaults(layoutIn, layoutOut, fullData) {
66358
66358
  }
66359
66359
  };
66360
66360
 
66361
- },{"../../lib":524,"../../plot_api/plot_template":560,"../../plots/layout_attributes":614,"../../registry":625,"./attributes":444,"./helpers":450}],447:[function(_dereq_,module,exports){
66361
+ },{"../../lib":524,"../../plot_api/plot_template":561,"../../plots/layout_attributes":615,"../../registry":626,"./attributes":444,"./helpers":450}],447:[function(_dereq_,module,exports){
66362
66362
  /**
66363
66363
  * Copyright 2012-2020, Plotly, Inc.
66364
66364
  * All rights reserved.
@@ -67155,7 +67155,7 @@ function getYanchor(opts) {
67155
67155
  'top';
67156
67156
  }
67157
67157
 
67158
- },{"../../constants/alignment":496,"../../lib":524,"../../lib/events":516,"../../lib/svg_text_utils":547,"../../plots/plots":616,"../../registry":625,"../color":394,"../dragelement":413,"../drawing":416,"./constants":445,"./get_legend_data":448,"./handle_click":449,"./helpers":450,"./style":452,"d3":82}],448:[function(_dereq_,module,exports){
67158
+ },{"../../constants/alignment":496,"../../lib":524,"../../lib/events":516,"../../lib/svg_text_utils":548,"../../plots/plots":617,"../../registry":626,"../color":394,"../dragelement":413,"../drawing":416,"./constants":445,"./get_legend_data":448,"./handle_click":449,"./helpers":450,"./style":452,"d3":82}],448:[function(_dereq_,module,exports){
67159
67159
  /**
67160
67160
  * Copyright 2012-2020, Plotly, Inc.
67161
67161
  * All rights reserved.
@@ -67264,7 +67264,7 @@ module.exports = function getLegendData(calcdata, opts) {
67264
67264
  return legendData;
67265
67265
  };
67266
67266
 
67267
- },{"../../registry":625,"./helpers":450}],449:[function(_dereq_,module,exports){
67267
+ },{"../../registry":626,"./helpers":450}],449:[function(_dereq_,module,exports){
67268
67268
  /**
67269
67269
  * Copyright 2012-2020, Plotly, Inc.
67270
67270
  * All rights reserved.
@@ -67503,7 +67503,7 @@ module.exports = function handleClick(g, gd, numClicks) {
67503
67503
  }
67504
67504
  };
67505
67505
 
67506
- },{"../../lib":524,"../../registry":625}],450:[function(_dereq_,module,exports){
67506
+ },{"../../lib":524,"../../registry":626}],450:[function(_dereq_,module,exports){
67507
67507
  /**
67508
67508
  * Copyright 2012-2020, Plotly, Inc.
67509
67509
  * All rights reserved.
@@ -68184,7 +68184,7 @@ function getGradientDirection(reversescale, isRadial) {
68184
68184
  return str + (reversescale ? '' : 'reversed');
68185
68185
  }
68186
68186
 
68187
- },{"../../lib":524,"../../registry":625,"../../traces/pie/helpers":651,"../../traces/pie/style_one":652,"../../traces/scatter/subtypes":679,"../color":394,"../colorscale/helpers":405,"../drawing":416,"./constants":445,"d3":82}],453:[function(_dereq_,module,exports){
68187
+ },{"../../lib":524,"../../registry":626,"../../traces/pie/helpers":652,"../../traces/pie/style_one":653,"../../traces/scatter/subtypes":680,"../color":394,"../colorscale/helpers":405,"../drawing":416,"./constants":445,"d3":82}],453:[function(_dereq_,module,exports){
68188
68188
  /**
68189
68189
  * Copyright 2012-2020, Plotly, Inc.
68190
68190
  * All rights reserved.
@@ -68920,7 +68920,7 @@ function resetView(gd, subplotType) {
68920
68920
  Registry.call('_guiRelayout', gd, aObj);
68921
68921
  }
68922
68922
 
68923
- },{"../../fonts/ploticon":506,"../../lib":524,"../../plots/cartesian/axis_ids":574,"../../plots/plots":616,"../../registry":625,"../shapes/draw":475}],454:[function(_dereq_,module,exports){
68923
+ },{"../../fonts/ploticon":506,"../../lib":524,"../../plots/cartesian/axis_ids":575,"../../plots/plots":617,"../../registry":626,"../shapes/draw":475}],454:[function(_dereq_,module,exports){
68924
68924
  /**
68925
68925
  * Copyright 2012-2020, Plotly, Inc.
68926
68926
  * All rights reserved.
@@ -69230,7 +69230,7 @@ function fillCustomButton(customButtons) {
69230
69230
  return customButtons;
69231
69231
  }
69232
69232
 
69233
- },{"../../plots/cartesian/axis_ids":574,"../../registry":625,"../../traces/scatter/subtypes":679,"../fx/helpers":430,"./buttons":453,"./modebar":456}],456:[function(_dereq_,module,exports){
69233
+ },{"../../plots/cartesian/axis_ids":575,"../../registry":626,"../../traces/scatter/subtypes":680,"../fx/helpers":430,"./buttons":453,"./modebar":456}],456:[function(_dereq_,module,exports){
69234
69234
  /**
69235
69235
  * Copyright 2012-2020, Plotly, Inc.
69236
69236
  * All rights reserved.
@@ -69712,7 +69712,7 @@ module.exports = {
69712
69712
  editType: 'plot'
69713
69713
  };
69714
69714
 
69715
- },{"../../plot_api/plot_template":560,"../../plots/font_attributes":599,"../color/attributes":393}],458:[function(_dereq_,module,exports){
69715
+ },{"../../plot_api/plot_template":561,"../../plots/font_attributes":600,"../color/attributes":393}],458:[function(_dereq_,module,exports){
69716
69716
  /**
69717
69717
  * Copyright 2012-2020, Plotly, Inc.
69718
69718
  * All rights reserved.
@@ -69833,7 +69833,7 @@ function getPosDflt(containerOut, layout, counterAxes) {
69833
69833
  return [containerOut.domain[0], posY + constants.yPad];
69834
69834
  }
69835
69835
 
69836
- },{"../../lib":524,"../../plot_api/plot_template":560,"../../plots/array_container_defaults":566,"../color":394,"./attributes":457,"./constants":458}],460:[function(_dereq_,module,exports){
69836
+ },{"../../lib":524,"../../plot_api/plot_template":561,"../../plots/array_container_defaults":567,"../color":394,"./attributes":457,"./constants":458}],460:[function(_dereq_,module,exports){
69837
69837
  /**
69838
69838
  * Copyright 2012-2020, Plotly, Inc.
69839
69839
  * All rights reserved.
@@ -70088,7 +70088,7 @@ function reposition(gd, buttons, opts, axName, selector) {
70088
70088
  selector.attr('transform', strTranslate(lx, ly));
70089
70089
  }
70090
70090
 
70091
- },{"../../constants/alignment":496,"../../lib":524,"../../lib/svg_text_utils":547,"../../plots/cartesian/axis_ids":574,"../../plots/plots":616,"../../registry":625,"../color":394,"../drawing":416,"./constants":458,"./get_update_object":461,"d3":82}],461:[function(_dereq_,module,exports){
70091
+ },{"../../constants/alignment":496,"../../lib":524,"../../lib/svg_text_utils":548,"../../plots/cartesian/axis_ids":575,"../../plots/plots":617,"../../registry":626,"../color":394,"../drawing":416,"./constants":458,"./get_update_object":461,"d3":82}],461:[function(_dereq_,module,exports){
70092
70092
  /**
70093
70093
  * Copyright 2012-2020, Plotly, Inc.
70094
70094
  * All rights reserved.
@@ -70277,7 +70277,7 @@ module.exports = function calcAutorange(gd) {
70277
70277
  }
70278
70278
  };
70279
70279
 
70280
- },{"../../plots/cartesian/autorange":570,"../../plots/cartesian/axis_ids":574,"./constants":465}],465:[function(_dereq_,module,exports){
70280
+ },{"../../plots/cartesian/autorange":571,"../../plots/cartesian/axis_ids":575,"./constants":465}],465:[function(_dereq_,module,exports){
70281
70281
  /**
70282
70282
  * Copyright 2012-2020, Plotly, Inc.
70283
70283
  * All rights reserved.
@@ -70419,7 +70419,7 @@ module.exports = function handleDefaults(layoutIn, layoutOut, axName) {
70419
70419
  containerOut._input = containerIn;
70420
70420
  };
70421
70421
 
70422
- },{"../../lib":524,"../../plot_api/plot_template":560,"../../plots/cartesian/axis_ids":574,"./attributes":463,"./oppaxis_attributes":470}],467:[function(_dereq_,module,exports){
70422
+ },{"../../lib":524,"../../plot_api/plot_template":561,"../../plots/cartesian/axis_ids":575,"./attributes":463,"./oppaxis_attributes":470}],467:[function(_dereq_,module,exports){
70423
70423
  /**
70424
70424
  * Copyright 2012-2020, Plotly, Inc.
70425
70425
  * All rights reserved.
@@ -71063,7 +71063,7 @@ function drawGrabbers(rangeSlider, gd, axisOpts, opts) {
71063
71063
  grabAreaMax.attr('height', opts._height);
71064
71064
  }
71065
71065
 
71066
- },{"../../lib":524,"../../lib/setcursor":543,"../../plots/cartesian":584,"../../plots/cartesian/axis_ids":574,"../../plots/plots":616,"../../registry":625,"../color":394,"../dragelement":413,"../drawing":416,"../titles":489,"./constants":465,"d3":82}],468:[function(_dereq_,module,exports){
71066
+ },{"../../lib":524,"../../lib/setcursor":544,"../../plots/cartesian":585,"../../plots/cartesian/axis_ids":575,"../../plots/plots":617,"../../registry":626,"../color":394,"../dragelement":413,"../drawing":416,"../titles":489,"./constants":465,"d3":82}],468:[function(_dereq_,module,exports){
71067
71067
  /**
71068
71068
  * Copyright 2012-2020, Plotly, Inc.
71069
71069
  * All rights reserved.
@@ -71138,7 +71138,7 @@ exports.autoMarginOpts = function(gd, ax) {
71138
71138
  };
71139
71139
  };
71140
71140
 
71141
- },{"../../constants/alignment":496,"../../lib/svg_text_utils":547,"../../plots/cartesian/axis_ids":574,"./constants":465}],469:[function(_dereq_,module,exports){
71141
+ },{"../../constants/alignment":496,"../../lib/svg_text_utils":548,"../../plots/cartesian/axis_ids":575,"./constants":465}],469:[function(_dereq_,module,exports){
71142
71142
  /**
71143
71143
  * Copyright 2012-2020, Plotly, Inc.
71144
71144
  * All rights reserved.
@@ -71368,7 +71368,7 @@ module.exports = templatedArray('shape', {
71368
71368
  editType: 'arraydraw'
71369
71369
  });
71370
71370
 
71371
- },{"../../constants/axis_placeable_objects":497,"../../lib/extend":517,"../../plot_api/plot_template":560,"../../traces/scatter/attributes":654,"../annotations/attributes":379,"../drawing/attributes":415}],472:[function(_dereq_,module,exports){
71371
+ },{"../../constants/axis_placeable_objects":497,"../../lib/extend":517,"../../plot_api/plot_template":561,"../../traces/scatter/attributes":655,"../annotations/attributes":379,"../drawing/attributes":415}],472:[function(_dereq_,module,exports){
71372
71372
  /**
71373
71373
  * Copyright 2012-2020, Plotly, Inc.
71374
71374
  * All rights reserved.
@@ -71488,7 +71488,7 @@ function shapeBounds(ax, v0, v1, path, paramsToUse) {
71488
71488
  if(max >= min) return [min, max];
71489
71489
  }
71490
71490
 
71491
- },{"../../lib":524,"../../plots/cartesian/axes":571,"./constants":473,"./helpers":482}],473:[function(_dereq_,module,exports){
71491
+ },{"../../lib":524,"../../plots/cartesian/axes":572,"./constants":473,"./helpers":482}],473:[function(_dereq_,module,exports){
71492
71492
  /**
71493
71493
  * Copyright 2012-2020, Plotly, Inc.
71494
71494
  * All rights reserved.
@@ -71683,7 +71683,7 @@ function handleShapeDefaults(shapeIn, shapeOut, fullLayout) {
71683
71683
  }
71684
71684
  }
71685
71685
 
71686
- },{"../../lib":524,"../../plots/array_container_defaults":566,"../../plots/cartesian/axes":571,"./attributes":471,"./helpers":482}],475:[function(_dereq_,module,exports){
71686
+ },{"../../lib":524,"../../plots/array_container_defaults":567,"../../plots/cartesian/axes":572,"./attributes":471,"./helpers":482}],475:[function(_dereq_,module,exports){
71687
71687
  /**
71688
71688
  * Copyright 2012-2020, Plotly, Inc.
71689
71689
  * All rights reserved.
@@ -72457,7 +72457,7 @@ function eraseActiveShape(gd) {
72457
72457
  }
72458
72458
  }
72459
72459
 
72460
- },{"../../lib":524,"../../lib/setcursor":543,"../../plot_api/plot_template":560,"../../plots/cartesian/axes":571,"../../plots/cartesian/handle_outline":581,"../../registry":625,"../color":394,"../dragelement":413,"../drawing":416,"./constants":473,"./draw_newshape/display_outlines":479,"./draw_newshape/helpers":480,"./helpers":482}],476:[function(_dereq_,module,exports){
72460
+ },{"../../lib":524,"../../lib/setcursor":544,"../../plot_api/plot_template":561,"../../plots/cartesian/axes":572,"../../plots/cartesian/handle_outline":582,"../../registry":626,"../color":394,"../dragelement":413,"../drawing":416,"./constants":473,"./draw_newshape/display_outlines":479,"./draw_newshape/helpers":480,"./helpers":482}],476:[function(_dereq_,module,exports){
72461
72461
  /**
72462
72462
  * Copyright 2012-2020, Plotly, Inc.
72463
72463
  * All rights reserved.
@@ -72911,7 +72911,7 @@ function recordPositions(polygonsOut, polygonsIn) {
72911
72911
  return polygonsOut;
72912
72912
  }
72913
72913
 
72914
- },{"../../../plots/cartesian/handle_outline":581,"../../../registry":625,"../../dragelement":413,"../../dragelement/helpers":412,"./constants":477,"./helpers":480,"./newshapes":481}],480:[function(_dereq_,module,exports){
72914
+ },{"../../../plots/cartesian/handle_outline":582,"../../../registry":626,"../../dragelement":413,"../../dragelement/helpers":412,"./constants":477,"./helpers":480,"./newshapes":481}],480:[function(_dereq_,module,exports){
72915
72915
  /**
72916
72916
  * Copyright 2012-2020, Plotly, Inc.
72917
72917
  * All rights reserved.
@@ -73249,7 +73249,7 @@ exports.ellipseOver = function(pos) {
73249
73249
  };
73250
73250
  };
73251
73251
 
73252
- },{"../../../plots/cartesian/helpers":582,"./constants":477,"parse-svg-path":307}],481:[function(_dereq_,module,exports){
73252
+ },{"../../../plots/cartesian/helpers":583,"./constants":477,"parse-svg-path":307}],481:[function(_dereq_,module,exports){
73253
73253
  /**
73254
73254
  * Copyright 2012-2020, Plotly, Inc.
73255
73255
  * All rights reserved.
@@ -73508,7 +73508,7 @@ function fixDatesForPaths(polygons, xaxis, yaxis) {
73508
73508
  return polygons;
73509
73509
  }
73510
73510
 
73511
- },{"../../../plots/cartesian/handle_outline":581,"../../../plots/cartesian/helpers":582,"../../dragelement/helpers":412,"./constants":477,"./helpers":480}],482:[function(_dereq_,module,exports){
73511
+ },{"../../../plots/cartesian/handle_outline":582,"../../../plots/cartesian/helpers":583,"../../dragelement/helpers":412,"./constants":477,"./helpers":480}],482:[function(_dereq_,module,exports){
73512
73512
  /**
73513
73513
  * Copyright 2012-2020, Plotly, Inc.
73514
73514
  * All rights reserved.
@@ -73694,7 +73694,7 @@ module.exports = {
73694
73694
  drawOne: drawModule.drawOne
73695
73695
  };
73696
73696
 
73697
- },{"../../plots/cartesian/include_components":583,"./attributes":471,"./calc_autorange":472,"./defaults":474,"./draw":475,"./draw_newshape/defaults":478}],484:[function(_dereq_,module,exports){
73697
+ },{"../../plots/cartesian/include_components":584,"./attributes":471,"./calc_autorange":472,"./defaults":474,"./draw":475,"./draw_newshape/defaults":478}],484:[function(_dereq_,module,exports){
73698
73698
  /**
73699
73699
  * Copyright 2012-2020, Plotly, Inc.
73700
73700
  * All rights reserved.
@@ -73937,7 +73937,7 @@ module.exports = overrideAll(templatedArray('slider', {
73937
73937
  }
73938
73938
  }), 'arraydraw', 'from-root');
73939
73939
 
73940
- },{"../../lib/extend":517,"../../plot_api/edit_types":553,"../../plot_api/plot_template":560,"../../plots/animation_attributes":565,"../../plots/font_attributes":599,"../../plots/pad_attributes":615,"./constants":485}],485:[function(_dereq_,module,exports){
73940
+ },{"../../lib/extend":517,"../../plot_api/edit_types":554,"../../plot_api/plot_template":561,"../../plots/animation_attributes":566,"../../plots/font_attributes":600,"../../plots/pad_attributes":616,"./constants":485}],485:[function(_dereq_,module,exports){
73941
73941
  /**
73942
73942
  * Copyright 2012-2020, Plotly, Inc.
73943
73943
  * All rights reserved.
@@ -74146,7 +74146,7 @@ function stepDefaults(valueIn, valueOut) {
74146
74146
  }
74147
74147
  }
74148
74148
 
74149
- },{"../../lib":524,"../../plots/array_container_defaults":566,"./attributes":484,"./constants":485}],487:[function(_dereq_,module,exports){
74149
+ },{"../../lib":524,"../../plots/array_container_defaults":567,"./attributes":484,"./constants":485}],487:[function(_dereq_,module,exports){
74150
74150
  /**
74151
74151
  * Copyright 2012-2020, Plotly, Inc.
74152
74152
  * All rights reserved.
@@ -74720,7 +74720,7 @@ function setGripPosition(sliderGroup, sliderOpts, doTransition) {
74720
74720
  .ease(sliderOpts.transition.easing);
74721
74721
  }
74722
74722
 
74723
- // Drawing.setTranslate doesn't work here becasue of the transition duck-typing.
74723
+ // Drawing.setTranslate doesn't work here because of the transition duck-typing.
74724
74724
  // It's also not necessary because there are no other transitions to preserve.
74725
74725
  el.attr('transform', strTranslate(x - constants.gripWidth * 0.5, sliderOpts._dims.currentValueTotalHeight));
74726
74726
  }
@@ -74777,7 +74777,7 @@ function drawRail(sliderGroup, sliderOpts) {
74777
74777
  );
74778
74778
  }
74779
74779
 
74780
- },{"../../constants/alignment":496,"../../lib":524,"../../lib/svg_text_utils":547,"../../plot_api/plot_template":560,"../../plots/plots":616,"../color":394,"../drawing":416,"./constants":485,"d3":82}],488:[function(_dereq_,module,exports){
74780
+ },{"../../constants/alignment":496,"../../lib":524,"../../lib/svg_text_utils":548,"../../plot_api/plot_template":561,"../../plots/plots":617,"../color":394,"../drawing":416,"./constants":485,"d3":82}],488:[function(_dereq_,module,exports){
74781
74781
  /**
74782
74782
  * Copyright 2012-2020, Plotly, Inc.
74783
74783
  * All rights reserved.
@@ -75068,7 +75068,7 @@ module.exports = {
75068
75068
  draw: draw
75069
75069
  };
75070
75070
 
75071
- },{"../../constants/alignment":496,"../../constants/interactions":501,"../../lib":524,"../../lib/svg_text_utils":547,"../../plots/plots":616,"../../registry":625,"../color":394,"../drawing":416,"d3":82,"fast-isnumeric":91}],490:[function(_dereq_,module,exports){
75071
+ },{"../../constants/alignment":496,"../../constants/interactions":501,"../../lib":524,"../../lib/svg_text_utils":548,"../../plots/plots":617,"../../registry":626,"../color":394,"../drawing":416,"d3":82,"fast-isnumeric":91}],490:[function(_dereq_,module,exports){
75072
75072
  /**
75073
75073
  * Copyright 2012-2020, Plotly, Inc.
75074
75074
  * All rights reserved.
@@ -75237,7 +75237,7 @@ module.exports = overrideAll(templatedArray('updatemenu', {
75237
75237
  }
75238
75238
  }), 'arraydraw', 'from-root');
75239
75239
 
75240
- },{"../../lib/extend":517,"../../plot_api/edit_types":553,"../../plot_api/plot_template":560,"../../plots/font_attributes":599,"../../plots/pad_attributes":615,"../color/attributes":393}],491:[function(_dereq_,module,exports){
75240
+ },{"../../lib/extend":517,"../../plot_api/edit_types":554,"../../plot_api/plot_template":561,"../../plots/font_attributes":600,"../../plots/pad_attributes":616,"../color/attributes":393}],491:[function(_dereq_,module,exports){
75241
75241
  /**
75242
75242
  * Copyright 2012-2020, Plotly, Inc.
75243
75243
  * All rights reserved.
@@ -75401,7 +75401,7 @@ function buttonDefaults(buttonIn, buttonOut) {
75401
75401
  }
75402
75402
  }
75403
75403
 
75404
- },{"../../lib":524,"../../plots/array_container_defaults":566,"./attributes":490,"./constants":491}],493:[function(_dereq_,module,exports){
75404
+ },{"../../lib":524,"../../plots/array_container_defaults":567,"./attributes":490,"./constants":491}],493:[function(_dereq_,module,exports){
75405
75405
  /**
75406
75406
  * Copyright 2012-2020, Plotly, Inc.
75407
75407
  * All rights reserved.
@@ -76052,7 +76052,7 @@ function removeAllButtons(gButton, newMenuIndexAttr) {
76052
76052
  .selectAll('g.' + constants.dropdownButtonClassName).remove();
76053
76053
  }
76054
76054
 
76055
- },{"../../constants/alignment":496,"../../lib":524,"../../lib/svg_text_utils":547,"../../plot_api/plot_template":560,"../../plots/plots":616,"../color":394,"../drawing":416,"./constants":491,"./scrollbox":495,"d3":82}],494:[function(_dereq_,module,exports){
76055
+ },{"../../constants/alignment":496,"../../lib":524,"../../lib/svg_text_utils":548,"../../plot_api/plot_template":561,"../../plots/plots":617,"../color":394,"../drawing":416,"./constants":491,"./scrollbox":495,"d3":82}],494:[function(_dereq_,module,exports){
76056
76056
  arguments[4][488][0].apply(exports,arguments)
76057
76057
  },{"./attributes":490,"./constants":491,"./defaults":492,"./draw":493,"dup":488}],495:[function(_dereq_,module,exports){
76058
76058
  /**
@@ -76882,7 +76882,7 @@ exports.Queue = _dereq_('./lib/queue');
76882
76882
  // export d3 used in the bundle
76883
76883
  exports.d3 = _dereq_('d3');
76884
76884
 
76885
- },{"../build/plotcss":1,"./components/annotations":387,"./components/annotations3d":392,"./components/colorbar":400,"./components/colorscale":406,"./components/errorbars":422,"./components/fx":434,"./components/grid":438,"./components/images":443,"./components/legend":451,"./components/rangeselector":462,"./components/rangeslider":469,"./components/shapes":483,"./components/sliders":488,"./components/updatemenus":494,"./fonts/mathjax_config":505,"./fonts/ploticon":506,"./lib/queue":538,"./locale-en":551,"./locale-en-us":550,"./plot_api":555,"./plot_api/plot_schema":559,"./plots/plots":616,"./registry":625,"./snapshot":630,"./traces/scatter":666,"./version":702,"d3":82,"es6-promise":89}],505:[function(_dereq_,module,exports){
76885
+ },{"../build/plotcss":1,"./components/annotations":387,"./components/annotations3d":392,"./components/colorbar":400,"./components/colorscale":406,"./components/errorbars":422,"./components/fx":434,"./components/grid":438,"./components/images":443,"./components/legend":451,"./components/rangeselector":462,"./components/rangeslider":469,"./components/shapes":483,"./components/sliders":488,"./components/updatemenus":494,"./fonts/mathjax_config":505,"./fonts/ploticon":506,"./lib/queue":539,"./locale-en":552,"./locale-en-us":551,"./plot_api":556,"./plot_api/plot_schema":560,"./plots/plots":617,"./registry":626,"./snapshot":631,"./traces/scatter":667,"./version":703,"d3":82,"es6-promise":89}],505:[function(_dereq_,module,exports){
76886
76886
  /**
76887
76887
  * Copyright 2012-2020, Plotly, Inc.
76888
76888
  * All rights reserved.
@@ -78103,7 +78103,7 @@ function validate(value, opts) {
78103
78103
  }
78104
78104
  exports.validate = validate;
78105
78105
 
78106
- },{"../components/colorscale/scales":409,"../constants/interactions":501,"../plots/attributes":567,"./array":509,"./mod":531,"./nested_property":532,"./regex":539,"fast-isnumeric":91,"tinycolor2":360}],514:[function(_dereq_,module,exports){
78106
+ },{"../components/colorscale/scales":409,"../constants/interactions":501,"../plots/attributes":568,"./array":509,"./mod":531,"./nested_property":532,"./regex":540,"fast-isnumeric":91,"tinycolor2":360}],514:[function(_dereq_,module,exports){
78107
78107
  /**
78108
78108
  * Copyright 2012-2020, Plotly, Inc.
78109
78109
  * All rights reserved.
@@ -78704,7 +78704,7 @@ exports.findExactDates = function(data, calendar) {
78704
78704
  };
78705
78705
  };
78706
78706
 
78707
- },{"../constants/numerical":502,"../registry":625,"./loggers":528,"./mod":531,"d3-time-format":80,"fast-isnumeric":91}],515:[function(_dereq_,module,exports){
78707
+ },{"../constants/numerical":502,"../registry":626,"./loggers":528,"./mod":531,"d3-time-format":80,"fast-isnumeric":91}],515:[function(_dereq_,module,exports){
78708
78708
  /**
78709
78709
  * Copyright 2012-2020, Plotly, Inc.
78710
78710
  * All rights reserved.
@@ -79828,6 +79828,7 @@ lib.getElementAndAncestors = domModule.getElementAndAncestors;
79828
79828
  lib.equalDomRects = domModule.equalDomRects;
79829
79829
 
79830
79830
  lib.clearResponsive = _dereq_('./clear_responsive');
79831
+ lib.preserveDrawingBuffer = _dereq_('./preserve_drawing_buffer');
79831
79832
 
79832
79833
  lib.makeTraceGroups = _dereq_('./make_trace_groups');
79833
79834
 
@@ -80538,7 +80539,7 @@ lib.objectFromPath = function(path, value) {
80538
80539
  * lib.expandObjectPaths({'foo[1].bar': 10, 'foo[0].bar': 20});
80539
80540
  * => { foo: [{bar: 10}, {bar: 20}] }
80540
80541
  *
80541
- * It does NOT, however, merge mulitple mutliply-nested arrays::
80542
+ * It does NOT, however, merge multiple multiply-nested arrays::
80542
80543
  *
80543
80544
  * lib.expandObjectPaths({'marker[1].range[1]': 5, 'marker[1].range[0]': 4})
80544
80545
  * => { marker: [null, {range: 4}] }
@@ -80953,7 +80954,7 @@ lib.join2 = function(arr, mainSeparator, lastSeparator) {
80953
80954
  return arr.join(mainSeparator);
80954
80955
  };
80955
80956
 
80956
- },{"../constants/numerical":502,"./anchor_utils":507,"./angles":508,"./array":509,"./clean_number":510,"./clear_responsive":512,"./coerce":513,"./dates":514,"./dom":515,"./extend":517,"./filter_unique":518,"./filter_visible":519,"./geometry2d":520,"./identity":522,"./increment":523,"./is_plain_object":525,"./keyed_container":526,"./localize":527,"./loggers":528,"./make_trace_groups":529,"./matrix":530,"./mod":531,"./nested_property":532,"./noop":533,"./notifier":534,"./push_unique":537,"./regex":539,"./relative_attr":540,"./relink_private":541,"./search":542,"./stats":545,"./throttle":548,"./to_log_range":549,"d3":82,"d3-time-format":80,"fast-isnumeric":91}],525:[function(_dereq_,module,exports){
80957
+ },{"../constants/numerical":502,"./anchor_utils":507,"./angles":508,"./array":509,"./clean_number":510,"./clear_responsive":512,"./coerce":513,"./dates":514,"./dom":515,"./extend":517,"./filter_unique":518,"./filter_visible":519,"./geometry2d":520,"./identity":522,"./increment":523,"./is_plain_object":525,"./keyed_container":526,"./localize":527,"./loggers":528,"./make_trace_groups":529,"./matrix":530,"./mod":531,"./nested_property":532,"./noop":533,"./notifier":534,"./preserve_drawing_buffer":537,"./push_unique":538,"./regex":540,"./relative_attr":541,"./relink_private":542,"./search":543,"./stats":546,"./throttle":549,"./to_log_range":550,"d3":82,"d3-time-format":80,"fast-isnumeric":91}],525:[function(_dereq_,module,exports){
80957
80958
  /**
80958
80959
  * Copyright 2012-2020, Plotly, Inc.
80959
80960
  * All rights reserved.
@@ -81230,7 +81231,7 @@ module.exports = function localize(gd, s) {
81230
81231
  return s;
81231
81232
  };
81232
81233
 
81233
- },{"../registry":625}],528:[function(_dereq_,module,exports){
81234
+ },{"../registry":626}],528:[function(_dereq_,module,exports){
81234
81235
  /**
81235
81236
  * Copyright 2012-2020, Plotly, Inc.
81236
81237
  * All rights reserved.
@@ -81340,7 +81341,7 @@ function apply(f, args) {
81340
81341
  }
81341
81342
  }
81342
81343
 
81343
- },{"../plot_api/plot_config":558,"./notifier":534}],529:[function(_dereq_,module,exports){
81344
+ },{"../plot_api/plot_config":559,"./notifier":534}],529:[function(_dereq_,module,exports){
81344
81345
  /**
81345
81346
  * Copyright 2012-2020, Plotly, Inc.
81346
81347
  * All rights reserved.
@@ -81968,7 +81969,7 @@ module.exports = function overrideCursor(el3, csr) {
81968
81969
  }
81969
81970
  };
81970
81971
 
81971
- },{"./setcursor":543}],536:[function(_dereq_,module,exports){
81972
+ },{"./setcursor":544}],536:[function(_dereq_,module,exports){
81972
81973
  /**
81973
81974
  * Copyright 2012-2020, Plotly, Inc.
81974
81975
  * All rights reserved.
@@ -82231,6 +82232,76 @@ polygon.filter = function filter(pts, tolerance) {
82231
82232
 
82232
82233
  'use strict';
82233
82234
 
82235
+ var isNumeric = _dereq_('fast-isnumeric');
82236
+ var isMobileOrTablet = _dereq_('is-mobile');
82237
+
82238
+ module.exports = function preserveDrawingBuffer(opts) {
82239
+ var ua;
82240
+
82241
+ if(opts && opts.hasOwnProperty('userAgent')) {
82242
+ ua = opts.userAgent;
82243
+ } else {
82244
+ ua = getUserAgent();
82245
+ }
82246
+
82247
+ if(typeof ua !== 'string') return true;
82248
+
82249
+ var enable = isMobileOrTablet({
82250
+ ua: { headers: {'user-agent': ua }},
82251
+ tablet: true,
82252
+ featureDetect: false
82253
+ });
82254
+
82255
+ if(!enable) {
82256
+ var allParts = ua.split(' ');
82257
+ for(var i = 1; i < allParts.length; i++) {
82258
+ var part = allParts[i];
82259
+ if(part.indexOf('Safari') !== -1) {
82260
+ // find Safari version
82261
+ for(var k = i - 1; k > -1; k--) {
82262
+ var prevPart = allParts[k];
82263
+ if(prevPart.substr(0, 8) === 'Version/') {
82264
+ var v = prevPart.substr(8).split('.')[0];
82265
+ if(isNumeric(v)) v = +v;
82266
+ if(v >= 13) return true;
82267
+ }
82268
+ }
82269
+ }
82270
+ }
82271
+ }
82272
+
82273
+ return enable;
82274
+ };
82275
+
82276
+ function getUserAgent() {
82277
+ // similar to https://github.com/juliangruber/is-mobile/blob/91ca39ccdd4cfc5edfb5391e2515b923a730fbea/index.js#L14-L17
82278
+ var ua;
82279
+ if(typeof navigator !== 'undefined') {
82280
+ ua = navigator.userAgent;
82281
+ }
82282
+
82283
+ if(
82284
+ ua &&
82285
+ ua.headers &&
82286
+ typeof ua.headers['user-agent'] === 'string'
82287
+ ) {
82288
+ ua = ua.headers['user-agent'];
82289
+ }
82290
+
82291
+ return ua;
82292
+ }
82293
+
82294
+ },{"fast-isnumeric":91,"is-mobile":277}],538:[function(_dereq_,module,exports){
82295
+ /**
82296
+ * Copyright 2012-2020, Plotly, Inc.
82297
+ * All rights reserved.
82298
+ *
82299
+ * This source code is licensed under the MIT license found in the
82300
+ * LICENSE file in the root directory of this source tree.
82301
+ */
82302
+
82303
+ 'use strict';
82304
+
82234
82305
  /**
82235
82306
  * Push array with unique items
82236
82307
  *
@@ -82258,7 +82329,7 @@ module.exports = function pushUnique(array, item) {
82258
82329
  return array;
82259
82330
  };
82260
82331
 
82261
- },{}],538:[function(_dereq_,module,exports){
82332
+ },{}],539:[function(_dereq_,module,exports){
82262
82333
  /**
82263
82334
  * Copyright 2012-2020, Plotly, Inc.
82264
82335
  * All rights reserved.
@@ -82466,7 +82537,7 @@ queue.plotDo = function(gd, func, args) {
82466
82537
 
82467
82538
  module.exports = queue;
82468
82539
 
82469
- },{"../lib":524,"../plot_api/plot_config":558}],539:[function(_dereq_,module,exports){
82540
+ },{"../lib":524,"../plot_api/plot_config":559}],540:[function(_dereq_,module,exports){
82470
82541
  /**
82471
82542
  * Copyright 2012-2020, Plotly, Inc.
82472
82543
  * All rights reserved.
@@ -82496,7 +82567,7 @@ exports.counter = function(head, tail, openEnded, matchBeginning) {
82496
82567
  return new RegExp(startWithPrefix + head + '([2-9]|[1-9][0-9]+)?' + fullTail);
82497
82568
  };
82498
82569
 
82499
- },{}],540:[function(_dereq_,module,exports){
82570
+ },{}],541:[function(_dereq_,module,exports){
82500
82571
  /**
82501
82572
  * Copyright 2012-2020, Plotly, Inc.
82502
82573
  * All rights reserved.
@@ -82549,7 +82620,7 @@ module.exports = function(baseAttr, relativeAttr) {
82549
82620
  return baseAttr + relativeAttr;
82550
82621
  };
82551
82622
 
82552
- },{}],541:[function(_dereq_,module,exports){
82623
+ },{}],542:[function(_dereq_,module,exports){
82553
82624
  /**
82554
82625
  * Copyright 2012-2020, Plotly, Inc.
82555
82626
  * All rights reserved.
@@ -82606,7 +82677,7 @@ module.exports = function relinkPrivateKeys(toContainer, fromContainer) {
82606
82677
  }
82607
82678
  };
82608
82679
 
82609
- },{"./array":509,"./is_plain_object":525}],542:[function(_dereq_,module,exports){
82680
+ },{"./array":509,"./is_plain_object":525}],543:[function(_dereq_,module,exports){
82610
82681
  /**
82611
82682
  * Copyright 2012-2020, Plotly, Inc.
82612
82683
  * All rights reserved.
@@ -82811,7 +82882,7 @@ exports.findIndexOfMin = function(arr, fn) {
82811
82882
  return ind;
82812
82883
  };
82813
82884
 
82814
- },{"../constants/numerical":502,"./identity":522,"./loggers":528,"fast-isnumeric":91}],543:[function(_dereq_,module,exports){
82885
+ },{"../constants/numerical":502,"./identity":522,"./loggers":528,"fast-isnumeric":91}],544:[function(_dereq_,module,exports){
82815
82886
  /**
82816
82887
  * Copyright 2012-2020, Plotly, Inc.
82817
82888
  * All rights reserved.
@@ -82834,7 +82905,7 @@ module.exports = function setCursor(el3, csr) {
82834
82905
  if(csr) el3.classed('cursor-' + csr, true);
82835
82906
  };
82836
82907
 
82837
- },{}],544:[function(_dereq_,module,exports){
82908
+ },{}],545:[function(_dereq_,module,exports){
82838
82909
  /**
82839
82910
  * Copyright 2012-2020, Plotly, Inc.
82840
82911
  * All rights reserved.
@@ -82898,7 +82969,7 @@ module.exports = function showNoWebGlMsg(scene) {
82898
82969
  return false;
82899
82970
  };
82900
82971
 
82901
- },{"../components/color":394}],545:[function(_dereq_,module,exports){
82972
+ },{"../components/color":394}],546:[function(_dereq_,module,exports){
82902
82973
  /**
82903
82974
  * Copyright 2012-2020, Plotly, Inc.
82904
82975
  * All rights reserved.
@@ -83008,7 +83079,7 @@ exports.interp = function(arr, n) {
83008
83079
  return frac * arr[Math.ceil(n)] + (1 - frac) * arr[Math.floor(n)];
83009
83080
  };
83010
83081
 
83011
- },{"./array":509,"fast-isnumeric":91}],546:[function(_dereq_,module,exports){
83082
+ },{"./array":509,"fast-isnumeric":91}],547:[function(_dereq_,module,exports){
83012
83083
  /**
83013
83084
  * Copyright 2012-2020, Plotly, Inc.
83014
83085
  * All rights reserved.
@@ -83029,7 +83100,7 @@ function str2RgbaArray(color) {
83029
83100
 
83030
83101
  module.exports = str2RgbaArray;
83031
83102
 
83032
- },{"color-normalize":62}],547:[function(_dereq_,module,exports){
83103
+ },{"color-normalize":62}],548:[function(_dereq_,module,exports){
83033
83104
  /**
83034
83105
  * Copyright 2012-2020, Plotly, Inc.
83035
83106
  * All rights reserved.
@@ -83920,7 +83991,7 @@ exports.makeEditable = function(context, options) {
83920
83991
  return d3.rebind(context, dispatch, 'on');
83921
83992
  };
83922
83993
 
83923
- },{"../constants/alignment":496,"../constants/xmlns_namespaces":503,"../lib":524,"d3":82}],548:[function(_dereq_,module,exports){
83994
+ },{"../constants/alignment":496,"../constants/xmlns_namespaces":503,"../lib":524,"d3":82}],549:[function(_dereq_,module,exports){
83924
83995
  /**
83925
83996
  * Copyright 2012-2020, Plotly, Inc.
83926
83997
  * All rights reserved.
@@ -84023,7 +84094,7 @@ function _clearTimeout(cache) {
84023
84094
  }
84024
84095
  }
84025
84096
 
84026
- },{}],549:[function(_dereq_,module,exports){
84097
+ },{}],550:[function(_dereq_,module,exports){
84027
84098
  /**
84028
84099
  * Copyright 2012-2020, Plotly, Inc.
84029
84100
  * All rights reserved.
@@ -84051,7 +84122,7 @@ module.exports = function toLogRange(val, range) {
84051
84122
  return newVal;
84052
84123
  };
84053
84124
 
84054
- },{"fast-isnumeric":91}],550:[function(_dereq_,module,exports){
84125
+ },{"fast-isnumeric":91}],551:[function(_dereq_,module,exports){
84055
84126
  /**
84056
84127
  * Copyright 2012-2020, Plotly, Inc.
84057
84128
  * All rights reserved.
@@ -84073,7 +84144,7 @@ module.exports = {
84073
84144
  }
84074
84145
  };
84075
84146
 
84076
- },{}],551:[function(_dereq_,module,exports){
84147
+ },{}],552:[function(_dereq_,module,exports){
84077
84148
  /**
84078
84149
  * Copyright 2012-2020, Plotly, Inc.
84079
84150
  * All rights reserved.
@@ -84116,7 +84187,7 @@ module.exports = {
84116
84187
  }
84117
84188
  };
84118
84189
 
84119
- },{}],552:[function(_dereq_,module,exports){
84190
+ },{}],553:[function(_dereq_,module,exports){
84120
84191
  /**
84121
84192
  * Copyright 2012-2020, Plotly, Inc.
84122
84193
  * All rights reserved.
@@ -84174,7 +84245,7 @@ module.exports = function containerArrayMatch(astr) {
84174
84245
  return {array: arrayStr, index: Number(match[1]), property: match[3] || ''};
84175
84246
  };
84176
84247
 
84177
- },{"../registry":625}],553:[function(_dereq_,module,exports){
84248
+ },{"../registry":626}],554:[function(_dereq_,module,exports){
84178
84249
  /**
84179
84250
  * Copyright 2012-2020, Plotly, Inc.
84180
84251
  * All rights reserved.
@@ -84299,7 +84370,7 @@ function overrideOne(attr, editTypeOverride, overrideContainers, key) {
84299
84370
  }
84300
84371
  }
84301
84372
 
84302
- },{"../lib":524}],554:[function(_dereq_,module,exports){
84373
+ },{"../lib":524}],555:[function(_dereq_,module,exports){
84303
84374
  /**
84304
84375
  * Copyright 2012-2020, Plotly, Inc.
84305
84376
  * All rights reserved.
@@ -85001,7 +85072,7 @@ exports.clearAxisTypes = function(gd, traces, layoutUpdate) {
85001
85072
  }
85002
85073
  };
85003
85074
 
85004
- },{"../components/color":394,"../lib":524,"../plots/cartesian/axis_ids":574,"../plots/plots":616,"../registry":625,"fast-isnumeric":91,"gl-mat4/fromQuat":126}],555:[function(_dereq_,module,exports){
85075
+ },{"../components/color":394,"../lib":524,"../plots/cartesian/axis_ids":575,"../plots/plots":617,"../registry":626,"fast-isnumeric":91,"gl-mat4/fromQuat":126}],556:[function(_dereq_,module,exports){
85005
85076
  /**
85006
85077
  * Copyright 2012-2020, Plotly, Inc.
85007
85078
  * All rights reserved.
@@ -85044,7 +85115,7 @@ var templateApi = _dereq_('./template_api');
85044
85115
  exports.makeTemplate = templateApi.makeTemplate;
85045
85116
  exports.validateTemplate = templateApi.validateTemplate;
85046
85117
 
85047
- },{"../snapshot/download":627,"./plot_api":557,"./template_api":562,"./to_image":563,"./validate":564}],556:[function(_dereq_,module,exports){
85118
+ },{"../snapshot/download":628,"./plot_api":558,"./template_api":563,"./to_image":564,"./validate":565}],557:[function(_dereq_,module,exports){
85048
85119
  /**
85049
85120
  * Copyright 2012-2020, Plotly, Inc.
85050
85121
  * All rights reserved.
@@ -85257,7 +85328,7 @@ exports.applyContainerArrayChanges = function applyContainerArrayChanges(gd, np,
85257
85328
  return true;
85258
85329
  };
85259
85330
 
85260
- },{"../lib/is_plain_object":525,"../lib/loggers":528,"../lib/noop":533,"../lib/search":542,"../registry":625,"./container_array_match":552}],557:[function(_dereq_,module,exports){
85331
+ },{"../lib/is_plain_object":525,"../lib/loggers":528,"../lib/noop":533,"../lib/search":543,"../registry":626,"./container_array_match":553}],558:[function(_dereq_,module,exports){
85261
85332
  /**
85262
85333
  * Copyright 2012-2020, Plotly, Inc.
85263
85334
  * All rights reserved.
@@ -87208,7 +87279,9 @@ function axRangeSupplyDefaultsByPass(gd, flags, specs) {
87208
87279
  var axIn = gd.layout[axName];
87209
87280
  var axOut = fullLayout[axName];
87210
87281
  axOut.autorange = axIn.autorange;
87211
- axOut.range = axIn.range.slice();
87282
+ if(axIn.range) {
87283
+ axOut.range = axIn.range.slice();
87284
+ }
87212
87285
  axOut.cleanRange();
87213
87286
 
87214
87287
  if(axOut._matchGroup) {
@@ -87995,16 +88068,6 @@ function react(gd, data, layout, config) {
87995
88068
 
87996
88069
  applyUIRevisions(gd.data, gd.layout, oldFullData, oldFullLayout);
87997
88070
 
87998
- var allNames = Object.getOwnPropertyNames(oldFullLayout);
87999
- for(var q = 0; q < allNames.length; q++) {
88000
- var name = allNames[q];
88001
- var start = name.substring(0, 5);
88002
- if(start === 'xaxis' || start === 'yaxis') {
88003
- var emptyCategories = oldFullLayout[name]._emptyCategories;
88004
- if(emptyCategories) emptyCategories();
88005
- }
88006
- }
88007
-
88008
88071
  // "true" skips updating calcdata and remapping arrays from calcTransforms,
88009
88072
  // which supplyDefaults usually does at the end, but we may need to NOT do
88010
88073
  // if the diff (which we haven't determined yet) says we'll recalc
@@ -88030,10 +88093,22 @@ function react(gd, data, layout, config) {
88030
88093
 
88031
88094
  if(updateAutosize(gd)) relayoutFlags.layoutReplot = true;
88032
88095
 
88033
- // clear calcdata if required
88034
- if(restyleFlags.calc || relayoutFlags.calc) gd.calcdata = undefined;
88096
+ // clear calcdata and empty categories if required
88097
+ if(restyleFlags.calc || relayoutFlags.calc) {
88098
+ gd.calcdata = undefined;
88099
+ var allNames = Object.getOwnPropertyNames(newFullLayout);
88100
+ for(var q = 0; q < allNames.length; q++) {
88101
+ var name = allNames[q];
88102
+ var start = name.substring(0, 5);
88103
+ if(start === 'xaxis' || start === 'yaxis') {
88104
+ var emptyCategories = newFullLayout[name]._emptyCategories;
88105
+ if(emptyCategories) emptyCategories();
88106
+ }
88107
+ }
88035
88108
  // otherwise do the calcdata updates and calcTransform array remaps that we skipped earlier
88036
- else Plots.supplyDefaultsUpdateCalc(gd.calcdata, newFullData);
88109
+ } else {
88110
+ Plots.supplyDefaultsUpdateCalc(gd.calcdata, newFullData);
88111
+ }
88037
88112
 
88038
88113
  // Note: what restyle/relayout use impliedEdits and clearAxisTypes for
88039
88114
  // must be handled by the user when using Plotly.react.
@@ -88487,7 +88562,7 @@ function animate(gd, frameOrGroupNameOrFrameList, animationOpts) {
88487
88562
  }
88488
88563
 
88489
88564
  // Execute a callback after the wrapper function has been called n times.
88490
- // This is used to defer the resolution until a transition has resovled *and*
88565
+ // This is used to defer the resolution until a transition has resolved *and*
88491
88566
  // the frame has completed. If it's not done this way, then we get a race
88492
88567
  // condition in which the animation might resolve before a transition is complete
88493
88568
  // or vice versa.
@@ -89183,7 +89258,7 @@ exports._guiUpdate = guiEdit(update);
89183
89258
 
89184
89259
  exports._storeDirectGUIEdit = _storeDirectGUIEdit;
89185
89260
 
89186
- },{"../components/color":394,"../components/drawing":416,"../constants/xmlns_namespaces":503,"../lib":524,"../lib/events":516,"../lib/queue":538,"../lib/svg_text_utils":547,"../plots/cartesian/axes":571,"../plots/cartesian/constants":577,"../plots/cartesian/graph_interact":580,"../plots/cartesian/select":590,"../plots/plots":616,"../plots/polar/legacy":619,"../registry":625,"./edit_types":553,"./helpers":554,"./manage_arrays":556,"./plot_config":558,"./plot_schema":559,"./subroutines":561,"d3":82,"fast-isnumeric":91,"has-hover":267}],558:[function(_dereq_,module,exports){
89261
+ },{"../components/color":394,"../components/drawing":416,"../constants/xmlns_namespaces":503,"../lib":524,"../lib/events":516,"../lib/queue":539,"../lib/svg_text_utils":548,"../plots/cartesian/axes":572,"../plots/cartesian/constants":578,"../plots/cartesian/graph_interact":581,"../plots/cartesian/select":591,"../plots/plots":617,"../plots/polar/legacy":620,"../registry":626,"./edit_types":554,"./helpers":555,"./manage_arrays":557,"./plot_config":559,"./plot_schema":560,"./subroutines":562,"d3":82,"fast-isnumeric":91,"has-hover":267}],559:[function(_dereq_,module,exports){
89187
89262
  /**
89188
89263
  * Copyright 2012-2020, Plotly, Inc.
89189
89264
  * All rights reserved.
@@ -89498,7 +89573,7 @@ module.exports = {
89498
89573
  dfltConfig: dfltConfig
89499
89574
  };
89500
89575
 
89501
- },{}],559:[function(_dereq_,module,exports){
89576
+ },{}],560:[function(_dereq_,module,exports){
89502
89577
  /**
89503
89578
  * Copyright 2012-2020, Plotly, Inc.
89504
89579
  * All rights reserved.
@@ -90209,7 +90284,7 @@ function insertAttrs(baseAttrs, newAttrs, astr) {
90209
90284
  np.set(extendDeepAll(np.get() || {}, newAttrs));
90210
90285
  }
90211
90286
 
90212
- },{"../lib":524,"../plots/animation_attributes":565,"../plots/attributes":567,"../plots/frame_attributes":600,"../plots/layout_attributes":614,"../plots/polar/legacy/area_attributes":617,"../plots/polar/legacy/axis_attributes":618,"../registry":625,"./edit_types":553,"./plot_config":558}],560:[function(_dereq_,module,exports){
90287
+ },{"../lib":524,"../plots/animation_attributes":566,"../plots/attributes":568,"../plots/frame_attributes":601,"../plots/layout_attributes":615,"../plots/polar/legacy/area_attributes":618,"../plots/polar/legacy/axis_attributes":619,"../registry":626,"./edit_types":554,"./plot_config":559}],561:[function(_dereq_,module,exports){
90213
90288
  /**
90214
90289
  * Copyright 2012-2020, Plotly, Inc.
90215
90290
  * All rights reserved.
@@ -90521,7 +90596,7 @@ exports.arrayEditor = function(parentIn, containerStr, itemOut) {
90521
90596
  };
90522
90597
  };
90523
90598
 
90524
- },{"../lib":524,"../plots/attributes":567}],561:[function(_dereq_,module,exports){
90599
+ },{"../lib":524,"../plots/attributes":568}],562:[function(_dereq_,module,exports){
90525
90600
  /**
90526
90601
  * Copyright 2012-2020, Plotly, Inc.
90527
90602
  * All rights reserved.
@@ -91245,7 +91320,7 @@ exports.drawMarginPushers = function(gd) {
91245
91320
  Registry.getComponentMethod('colorbar', 'draw')(gd);
91246
91321
  };
91247
91322
 
91248
- },{"../components/color":394,"../components/drawing":416,"../components/modebar":454,"../components/titles":489,"../constants/alignment":496,"../lib":524,"../lib/clear_gl_canvases":511,"../plots/cartesian/autorange":570,"../plots/cartesian/axes":571,"../plots/cartesian/constraints":578,"../plots/plots":616,"../registry":625,"d3":82}],562:[function(_dereq_,module,exports){
91323
+ },{"../components/color":394,"../components/drawing":416,"../components/modebar":454,"../components/titles":489,"../constants/alignment":496,"../lib":524,"../lib/clear_gl_canvases":511,"../plots/cartesian/autorange":571,"../plots/cartesian/axes":572,"../plots/cartesian/constraints":579,"../plots/plots":617,"../registry":626,"d3":82}],563:[function(_dereq_,module,exports){
91249
91324
  /**
91250
91325
  * Copyright 2012-2020, Plotly, Inc.
91251
91326
  * All rights reserved.
@@ -91707,7 +91782,7 @@ function format(opts) {
91707
91782
  return opts;
91708
91783
  }
91709
91784
 
91710
- },{"../lib":524,"../plots/attributes":567,"../plots/plots":616,"./plot_config":558,"./plot_schema":559,"./plot_template":560}],563:[function(_dereq_,module,exports){
91785
+ },{"../lib":524,"../plots/attributes":568,"../plots/plots":617,"./plot_config":559,"./plot_schema":560,"./plot_template":561}],564:[function(_dereq_,module,exports){
91711
91786
  /**
91712
91787
  * Copyright 2012-2020, Plotly, Inc.
91713
91788
  * All rights reserved.
@@ -91928,7 +92003,7 @@ function toImage(gd, opts) {
91928
92003
 
91929
92004
  module.exports = toImage;
91930
92005
 
91931
- },{"../lib":524,"../plots/plots":616,"../snapshot/helpers":629,"../snapshot/svgtoimg":631,"../snapshot/tosvg":633,"../version":702,"./plot_api":557,"fast-isnumeric":91}],564:[function(_dereq_,module,exports){
92006
+ },{"../lib":524,"../plots/plots":617,"../snapshot/helpers":630,"../snapshot/svgtoimg":632,"../snapshot/tosvg":634,"../version":703,"./plot_api":558,"fast-isnumeric":91}],565:[function(_dereq_,module,exports){
91932
92007
  /**
91933
92008
  * Copyright 2012-2020, Plotly, Inc.
91934
92009
  * All rights reserved.
@@ -92359,7 +92434,7 @@ function convertPathToAttributeString(path) {
92359
92434
  return astr;
92360
92435
  }
92361
92436
 
92362
- },{"../lib":524,"../plots/plots":616,"./plot_config":558,"./plot_schema":559}],565:[function(_dereq_,module,exports){
92437
+ },{"../lib":524,"../plots/plots":617,"./plot_config":559,"./plot_schema":560}],566:[function(_dereq_,module,exports){
92363
92438
  /**
92364
92439
  * Copyright 2012-2020, Plotly, Inc.
92365
92440
  * All rights reserved.
@@ -92471,7 +92546,7 @@ module.exports = {
92471
92546
  }
92472
92547
  };
92473
92548
 
92474
- },{}],566:[function(_dereq_,module,exports){
92549
+ },{}],567:[function(_dereq_,module,exports){
92475
92550
  /**
92476
92551
  * Copyright 2012-2020, Plotly, Inc.
92477
92552
  * All rights reserved.
@@ -92566,7 +92641,7 @@ module.exports = function handleArrayContainerDefaults(parentObjIn, parentObjOut
92566
92641
  return contOut;
92567
92642
  };
92568
92643
 
92569
- },{"../lib":524,"../plot_api/plot_template":560}],567:[function(_dereq_,module,exports){
92644
+ },{"../lib":524,"../plot_api/plot_template":561}],568:[function(_dereq_,module,exports){
92570
92645
  /**
92571
92646
  * Copyright 2012-2020, Plotly, Inc.
92572
92647
  * All rights reserved.
@@ -92707,7 +92782,7 @@ module.exports = {
92707
92782
  }
92708
92783
  };
92709
92784
 
92710
- },{"../components/fx/attributes":425}],568:[function(_dereq_,module,exports){
92785
+ },{"../components/fx/attributes":425}],569:[function(_dereq_,module,exports){
92711
92786
  /**
92712
92787
  * Copyright 2012-2020, Plotly, Inc.
92713
92788
  * All rights reserved.
@@ -92799,7 +92874,7 @@ module.exports = function alignPeriod(trace, ax, axLetter, vals) {
92799
92874
  return newVals;
92800
92875
  };
92801
92876
 
92802
- },{"../../constants/numerical":502,"../../lib":524,"fast-isnumeric":91}],569:[function(_dereq_,module,exports){
92877
+ },{"../../constants/numerical":502,"../../lib":524,"fast-isnumeric":91}],570:[function(_dereq_,module,exports){
92803
92878
  /**
92804
92879
  * Copyright 2012-2020, Plotly, Inc.
92805
92880
  * All rights reserved.
@@ -92828,7 +92903,7 @@ module.exports = {
92828
92903
  }
92829
92904
  };
92830
92905
 
92831
- },{}],570:[function(_dereq_,module,exports){
92906
+ },{}],571:[function(_dereq_,module,exports){
92832
92907
  /**
92833
92908
  * Copyright 2012-2020, Plotly, Inc.
92834
92909
  * All rights reserved.
@@ -92845,7 +92920,9 @@ var Lib = _dereq_('../../lib');
92845
92920
  var FP_SAFE = _dereq_('../../constants/numerical').FP_SAFE;
92846
92921
  var Registry = _dereq_('../../registry');
92847
92922
 
92848
- var getFromId = _dereq_('./axis_ids').getFromId;
92923
+ var axIds = _dereq_('./axis_ids');
92924
+ var getFromId = axIds.getFromId;
92925
+ var isLinked = axIds.isLinked;
92849
92926
 
92850
92927
  module.exports = {
92851
92928
  getAutoRange: getAutoRange,
@@ -92887,8 +92964,9 @@ function getAutoRange(gd, ax) {
92887
92964
  var i, j;
92888
92965
  var newRange = [];
92889
92966
 
92890
- var getPadMin = makePadFn(ax, 0);
92891
- var getPadMax = makePadFn(ax, 1);
92967
+ var fullLayout = gd._fullLayout;
92968
+ var getPadMin = makePadFn(fullLayout, ax, 0);
92969
+ var getPadMax = makePadFn(fullLayout, ax, 1);
92892
92970
  var extremes = concatExtremes(gd, ax);
92893
92971
  var minArray = extremes.min;
92894
92972
  var maxArray = extremes.max;
@@ -92948,8 +93026,8 @@ function getAutoRange(gd, ax) {
92948
93026
  } else if(dv / axLen > mbest) {
92949
93027
  // in case of padding longer than the axis
92950
93028
  // at least include the unpadded data values.
92951
- minbest = {val: minpt.val, pad: 0};
92952
- maxbest = {val: maxpt.val, pad: 0};
93029
+ minbest = {val: minpt.val, nopad: 1};
93030
+ maxbest = {val: maxpt.val, nopad: 1};
92953
93031
  mbest = dv / axLen;
92954
93032
  }
92955
93033
  }
@@ -92986,17 +93064,17 @@ function getAutoRange(gd, ax) {
92986
93064
  } else {
92987
93065
  if(toZero) {
92988
93066
  if(minbest.val >= 0) {
92989
- minbest = {val: 0, pad: 0};
93067
+ minbest = {val: 0, nopad: 1};
92990
93068
  }
92991
93069
  if(maxbest.val <= 0) {
92992
- maxbest = {val: 0, pad: 0};
93070
+ maxbest = {val: 0, nopad: 1};
92993
93071
  }
92994
93072
  } else if(nonNegative) {
92995
93073
  if(minbest.val - mbest * getPadMin(minbest) < 0) {
92996
- minbest = {val: 0, pad: 0};
93074
+ minbest = {val: 0, nopad: 1};
92997
93075
  }
92998
93076
  if(maxbest.val <= 0) {
92999
- maxbest = {val: 1, pad: 0};
93077
+ maxbest = {val: 1, nopad: 1};
93000
93078
  }
93001
93079
  }
93002
93080
 
@@ -93033,13 +93111,15 @@ function calcBreaksLength(ax, v0, v1) {
93033
93111
  * calculate the pixel padding for ax._min and ax._max entries with
93034
93112
  * optional extrapad as 5% of the total axis length
93035
93113
  */
93036
- function makePadFn(ax, max) {
93114
+ function makePadFn(fullLayout, ax, max) {
93037
93115
  // 5% padding for points that specify extrapad: true
93038
93116
  var extrappad = 0.05 * ax._length;
93039
93117
 
93118
+ var anchorAxis = ax._anchorAxis || {};
93119
+
93040
93120
  if(
93041
93121
  (ax.ticklabelposition || '').indexOf('inside') !== -1 ||
93042
- ((ax._anchorAxis || {}).ticklabelposition || '').indexOf('inside') !== -1
93122
+ (anchorAxis.ticklabelposition || '').indexOf('inside') !== -1
93043
93123
  ) {
93044
93124
  var axReverse = ax.autorange === 'reversed';
93045
93125
  if(!axReverse) {
@@ -93049,8 +93129,11 @@ function makePadFn(ax, max) {
93049
93129
  if(axReverse) max = !max;
93050
93130
  }
93051
93131
 
93052
- extrappad = adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max);
93053
- extrappad = adjustPadForInsideLabelsOnThisAxis(extrappad, ax, max);
93132
+ var zero = 0;
93133
+ if(!isLinked(fullLayout, ax._id)) {
93134
+ zero = padInsideLabelsOnAnchorAxis(ax, max);
93135
+ }
93136
+ extrappad = Math.max(zero, extrappad);
93054
93137
 
93055
93138
  // domain-constrained axes: base extrappad on the unconstrained
93056
93139
  // domain so it's consistent as the domain changes
@@ -93059,50 +93142,17 @@ function makePadFn(ax, max) {
93059
93142
  (ax.domain[1] - ax.domain[0]);
93060
93143
  }
93061
93144
 
93062
- return function getPad(pt) { return pt.pad + (pt.extrapad ? extrappad : 0); };
93145
+ return function getPad(pt) {
93146
+ if(pt.nopad) return 0;
93147
+ return pt.pad + (pt.extrapad ? extrappad : zero);
93148
+ };
93063
93149
  }
93064
93150
 
93065
93151
  var TEXTPAD = 3;
93066
93152
 
93067
- function adjustPadForInsideLabelsOnThisAxis(extrappad, ax, max) {
93068
- var ticklabelposition = ax.ticklabelposition || '';
93069
- var has = function(str) {
93070
- return ticklabelposition.indexOf(str) !== -1;
93071
- };
93072
-
93073
- if(!has('inside')) return extrappad;
93074
- var isTop = has('top');
93075
- var isLeft = has('left');
93076
- var isRight = has('right');
93077
- var isBottom = has('bottom');
93078
- var isAligned = isBottom || isLeft || isTop || isRight;
93079
-
93080
- if(
93081
- (max && (isLeft || isBottom)) ||
93082
- (!max && (isRight || isTop))
93083
- ) {
93084
- return extrappad;
93085
- }
93086
-
93087
- // increase padding to make more room for inside tick labels of the axis
93088
- var fontSize = ax.tickfont ? ax.tickfont.size : 12;
93089
- var isX = ax._id.charAt(0) === 'x';
93090
- var morePad = (isX ? 1.2 : 0.6) * fontSize;
93091
-
93092
- if(isAligned) {
93093
- morePad *= 2;
93094
- morePad += (ax.tickwidth || 0) / 2;
93095
- }
93096
-
93097
- morePad += TEXTPAD;
93098
-
93099
- extrappad = Math.max(extrappad, morePad);
93100
-
93101
- return extrappad;
93102
- }
93103
-
93104
- function adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max) {
93105
- var anchorAxis = (ax._anchorAxis || {});
93153
+ function padInsideLabelsOnAnchorAxis(ax, max) {
93154
+ var pad = 0;
93155
+ var anchorAxis = ax._anchorAxis || {};
93106
93156
  if((anchorAxis.ticklabelposition || '').indexOf('inside') !== -1) {
93107
93157
  // increase padding to make more room for inside tick labels of the counter axis
93108
93158
  if((
@@ -93118,7 +93168,6 @@ function adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max) {
93118
93168
  )) {
93119
93169
  var isX = ax._id.charAt(0) === 'x';
93120
93170
 
93121
- var morePad = 0;
93122
93171
  if(anchorAxis._vals) {
93123
93172
  var rad = Lib.deg2rad(anchorAxis._tickAngles[anchorAxis._id + 'tick'] || 0);
93124
93173
  var cosA = Math.abs(Math.cos(rad));
@@ -93127,29 +93176,24 @@ function adjustPadForInsideLabelsOnAnchorAxis(extrappad, ax, max) {
93127
93176
  // use bounding boxes
93128
93177
  anchorAxis._vals.forEach(function(t) {
93129
93178
  if(t.bb) {
93130
- var w = t.bb.width;
93131
- var h = t.bb.height;
93179
+ var w = 2 * TEXTPAD + t.bb.width;
93180
+ var h = 2 * TEXTPAD + t.bb.height;
93132
93181
 
93133
- morePad = Math.max(morePad, isX ?
93182
+ pad = Math.max(pad, isX ?
93134
93183
  Math.max(w * cosA, h * sinA) :
93135
93184
  Math.max(h * cosA, w * sinA)
93136
93185
  );
93137
-
93138
- // add extra pad around label
93139
- morePad += 3;
93140
93186
  }
93141
93187
  });
93142
93188
  }
93143
93189
 
93144
93190
  if(anchorAxis.ticks === 'inside' && anchorAxis.ticklabelposition === 'inside') {
93145
- morePad += anchorAxis.ticklen || 0;
93191
+ pad += anchorAxis.ticklen || 0;
93146
93192
  }
93147
-
93148
- extrappad = Math.max(extrappad, morePad);
93149
93193
  }
93150
93194
  }
93151
93195
 
93152
- return extrappad;
93196
+ return pad;
93153
93197
  }
93154
93198
 
93155
93199
  function concatExtremes(gd, ax, noMatch) {
@@ -93468,7 +93512,7 @@ function goodNumber(v) {
93468
93512
  function lessOrEqual(v0, v1) { return v0 <= v1; }
93469
93513
  function greaterOrEqual(v0, v1) { return v0 >= v1; }
93470
93514
 
93471
- },{"../../constants/numerical":502,"../../lib":524,"../../registry":625,"./axis_ids":574,"fast-isnumeric":91}],571:[function(_dereq_,module,exports){
93515
+ },{"../../constants/numerical":502,"../../lib":524,"../../registry":626,"./axis_ids":575,"fast-isnumeric":91}],572:[function(_dereq_,module,exports){
93472
93516
  /**
93473
93517
  * Copyright 2012-2020, Plotly, Inc.
93474
93518
  * All rights reserved.
@@ -93527,6 +93571,10 @@ axes.setConvert = _dereq_('./set_convert');
93527
93571
  var autoType = _dereq_('./axis_autotype');
93528
93572
 
93529
93573
  var axisIds = _dereq_('./axis_ids');
93574
+ var idSort = axisIds.idSort;
93575
+ var isLinked = axisIds.isLinked;
93576
+
93577
+ // tight coupling to chart studio
93530
93578
  axes.id2name = axisIds.id2name;
93531
93579
  axes.name2id = axisIds.name2id;
93532
93580
  axes.cleanId = axisIds.cleanId;
@@ -94916,9 +94964,23 @@ function formatDate(ax, out, hover, extraPrecision) {
94916
94964
  // except for year headPart: turn this into "Jan 1, 2000" etc.
94917
94965
  if(tr === 'd') dateStr += ', ' + headStr;
94918
94966
  else dateStr = headStr + (dateStr ? ', ' + dateStr : '');
94919
- } else if(!ax._inCalcTicks || (headStr !== ax._prevDateHead)) {
94920
- dateStr += '<br>' + headStr;
94921
- ax._prevDateHead = headStr;
94967
+ } else {
94968
+ if(
94969
+ !ax._inCalcTicks ||
94970
+ ax._prevDateHead !== headStr
94971
+ ) {
94972
+ ax._prevDateHead = headStr;
94973
+ dateStr += '<br>' + headStr;
94974
+ } else {
94975
+ var isInside = (ax.ticklabelposition || '').indexOf('inside') !== -1;
94976
+ var side = ax._realSide || ax.side; // polar mocks the side of the radial axis
94977
+ if(
94978
+ (!isInside && side === 'top') ||
94979
+ (isInside && side === 'bottom')
94980
+ ) {
94981
+ dateStr += '<br> ';
94982
+ }
94983
+ }
94922
94984
  }
94923
94985
  }
94924
94986
 
@@ -96364,7 +96426,7 @@ axes.drawZeroLine = function(gd, ax, opts) {
96364
96426
  // If several zerolines enter at the same time we will sort once per,
96365
96427
  // but generally this should be a minimal overhead.
96366
96428
  opts.layer.selectAll('path').sort(function(da, db) {
96367
- return axisIds.idSort(da.id, db.id);
96429
+ return idSort(da.id, db.id);
96368
96430
  });
96369
96431
  });
96370
96432
 
@@ -96662,7 +96724,8 @@ axes.drawLabels = function(gd, ax, opts) {
96662
96724
  var anchorAx = ax._anchorAxis;
96663
96725
  if(
96664
96726
  anchorAx && anchorAx.autorange &&
96665
- (ax.ticklabelposition || '').indexOf('inside') !== -1
96727
+ (ax.ticklabelposition || '').indexOf('inside') !== -1 &&
96728
+ !isLinked(fullLayout, ax._id)
96666
96729
  ) {
96667
96730
  if(!fullLayout._insideTickLabelsAutorange) {
96668
96731
  fullLayout._insideTickLabelsAutorange = {};
@@ -96805,27 +96868,36 @@ function drawTitle(gd, ax) {
96805
96868
  var axId = ax._id;
96806
96869
  var axLetter = axId.charAt(0);
96807
96870
  var fontSize = ax.title.font.size;
96808
-
96809
96871
  var titleStandoff;
96810
96872
 
96811
96873
  if(ax.title.hasOwnProperty('standoff')) {
96812
96874
  titleStandoff = ax._depth + ax.title.standoff + approxTitleDepth(ax);
96813
96875
  } else {
96876
+ var isInside = (ax.ticklabelposition || '').indexOf('inside') !== -1;
96877
+
96814
96878
  if(ax.type === 'multicategory') {
96815
96879
  titleStandoff = ax._depth;
96816
96880
  } else {
96817
- var offsetBase = 1.5;
96818
- titleStandoff = 10 + fontSize * offsetBase + (ax.linewidth ? ax.linewidth - 1 : 0);
96881
+ var offsetBase = 1.5 * fontSize;
96882
+ if(isInside) {
96883
+ offsetBase = 0.5 * fontSize;
96884
+ if(ax.ticks === 'outside') {
96885
+ offsetBase += ax.ticklen;
96886
+ }
96887
+ }
96888
+ titleStandoff = 10 + offsetBase + (ax.linewidth ? ax.linewidth - 1 : 0);
96819
96889
  }
96820
96890
 
96821
- if(axLetter === 'x') {
96822
- titleStandoff += ax.side === 'top' ?
96823
- fontSize * (ax.showticklabels ? 1 : 0) :
96824
- fontSize * (ax.showticklabels ? 1.5 : 0.5);
96825
- } else {
96826
- titleStandoff += ax.side === 'right' ?
96827
- fontSize * (ax.showticklabels ? 1 : 0.5) :
96828
- fontSize * (ax.showticklabels ? 0.5 : 0);
96891
+ if(!isInside) {
96892
+ if(axLetter === 'x') {
96893
+ titleStandoff += ax.side === 'top' ?
96894
+ fontSize * (ax.showticklabels ? 1 : 0) :
96895
+ fontSize * (ax.showticklabels ? 1.5 : 0.5);
96896
+ } else {
96897
+ titleStandoff += ax.side === 'right' ?
96898
+ fontSize * (ax.showticklabels ? 1 : 0.5) :
96899
+ fontSize * (ax.showticklabels ? 0.5 : 0);
96900
+ }
96829
96901
  }
96830
96902
  }
96831
96903
 
@@ -97160,7 +97232,7 @@ function moveOutsideBreak(v, ax) {
97160
97232
  return v;
97161
97233
  }
97162
97234
 
97163
- },{"../../components/color":394,"../../components/drawing":416,"../../components/titles":489,"../../constants/alignment":496,"../../constants/numerical":502,"../../lib":524,"../../lib/svg_text_utils":547,"../../plots/plots":616,"../../registry":625,"./autorange":570,"./axis_autotype":572,"./axis_ids":574,"./clean_ticks":576,"./layout_attributes":585,"./set_convert":591,"d3":82,"fast-isnumeric":91}],572:[function(_dereq_,module,exports){
97235
+ },{"../../components/color":394,"../../components/drawing":416,"../../components/titles":489,"../../constants/alignment":496,"../../constants/numerical":502,"../../lib":524,"../../lib/svg_text_utils":548,"../../plots/plots":617,"../../registry":626,"./autorange":571,"./axis_autotype":573,"./axis_ids":575,"./clean_ticks":577,"./layout_attributes":586,"./set_convert":592,"d3":82,"fast-isnumeric":91}],573:[function(_dereq_,module,exports){
97164
97236
  /**
97165
97237
  * Copyright 2012-2020, Plotly, Inc.
97166
97238
  * All rights reserved.
@@ -97291,7 +97363,7 @@ function multiCategory(a) {
97291
97363
  return isArrayOrTypedArray(a[0]) && isArrayOrTypedArray(a[1]);
97292
97364
  }
97293
97365
 
97294
- },{"../../constants/numerical":502,"../../lib":524,"fast-isnumeric":91}],573:[function(_dereq_,module,exports){
97366
+ },{"../../constants/numerical":502,"../../lib":524,"fast-isnumeric":91}],574:[function(_dereq_,module,exports){
97295
97367
  /**
97296
97368
  * Copyright 2012-2020, Plotly, Inc.
97297
97369
  * All rights reserved.
@@ -97599,7 +97671,7 @@ function indexOfDay(v) {
97599
97671
  ];
97600
97672
  }
97601
97673
 
97602
- },{"../../lib":524,"../../registry":625,"../array_container_defaults":566,"./category_order_defaults":575,"./constants":577,"./layout_attributes":585,"./line_grid_defaults":587,"./set_convert":591,"./tick_label_defaults":592,"./tick_mark_defaults":593,"./tick_value_defaults":594,"fast-isnumeric":91}],574:[function(_dereq_,module,exports){
97674
+ },{"../../lib":524,"../../registry":626,"../array_container_defaults":567,"./category_order_defaults":576,"./constants":578,"./layout_attributes":586,"./line_grid_defaults":588,"./set_convert":592,"./tick_label_defaults":593,"./tick_mark_defaults":594,"./tick_value_defaults":595,"fast-isnumeric":91}],575:[function(_dereq_,module,exports){
97603
97675
  /**
97604
97676
  * Copyright 2012-2020, Plotly, Inc.
97605
97677
  * All rights reserved.
@@ -97739,7 +97811,23 @@ exports.ref2id = function(ar) {
97739
97811
  return (/^[xyz]/.test(ar)) ? ar.split(' ')[0] : false;
97740
97812
  };
97741
97813
 
97742
- },{"../../registry":625,"./constants":577}],575:[function(_dereq_,module,exports){
97814
+ function isFound(axId, list) {
97815
+ if(list && list.length) {
97816
+ for(var i = 0; i < list.length; i++) {
97817
+ if(list[i][axId]) return true;
97818
+ }
97819
+ }
97820
+ return false;
97821
+ }
97822
+
97823
+ exports.isLinked = function(fullLayout, axId) {
97824
+ return (
97825
+ isFound(axId, fullLayout._axisMatchGroups) ||
97826
+ isFound(axId, fullLayout._axisConstraintGroups)
97827
+ );
97828
+ };
97829
+
97830
+ },{"../../registry":626,"./constants":578}],576:[function(_dereq_,module,exports){
97743
97831
  /**
97744
97832
  * Copyright 2012-2020, Plotly, Inc.
97745
97833
  * All rights reserved.
@@ -97833,7 +97921,7 @@ module.exports = function handleCategoryOrderDefaults(containerIn, containerOut,
97833
97921
  }
97834
97922
  };
97835
97923
 
97836
- },{}],576:[function(_dereq_,module,exports){
97924
+ },{}],577:[function(_dereq_,module,exports){
97837
97925
  /**
97838
97926
  * Copyright 2012-2020, Plotly, Inc.
97839
97927
  * All rights reserved.
@@ -97925,7 +98013,7 @@ exports.tick0 = function(tick0, axType, calendar, dtick) {
97925
98013
  return isNumeric(tick0) ? Number(tick0) : 0;
97926
98014
  };
97927
98015
 
97928
- },{"../../constants/numerical":502,"../../lib":524,"fast-isnumeric":91}],577:[function(_dereq_,module,exports){
98016
+ },{"../../constants/numerical":502,"../../lib":524,"fast-isnumeric":91}],578:[function(_dereq_,module,exports){
97929
98017
  /**
97930
98018
  * Copyright 2012-2020, Plotly, Inc.
97931
98019
  * All rights reserved.
@@ -98017,7 +98105,7 @@ module.exports = {
98017
98105
  }
98018
98106
  };
98019
98107
 
98020
- },{"../../lib/regex":539}],578:[function(_dereq_,module,exports){
98108
+ },{"../../lib/regex":540}],579:[function(_dereq_,module,exports){
98021
98109
  /**
98022
98110
  * Copyright 2012-2020, Plotly, Inc.
98023
98111
  * All rights reserved.
@@ -98585,8 +98673,8 @@ exports.enforce = function enforce(gd) {
98585
98673
  // *are* expanding to the full domain
98586
98674
  var outerMin = rangeCenter - halfRange * factor * 1.0001;
98587
98675
  var outerMax = rangeCenter + halfRange * factor * 1.0001;
98588
- var getPadMin = autorange.makePadFn(ax, 0);
98589
- var getPadMax = autorange.makePadFn(ax, 1);
98676
+ var getPadMin = autorange.makePadFn(fullLayout, ax, 0);
98677
+ var getPadMax = autorange.makePadFn(fullLayout, ax, 1);
98590
98678
 
98591
98679
  updateDomain(ax, factor);
98592
98680
  var m = Math.abs(ax._m);
@@ -98668,7 +98756,7 @@ function updateDomain(ax, factor) {
98668
98756
  ax.setScale();
98669
98757
  }
98670
98758
 
98671
- },{"../../constants/alignment":496,"../../constants/numerical":502,"../../lib":524,"./autorange":570,"./axis_ids":574,"./layout_attributes":585,"./scale_zoom":589,"./set_convert":591}],579:[function(_dereq_,module,exports){
98759
+ },{"../../constants/alignment":496,"../../constants/numerical":502,"../../lib":524,"./autorange":571,"./axis_ids":575,"./layout_attributes":586,"./scale_zoom":590,"./set_convert":592}],580:[function(_dereq_,module,exports){
98672
98760
  /**
98673
98761
  * Copyright 2012-2020, Plotly, Inc.
98674
98762
  * All rights reserved.
@@ -100006,7 +100094,7 @@ module.exports = {
100006
100094
  attachWheelEventHandler: attachWheelEventHandler
100007
100095
  };
100008
100096
 
100009
- },{"../../components/color":394,"../../components/dragelement":413,"../../components/dragelement/helpers":412,"../../components/drawing":416,"../../components/fx":434,"../../constants/alignment":496,"../../lib":524,"../../lib/clear_gl_canvases":511,"../../lib/setcursor":543,"../../lib/svg_text_utils":547,"../../plot_api/subroutines":561,"../../registry":625,"../plots":616,"./axes":571,"./axis_ids":574,"./constants":577,"./scale_zoom":589,"./select":590,"d3":82,"has-passive-events":268,"tinycolor2":360}],580:[function(_dereq_,module,exports){
100097
+ },{"../../components/color":394,"../../components/dragelement":413,"../../components/dragelement/helpers":412,"../../components/drawing":416,"../../components/fx":434,"../../constants/alignment":496,"../../lib":524,"../../lib/clear_gl_canvases":511,"../../lib/setcursor":544,"../../lib/svg_text_utils":548,"../../plot_api/subroutines":562,"../../registry":626,"../plots":617,"./axes":572,"./axis_ids":575,"./constants":578,"./scale_zoom":590,"./select":591,"d3":82,"has-passive-events":268,"tinycolor2":360}],581:[function(_dereq_,module,exports){
100010
100098
  /**
100011
100099
  * Copyright 2012-2020, Plotly, Inc.
100012
100100
  * All rights reserved.
@@ -100174,7 +100262,7 @@ exports.updateFx = function(gd) {
100174
100262
  setCursor(fullLayout._draggers, cursor);
100175
100263
  };
100176
100264
 
100177
- },{"../../components/dragelement":413,"../../components/fx":434,"../../lib/setcursor":543,"./constants":577,"./dragbox":579,"d3":82}],581:[function(_dereq_,module,exports){
100265
+ },{"../../components/dragelement":413,"../../components/fx":434,"../../lib/setcursor":544,"./constants":578,"./dragbox":580,"d3":82}],582:[function(_dereq_,module,exports){
100178
100266
  /**
100179
100267
  * Copyright 2012-2020, Plotly, Inc.
100180
100268
  * All rights reserved.
@@ -100210,7 +100298,7 @@ module.exports = {
100210
100298
  clearSelect: clearSelect
100211
100299
  };
100212
100300
 
100213
- },{}],582:[function(_dereq_,module,exports){
100301
+ },{}],583:[function(_dereq_,module,exports){
100214
100302
  /**
100215
100303
  * Copyright 2012-2020, Plotly, Inc.
100216
100304
  * All rights reserved.
@@ -100267,7 +100355,7 @@ module.exports = {
100267
100355
  getTransform: getTransform
100268
100356
  };
100269
100357
 
100270
- },{"../../lib":524}],583:[function(_dereq_,module,exports){
100358
+ },{"../../lib":524}],584:[function(_dereq_,module,exports){
100271
100359
  /**
100272
100360
  * Copyright 2012-2020, Plotly, Inc.
100273
100361
  * All rights reserved.
@@ -100345,7 +100433,7 @@ module.exports = function makeIncludeComponents(containerArrayName) {
100345
100433
  };
100346
100434
  };
100347
100435
 
100348
- },{"../../lib":524,"../../registry":625,"./axis_ids":574}],584:[function(_dereq_,module,exports){
100436
+ },{"../../lib":524,"../../registry":626,"./axis_ids":575}],585:[function(_dereq_,module,exports){
100349
100437
  /**
100350
100438
  * Copyright 2012-2020, Plotly, Inc.
100351
100439
  * All rights reserved.
@@ -100963,7 +101051,7 @@ exports.toSVG = function(gd) {
100963
101051
 
100964
101052
  exports.updateFx = _dereq_('./graph_interact').updateFx;
100965
101053
 
100966
- },{"../../components/drawing":416,"../../constants/xmlns_namespaces":503,"../../lib":524,"../../registry":625,"../get_data":601,"../plots":616,"./attributes":569,"./axis_ids":574,"./constants":577,"./graph_interact":580,"./layout_attributes":585,"./layout_defaults":586,"./transition_axes":595,"d3":82}],585:[function(_dereq_,module,exports){
101054
+ },{"../../components/drawing":416,"../../constants/xmlns_namespaces":503,"../../lib":524,"../../registry":626,"../get_data":602,"../plots":617,"./attributes":570,"./axis_ids":575,"./constants":578,"./graph_interact":581,"./layout_attributes":586,"./layout_defaults":587,"./transition_axes":596,"d3":82}],586:[function(_dereq_,module,exports){
100967
101055
  /**
100968
101056
  * Copyright 2012-2020, Plotly, Inc.
100969
101057
  * All rights reserved.
@@ -101683,7 +101771,7 @@ module.exports = {
101683
101771
  }
101684
101772
  };
101685
101773
 
101686
- },{"../../components/color/attributes":393,"../../components/drawing/attributes":415,"../../constants/docs":498,"../../constants/numerical":502,"../../lib/extend":517,"../../plot_api/plot_template":560,"../font_attributes":599,"./constants":577}],586:[function(_dereq_,module,exports){
101774
+ },{"../../components/color/attributes":393,"../../components/drawing/attributes":415,"../../constants/docs":498,"../../constants/numerical":502,"../../lib/extend":517,"../../plot_api/plot_template":561,"../font_attributes":600,"./constants":578}],587:[function(_dereq_,module,exports){
101687
101775
  /**
101688
101776
  * Copyright 2012-2020, Plotly, Inc.
101689
101777
  * All rights reserved.
@@ -102070,7 +102158,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {
102070
102158
  });
102071
102159
  };
102072
102160
 
102073
- },{"../../components/color":394,"../../components/fx/helpers":430,"../../components/fx/hovermode_defaults":433,"../../lib":524,"../../plot_api/plot_template":560,"../../registry":625,"../layout_attributes":614,"./axis_defaults":573,"./axis_ids":574,"./constants":577,"./constraints":578,"./layout_attributes":585,"./position_defaults":588,"./type_defaults":596}],587:[function(_dereq_,module,exports){
102161
+ },{"../../components/color":394,"../../components/fx/helpers":430,"../../components/fx/hovermode_defaults":433,"../../lib":524,"../../plot_api/plot_template":561,"../../registry":626,"../layout_attributes":615,"./axis_defaults":574,"./axis_ids":575,"./constants":578,"./constraints":579,"./layout_attributes":586,"./position_defaults":589,"./type_defaults":597}],588:[function(_dereq_,module,exports){
102074
102162
  /**
102075
102163
  * Copyright 2012-2020, Plotly, Inc.
102076
102164
  * All rights reserved.
@@ -102135,7 +102223,7 @@ module.exports = function handleLineGridDefaults(containerIn, containerOut, coer
102135
102223
  }
102136
102224
  };
102137
102225
 
102138
- },{"../../components/color/attributes":393,"../../lib":524,"tinycolor2":360}],588:[function(_dereq_,module,exports){
102226
+ },{"../../components/color/attributes":393,"../../lib":524,"tinycolor2":360}],589:[function(_dereq_,module,exports){
102139
102227
  /**
102140
102228
  * Copyright 2012-2020, Plotly, Inc.
102141
102229
  * All rights reserved.
@@ -102223,7 +102311,7 @@ module.exports = function handlePositionDefaults(containerIn, containerOut, coer
102223
102311
  return containerOut;
102224
102312
  };
102225
102313
 
102226
- },{"../../lib":524,"fast-isnumeric":91}],589:[function(_dereq_,module,exports){
102314
+ },{"../../lib":524,"fast-isnumeric":91}],590:[function(_dereq_,module,exports){
102227
102315
  /**
102228
102316
  * Copyright 2012-2020, Plotly, Inc.
102229
102317
  * All rights reserved.
@@ -102252,7 +102340,7 @@ module.exports = function scaleZoom(ax, factor, centerFraction) {
102252
102340
  ax.setScale();
102253
102341
  };
102254
102342
 
102255
- },{"../../constants/alignment":496}],590:[function(_dereq_,module,exports){
102343
+ },{"../../constants/alignment":496}],591:[function(_dereq_,module,exports){
102256
102344
  /**
102257
102345
  * Copyright 2012-2020, Plotly, Inc.
102258
102346
  * All rights reserved.
@@ -103195,7 +103283,7 @@ module.exports = {
103195
103283
  selectOnClick: selectOnClick
103196
103284
  };
103197
103285
 
103198
- },{"../../components/color":394,"../../components/dragelement/helpers":412,"../../components/drawing":416,"../../components/fx":434,"../../components/fx/helpers":430,"../../components/shapes/draw_newshape/display_outlines":479,"../../components/shapes/draw_newshape/helpers":480,"../../components/shapes/draw_newshape/newshapes":481,"../../lib":524,"../../lib/clear_gl_canvases":511,"../../lib/polygon":536,"../../lib/throttle":548,"../../plot_api/subroutines":561,"../../registry":625,"./axis_ids":574,"./constants":577,"./handle_outline":581,"./helpers":582,"polybooljs":316}],591:[function(_dereq_,module,exports){
103286
+ },{"../../components/color":394,"../../components/dragelement/helpers":412,"../../components/drawing":416,"../../components/fx":434,"../../components/fx/helpers":430,"../../components/shapes/draw_newshape/display_outlines":479,"../../components/shapes/draw_newshape/helpers":480,"../../components/shapes/draw_newshape/newshapes":481,"../../lib":524,"../../lib/clear_gl_canvases":511,"../../lib/polygon":536,"../../lib/throttle":549,"../../plot_api/subroutines":562,"../../registry":626,"./axis_ids":575,"./constants":578,"./handle_outline":582,"./helpers":583,"polybooljs":316}],592:[function(_dereq_,module,exports){
103199
103287
  /**
103200
103288
  * Copyright 2012-2020, Plotly, Inc.
103201
103289
  * All rights reserved.
@@ -104153,7 +104241,7 @@ module.exports = function setConvert(ax, fullLayout) {
104153
104241
  delete ax._forceTick0;
104154
104242
  };
104155
104243
 
104156
- },{"../../constants/numerical":502,"../../lib":524,"./axis_ids":574,"./constants":577,"d3":82,"d3-time-format":80,"fast-isnumeric":91}],592:[function(_dereq_,module,exports){
104244
+ },{"../../constants/numerical":502,"../../lib":524,"./axis_ids":575,"./constants":578,"d3":82,"d3-time-format":80,"fast-isnumeric":91}],593:[function(_dereq_,module,exports){
104157
104245
  /**
104158
104246
  * Copyright 2012-2020, Plotly, Inc.
104159
104247
  * All rights reserved.
@@ -104280,7 +104368,7 @@ function tickformatstopDefaults(valueIn, valueOut) {
104280
104368
  }
104281
104369
  }
104282
104370
 
104283
- },{"../../components/color":394,"../../lib":524,"../array_container_defaults":566,"./layout_attributes":585}],593:[function(_dereq_,module,exports){
104371
+ },{"../../components/color":394,"../../lib":524,"../array_container_defaults":567,"./layout_attributes":586}],594:[function(_dereq_,module,exports){
104284
104372
  /**
104285
104373
  * Copyright 2012-2020, Plotly, Inc.
104286
104374
  * All rights reserved.
@@ -104313,7 +104401,7 @@ module.exports = function handleTickDefaults(containerIn, containerOut, coerce,
104313
104401
  }
104314
104402
  };
104315
104403
 
104316
- },{"../../lib":524,"./layout_attributes":585}],594:[function(_dereq_,module,exports){
104404
+ },{"../../lib":524,"./layout_attributes":586}],595:[function(_dereq_,module,exports){
104317
104405
  /**
104318
104406
  * Copyright 2012-2020, Plotly, Inc.
104319
104407
  * All rights reserved.
@@ -104360,7 +104448,7 @@ module.exports = function handleTickValueDefaults(containerIn, containerOut, coe
104360
104448
  }
104361
104449
  };
104362
104450
 
104363
- },{"../../lib":524,"./clean_ticks":576}],595:[function(_dereq_,module,exports){
104451
+ },{"../../lib":524,"./clean_ticks":577}],596:[function(_dereq_,module,exports){
104364
104452
  /**
104365
104453
  * Copyright 2012-2020, Plotly, Inc.
104366
104454
  * All rights reserved.
@@ -104573,7 +104661,7 @@ module.exports = function transitionAxes(gd, edits, transitionOpts, makeOnComple
104573
104661
  return Promise.resolve();
104574
104662
  };
104575
104663
 
104576
- },{"../../components/drawing":416,"../../lib":524,"../../registry":625,"./axes":571,"d3":82}],596:[function(_dereq_,module,exports){
104664
+ },{"../../components/drawing":416,"../../lib":524,"../../registry":626,"./axes":572,"d3":82}],597:[function(_dereq_,module,exports){
104577
104665
  /**
104578
104666
  * Copyright 2012-2020, Plotly, Inc.
104579
104667
  * All rights reserved.
@@ -104713,7 +104801,7 @@ function isBoxWithoutPositionCoords(trace, axLetter) {
104713
104801
  );
104714
104802
  }
104715
104803
 
104716
- },{"../../registry":625,"./axis_autotype":572}],597:[function(_dereq_,module,exports){
104804
+ },{"../../registry":626,"./axis_autotype":573}],598:[function(_dereq_,module,exports){
104717
104805
  /**
104718
104806
  * Copyright 2012-2020, Plotly, Inc.
104719
104807
  * All rights reserved.
@@ -105140,7 +105228,7 @@ function crawl(attrs, callback, path, depth) {
105140
105228
  });
105141
105229
  }
105142
105230
 
105143
- },{"../lib":524,"../registry":625}],598:[function(_dereq_,module,exports){
105231
+ },{"../lib":524,"../registry":626}],599:[function(_dereq_,module,exports){
105144
105232
  /**
105145
105233
  * Copyright 2012-2020, Plotly, Inc.
105146
105234
  * All rights reserved.
@@ -105252,7 +105340,7 @@ exports.defaults = function(containerOut, layout, coerce, dfltDomains) {
105252
105340
  if(!(y[0] < y[1])) containerOut.domain.y = dfltY.slice();
105253
105341
  };
105254
105342
 
105255
- },{"../lib/extend":517}],599:[function(_dereq_,module,exports){
105343
+ },{"../lib/extend":517}],600:[function(_dereq_,module,exports){
105256
105344
  /**
105257
105345
  * Copyright 2012-2020, Plotly, Inc.
105258
105346
  * All rights reserved.
@@ -105317,7 +105405,7 @@ module.exports = function(opts) {
105317
105405
  return attrs;
105318
105406
  };
105319
105407
 
105320
- },{}],600:[function(_dereq_,module,exports){
105408
+ },{}],601:[function(_dereq_,module,exports){
105321
105409
  /**
105322
105410
  * Copyright 2012-2020, Plotly, Inc.
105323
105411
  * All rights reserved.
@@ -105363,7 +105451,7 @@ module.exports = {
105363
105451
  }
105364
105452
  };
105365
105453
 
105366
- },{}],601:[function(_dereq_,module,exports){
105454
+ },{}],602:[function(_dereq_,module,exports){
105367
105455
  /**
105368
105456
  * Copyright 2012-2020, Plotly, Inc.
105369
105457
  * All rights reserved.
@@ -105492,7 +105580,7 @@ exports.getSubplotData = function getSubplotData(data, type, subplotId) {
105492
105580
  return subplotData;
105493
105581
  };
105494
105582
 
105495
- },{"../registry":625,"./cartesian/constants":577}],602:[function(_dereq_,module,exports){
105583
+ },{"../registry":626,"./cartesian/constants":578}],603:[function(_dereq_,module,exports){
105496
105584
  /**
105497
105585
  * Copyright 2012-2020, Plotly, Inc.
105498
105586
  * All rights reserved.
@@ -105652,7 +105740,7 @@ exports.updateFx = function(gd) {
105652
105740
  }
105653
105741
  };
105654
105742
 
105655
- },{"../../components/fx/layout_attributes":435,"../../constants/xmlns_namespaces":503,"../../lib":524,"../../plot_api/edit_types":553,"../get_data":601,"./layout/attributes":603,"./layout/defaults":607,"./layout/layout_attributes":608,"./scene":612}],603:[function(_dereq_,module,exports){
105743
+ },{"../../components/fx/layout_attributes":435,"../../constants/xmlns_namespaces":503,"../../lib":524,"../../plot_api/edit_types":554,"../get_data":602,"./layout/attributes":604,"./layout/defaults":608,"./layout/layout_attributes":609,"./scene":613}],604:[function(_dereq_,module,exports){
105656
105744
  /**
105657
105745
  * Copyright 2012-2020, Plotly, Inc.
105658
105746
  * All rights reserved.
@@ -105674,7 +105762,7 @@ module.exports = {
105674
105762
  }
105675
105763
  };
105676
105764
 
105677
- },{}],604:[function(_dereq_,module,exports){
105765
+ },{}],605:[function(_dereq_,module,exports){
105678
105766
  /**
105679
105767
  * Copyright 2012-2020, Plotly, Inc.
105680
105768
  * All rights reserved.
@@ -105798,7 +105886,7 @@ module.exports = overrideAll({
105798
105886
  }
105799
105887
  }, 'plot', 'from-root');
105800
105888
 
105801
- },{"../../../components/color":394,"../../../lib/extend":517,"../../../plot_api/edit_types":553,"../../cartesian/layout_attributes":585}],605:[function(_dereq_,module,exports){
105889
+ },{"../../../components/color":394,"../../../lib/extend":517,"../../../plot_api/edit_types":554,"../../cartesian/layout_attributes":586}],606:[function(_dereq_,module,exports){
105802
105890
  /**
105803
105891
  * Copyright 2012-2020, Plotly, Inc.
105804
105892
  * All rights reserved.
@@ -105875,7 +105963,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, options) {
105875
105963
  }
105876
105964
  };
105877
105965
 
105878
- },{"../../../lib":524,"../../../plot_api/plot_template":560,"../../cartesian/axis_defaults":573,"../../cartesian/type_defaults":596,"./axis_attributes":604,"tinycolor2":360}],606:[function(_dereq_,module,exports){
105966
+ },{"../../../lib":524,"../../../plot_api/plot_template":561,"../../cartesian/axis_defaults":574,"../../cartesian/type_defaults":597,"./axis_attributes":605,"tinycolor2":360}],607:[function(_dereq_,module,exports){
105879
105967
  /**
105880
105968
  * Copyright 2012-2020, Plotly, Inc.
105881
105969
  * All rights reserved.
@@ -106040,7 +106128,7 @@ function createAxesOptions(fullLayout, sceneLayout) {
106040
106128
 
106041
106129
  module.exports = createAxesOptions;
106042
106130
 
106043
- },{"../../../lib":524,"../../../lib/str2rgbarray":546}],607:[function(_dereq_,module,exports){
106131
+ },{"../../../lib":524,"../../../lib/str2rgbarray":547}],608:[function(_dereq_,module,exports){
106044
106132
  /**
106045
106133
  * Copyright 2012-2020, Plotly, Inc.
106046
106134
  * All rights reserved.
@@ -106190,7 +106278,7 @@ function handleGl3dDefaults(sceneLayoutIn, sceneLayoutOut, coerce, opts) {
106190
106278
  coerce('hovermode', opts.getDfltFromLayout('hovermode'));
106191
106279
  }
106192
106280
 
106193
- },{"../../../components/color":394,"../../../lib":524,"../../../registry":625,"../../get_data":601,"../../subplot_defaults":623,"./axis_defaults":605,"./layout_attributes":608}],608:[function(_dereq_,module,exports){
106281
+ },{"../../../components/color":394,"../../../lib":524,"../../../registry":626,"../../get_data":602,"../../subplot_defaults":624,"./axis_defaults":606,"./layout_attributes":609}],609:[function(_dereq_,module,exports){
106194
106282
  /**
106195
106283
  * Copyright 2012-2020, Plotly, Inc.
106196
106284
  * All rights reserved.
@@ -106341,7 +106429,7 @@ module.exports = {
106341
106429
  }
106342
106430
  };
106343
106431
 
106344
- },{"../../../lib":524,"../../../lib/extend":517,"../../domain":598,"./axis_attributes":604}],609:[function(_dereq_,module,exports){
106432
+ },{"../../../lib":524,"../../../lib/extend":517,"../../domain":599,"./axis_attributes":605}],610:[function(_dereq_,module,exports){
106345
106433
  /**
106346
106434
  * Copyright 2012-2020, Plotly, Inc.
106347
106435
  * All rights reserved.
@@ -106393,7 +106481,7 @@ function createSpikeOptions(layout) {
106393
106481
 
106394
106482
  module.exports = createSpikeOptions;
106395
106483
 
106396
- },{"../../../lib/str2rgbarray":546}],610:[function(_dereq_,module,exports){
106484
+ },{"../../../lib/str2rgbarray":547}],611:[function(_dereq_,module,exports){
106397
106485
  /**
106398
106486
  * Copyright 2012-2020, Plotly, Inc.
106399
106487
  * All rights reserved.
@@ -106494,7 +106582,7 @@ function computeTickMarks(scene) {
106494
106582
  scene.contourLevels = contourLevelsFromTicks(ticks);
106495
106583
  }
106496
106584
 
106497
- },{"../../../lib":524,"../../cartesian/axes":571}],611:[function(_dereq_,module,exports){
106585
+ },{"../../../lib":524,"../../cartesian/axes":572}],612:[function(_dereq_,module,exports){
106498
106586
  /**
106499
106587
  * Copyright 2012-2020, Plotly, Inc.
106500
106588
  * All rights reserved.
@@ -106528,7 +106616,7 @@ function project(camera, v) {
106528
106616
 
106529
106617
  module.exports = project;
106530
106618
 
106531
- },{}],612:[function(_dereq_,module,exports){
106619
+ },{}],613:[function(_dereq_,module,exports){
106532
106620
  /**
106533
106621
  * Copyright 2012-2020, Plotly, Inc.
106534
106622
  * All rights reserved.
@@ -106549,6 +106637,7 @@ var passiveSupported = _dereq_('has-passive-events');
106549
106637
 
106550
106638
  var Registry = _dereq_('../../registry');
106551
106639
  var Lib = _dereq_('../../lib');
106640
+ var preserveDrawingBuffer = Lib.preserveDrawingBuffer();
106552
106641
 
106553
106642
  var Axes = _dereq_('../../plots/cartesian/axes');
106554
106643
  var Fx = _dereq_('../../components/fx');
@@ -106561,9 +106650,6 @@ var createAxesOptions = _dereq_('./layout/convert');
106561
106650
  var createSpikeOptions = _dereq_('./layout/spikes');
106562
106651
  var computeTickMarks = _dereq_('./layout/tick_marks');
106563
106652
 
106564
- var isMobile = _dereq_('is-mobile')({ tablet: true, featureDetect: true });
106565
-
106566
-
106567
106653
  var STATIC_CANVAS, STATIC_CONTEXT;
106568
106654
 
106569
106655
  function Scene(options, fullLayout) {
@@ -106629,7 +106715,7 @@ proto.prepareOptions = function() {
106629
106715
  canvas: scene.canvas,
106630
106716
  gl: scene.gl,
106631
106717
  glOptions: {
106632
- preserveDrawingBuffer: isMobile,
106718
+ preserveDrawingBuffer: preserveDrawingBuffer,
106633
106719
  premultipliedAlpha: true,
106634
106720
  antialias: true
106635
106721
  },
@@ -106679,26 +106765,26 @@ proto.tryCreatePlot = function() {
106679
106765
  try {
106680
106766
  scene.glplot = createPlot(opts);
106681
106767
  } catch(e) {
106682
- if(scene.staticMode || !firstInit) {
106768
+ if(scene.staticMode || !firstInit || preserveDrawingBuffer) {
106683
106769
  success = false;
106684
106770
  } else { // try second time
106771
+ // enable preserveDrawingBuffer setup
106772
+ // in case is-mobile not detecting the right device
106773
+ Lib.warn([
106774
+ 'webgl setup failed possibly due to',
106775
+ 'false preserveDrawingBuffer config.',
106776
+ 'The mobile/tablet device may not be detected by is-mobile module.',
106777
+ 'Enabling preserveDrawingBuffer in second attempt to create webgl scene...'
106778
+ ].join(' '));
106779
+
106685
106780
  try {
106686
- // invert preserveDrawingBuffer setup which could be resulted from is-mobile not detecting the right device
106687
- Lib.warn([
106688
- 'webgl setup failed possibly due to',
106689
- isMobile ? 'disabling' : 'enabling',
106690
- 'preserveDrawingBuffer config.',
106691
- 'The device may not be supported by is-mobile module!',
106692
- 'Inverting preserveDrawingBuffer option in second attempt to create webgl scene.'
106693
- ].join(' '));
106694
-
106695
- // invert is-mobile
106696
- isMobile = opts.glOptions.preserveDrawingBuffer = !opts.glOptions.preserveDrawingBuffer;
106781
+ // invert preserveDrawingBuffer
106782
+ preserveDrawingBuffer = opts.glOptions.preserveDrawingBuffer = true;
106697
106783
 
106698
106784
  scene.glplot = createPlot(opts);
106699
106785
  } catch(e) {
106700
- // revert changes to is-mobile
106701
- isMobile = opts.glOptions.preserveDrawingBuffer = !opts.glOptions.preserveDrawingBuffer;
106786
+ // revert changes to preserveDrawingBuffer
106787
+ preserveDrawingBuffer = opts.glOptions.preserveDrawingBuffer = false;
106702
106788
 
106703
106789
  success = false;
106704
106790
  }
@@ -107667,7 +107753,7 @@ proto.make4thDimension = function() {
107667
107753
 
107668
107754
  module.exports = Scene;
107669
107755
 
107670
- },{"../../components/fx":434,"../../lib":524,"../../lib/show_no_webgl_msg":544,"../../lib/str2rgbarray":546,"../../plots/cartesian/axes":571,"../../registry":625,"./layout/convert":606,"./layout/spikes":609,"./layout/tick_marks":610,"./project":611,"gl-plot3d":158,"has-passive-events":268,"is-mobile":277,"webgl-context":375}],613:[function(_dereq_,module,exports){
107756
+ },{"../../components/fx":434,"../../lib":524,"../../lib/show_no_webgl_msg":545,"../../lib/str2rgbarray":547,"../../plots/cartesian/axes":572,"../../registry":626,"./layout/convert":607,"./layout/spikes":610,"./layout/tick_marks":611,"./project":612,"gl-plot3d":158,"has-passive-events":268,"webgl-context":375}],614:[function(_dereq_,module,exports){
107671
107757
  /**
107672
107758
  * Copyright 2012-2020, Plotly, Inc.
107673
107759
  * All rights reserved.
@@ -107688,7 +107774,7 @@ module.exports = function zip3(x, y, z, len) {
107688
107774
  return result;
107689
107775
  };
107690
107776
 
107691
- },{}],614:[function(_dereq_,module,exports){
107777
+ },{}],615:[function(_dereq_,module,exports){
107692
107778
  /**
107693
107779
  * Copyright 2012-2020, Plotly, Inc.
107694
107780
  * All rights reserved.
@@ -108029,7 +108115,7 @@ module.exports = {
108029
108115
  }
108030
108116
  };
108031
108117
 
108032
- },{"../components/color/attributes":393,"../components/shapes/draw_newshape/attributes":476,"../lib/extend":517,"./animation_attributes":565,"./font_attributes":599,"./pad_attributes":615}],615:[function(_dereq_,module,exports){
108118
+ },{"../components/color/attributes":393,"../components/shapes/draw_newshape/attributes":476,"../lib/extend":517,"./animation_attributes":566,"./font_attributes":600,"./pad_attributes":616}],616:[function(_dereq_,module,exports){
108033
108119
  /**
108034
108120
  * Copyright 2012-2020, Plotly, Inc.
108035
108121
  * All rights reserved.
@@ -108084,7 +108170,7 @@ module.exports = function(opts) {
108084
108170
  };
108085
108171
  };
108086
108172
 
108087
- },{}],616:[function(_dereq_,module,exports){
108173
+ },{}],617:[function(_dereq_,module,exports){
108088
108174
  /**
108089
108175
  * Copyright 2012-2020, Plotly, Inc.
108090
108176
  * All rights reserved.
@@ -109953,8 +110039,13 @@ function initMargins(fullLayout) {
109953
110039
  if(!fullLayout._pushmarginIds) fullLayout._pushmarginIds = {};
109954
110040
  }
109955
110041
 
109956
- var minFinalWidth = 64; // could possibly be exposed as layout.margin.minfinalwidth
109957
- var minFinalHeight = 64; // could possibly be exposed as layout.margin.minfinalheight
110042
+ // non-negotiable - this is the smallest height we will allow users to specify via explicit margins
110043
+ var MIN_SPECIFIED_WIDTH = 2;
110044
+ var MIN_SPECIFIED_HEIGHT = 2;
110045
+
110046
+ // could be exposed as an option - the smallest we will allow automargin to shrink a larger plot
110047
+ var MIN_REDUCED_WIDTH = 64;
110048
+ var MIN_REDUCED_HEIGHT = 64;
109958
110049
 
109959
110050
  /**
109960
110051
  * autoMargin: called by components that may need to expand the margins to
@@ -109975,20 +110066,33 @@ plots.autoMargin = function(gd, id, o) {
109975
110066
  var fullLayout = gd._fullLayout;
109976
110067
  var width = fullLayout.width;
109977
110068
  var height = fullLayout.height;
110069
+ var margin = fullLayout.margin;
110070
+
110071
+ var minFinalWidth = Lib.constrain(
110072
+ width - margin.l - margin.r,
110073
+ MIN_SPECIFIED_WIDTH,
110074
+ MIN_REDUCED_WIDTH
110075
+ );
110076
+
110077
+ var minFinalHeight = Lib.constrain(
110078
+ height - margin.t - margin.b,
110079
+ MIN_SPECIFIED_HEIGHT,
110080
+ MIN_REDUCED_HEIGHT
110081
+ );
110082
+
109978
110083
  var maxSpaceW = Math.max(0, width - minFinalWidth);
109979
110084
  var maxSpaceH = Math.max(0, height - minFinalHeight);
109980
110085
 
109981
110086
  var pushMargin = fullLayout._pushmargin;
109982
110087
  var pushMarginIds = fullLayout._pushmarginIds;
109983
110088
 
109984
- if(fullLayout.margin.autoexpand !== false) {
110089
+ if(margin.autoexpand !== false) {
109985
110090
  if(!o) {
109986
110091
  delete pushMargin[id];
109987
110092
  delete pushMarginIds[id];
109988
110093
  } else {
109989
110094
  var pad = o.pad;
109990
110095
  if(pad === undefined) {
109991
- var margin = fullLayout.margin;
109992
110096
  // if no explicit pad is given, use 12px unless there's a
109993
110097
  // specified margin that's smaller than that
109994
110098
  pad = Math.min(12, margin.l, margin.r, margin.t, margin.b);
@@ -109996,15 +110100,19 @@ plots.autoMargin = function(gd, id, o) {
109996
110100
 
109997
110101
  // if the item is too big, just give it enough automargin to
109998
110102
  // make sure you can still grab it and bring it back
109999
- var rW = (o.l + o.r) / maxSpaceW;
110000
- if(rW > 1) {
110001
- o.l /= rW;
110002
- o.r /= rW;
110103
+ if(maxSpaceW) {
110104
+ var rW = (o.l + o.r) / maxSpaceW;
110105
+ if(rW > 1) {
110106
+ o.l /= rW;
110107
+ o.r /= rW;
110108
+ }
110003
110109
  }
110004
- var rH = (o.t + o.b) / maxSpaceH;
110005
- if(rH > 1) {
110006
- o.t /= rH;
110007
- o.b /= rH;
110110
+ if(maxSpaceH) {
110111
+ var rH = (o.t + o.b) / maxSpaceH;
110112
+ if(rH > 1) {
110113
+ o.t /= rH;
110114
+ o.b /= rH;
110115
+ }
110008
110116
  }
110009
110117
 
110010
110118
  var xl = o.xl !== undefined ? o.xl : o.x;
@@ -110031,8 +110139,6 @@ plots.doAutoMargin = function(gd) {
110031
110139
  var fullLayout = gd._fullLayout;
110032
110140
  var width = fullLayout.width;
110033
110141
  var height = fullLayout.height;
110034
- var maxSpaceW = Math.max(0, width - minFinalWidth);
110035
- var maxSpaceH = Math.max(0, height - minFinalHeight);
110036
110142
 
110037
110143
  if(!fullLayout._size) fullLayout._size = {};
110038
110144
  initMargins(fullLayout);
@@ -110105,16 +110211,35 @@ plots.doAutoMargin = function(gd) {
110105
110211
  }
110106
110212
  }
110107
110213
 
110108
- var rW = (ml + mr) / maxSpaceW;
110109
- if(rW > 1) {
110110
- ml /= rW;
110111
- mr /= rW;
110214
+ var minFinalWidth = Lib.constrain(
110215
+ width - margin.l - margin.r,
110216
+ MIN_SPECIFIED_WIDTH,
110217
+ MIN_REDUCED_WIDTH
110218
+ );
110219
+
110220
+ var minFinalHeight = Lib.constrain(
110221
+ height - margin.t - margin.b,
110222
+ MIN_SPECIFIED_HEIGHT,
110223
+ MIN_REDUCED_HEIGHT
110224
+ );
110225
+
110226
+ var maxSpaceW = Math.max(0, width - minFinalWidth);
110227
+ var maxSpaceH = Math.max(0, height - minFinalHeight);
110228
+
110229
+ if(maxSpaceW) {
110230
+ var rW = (ml + mr) / maxSpaceW;
110231
+ if(rW > 1) {
110232
+ ml /= rW;
110233
+ mr /= rW;
110234
+ }
110112
110235
  }
110113
110236
 
110114
- var rH = (mb + mt) / maxSpaceH;
110115
- if(rH > 1) {
110116
- mb /= rH;
110117
- mt /= rH;
110237
+ if(maxSpaceH) {
110238
+ var rH = (mb + mt) / maxSpaceH;
110239
+ if(rH > 1) {
110240
+ mb /= rH;
110241
+ mt /= rH;
110242
+ }
110118
110243
  }
110119
110244
 
110120
110245
  gs.l = Math.round(ml);
@@ -111472,7 +111597,7 @@ plots.cleanBasePlot = function(desiredType, newFullData, newFullLayout, oldFullD
111472
111597
  }
111473
111598
  };
111474
111599
 
111475
- },{"../components/color":394,"../constants/numerical":502,"../lib":524,"../plot_api/plot_schema":559,"../plot_api/plot_template":560,"../plots/get_data":601,"../registry":625,"./animation_attributes":565,"./attributes":567,"./cartesian/axis_ids":574,"./cartesian/handle_outline":581,"./command":597,"./font_attributes":599,"./frame_attributes":600,"./layout_attributes":614,"d3":82,"d3-time-format":80,"fast-isnumeric":91}],617:[function(_dereq_,module,exports){
111600
+ },{"../components/color":394,"../constants/numerical":502,"../lib":524,"../plot_api/plot_schema":560,"../plot_api/plot_template":561,"../plots/get_data":602,"../registry":626,"./animation_attributes":566,"./attributes":568,"./cartesian/axis_ids":575,"./cartesian/handle_outline":582,"./command":598,"./font_attributes":600,"./frame_attributes":601,"./layout_attributes":615,"d3":82,"d3-time-format":80,"fast-isnumeric":91}],618:[function(_dereq_,module,exports){
111476
111601
  /**
111477
111602
  * Copyright 2012-2020, Plotly, Inc.
111478
111603
  * All rights reserved.
@@ -111516,7 +111641,7 @@ module.exports = {
111516
111641
  }
111517
111642
  };
111518
111643
 
111519
- },{"../../../lib/extend":517,"../../../traces/scatter/attributes":654}],618:[function(_dereq_,module,exports){
111644
+ },{"../../../lib/extend":517,"../../../traces/scatter/attributes":655}],619:[function(_dereq_,module,exports){
111520
111645
  /**
111521
111646
  * Copyright 2012-2020, Plotly, Inc.
111522
111647
  * All rights reserved.
@@ -111638,7 +111763,7 @@ module.exports = overrideAll({
111638
111763
  }
111639
111764
  }, 'plot', 'nested');
111640
111765
 
111641
- },{"../../../lib/extend":517,"../../../plot_api/edit_types":553,"../../cartesian/layout_attributes":585}],619:[function(_dereq_,module,exports){
111766
+ },{"../../../lib/extend":517,"../../../plot_api/edit_types":554,"../../cartesian/layout_attributes":586}],620:[function(_dereq_,module,exports){
111642
111767
  /**
111643
111768
  * Copyright 2012-2020, Plotly, Inc.
111644
111769
  * All rights reserved.
@@ -111653,7 +111778,7 @@ var Polar = module.exports = _dereq_('./micropolar');
111653
111778
 
111654
111779
  Polar.manager = _dereq_('./micropolar_manager');
111655
111780
 
111656
- },{"./micropolar":620,"./micropolar_manager":621}],620:[function(_dereq_,module,exports){
111781
+ },{"./micropolar":621,"./micropolar_manager":622}],621:[function(_dereq_,module,exports){
111657
111782
  /**
111658
111783
  * Copyright 2012-2020, Plotly, Inc.
111659
111784
  * All rights reserved.
@@ -113073,7 +113198,7 @@ var µ = module.exports = { version: '0.2.2' };
113073
113198
  return exports;
113074
113199
  };
113075
113200
 
113076
- },{"../../../constants/alignment":496,"../../../lib":524,"d3":82}],621:[function(_dereq_,module,exports){
113201
+ },{"../../../constants/alignment":496,"../../../lib":524,"d3":82}],622:[function(_dereq_,module,exports){
113077
113202
  /**
113078
113203
  * Copyright 2012-2020, Plotly, Inc.
113079
113204
  * All rights reserved.
@@ -113159,7 +113284,7 @@ manager.fillLayout = function(_gd) {
113159
113284
  _gd._fullLayout = extendDeepAll(dflts, _gd.layout);
113160
113285
  };
113161
113286
 
113162
- },{"../../../components/color":394,"../../../lib":524,"./micropolar":620,"./undo_manager":622,"d3":82}],622:[function(_dereq_,module,exports){
113287
+ },{"../../../components/color":394,"../../../lib":524,"./micropolar":621,"./undo_manager":623,"d3":82}],623:[function(_dereq_,module,exports){
113163
113288
  /**
113164
113289
  * Copyright 2012-2020, Plotly, Inc.
113165
113290
  * All rights reserved.
@@ -113225,7 +113350,7 @@ module.exports = function UndoManager() {
113225
113350
  };
113226
113351
  };
113227
113352
 
113228
- },{}],623:[function(_dereq_,module,exports){
113353
+ },{}],624:[function(_dereq_,module,exports){
113229
113354
  /**
113230
113355
  * Copyright 2012-2020, Plotly, Inc.
113231
113356
  * All rights reserved.
@@ -113310,7 +113435,7 @@ module.exports = function handleSubplotDefaults(layoutIn, layoutOut, fullData, o
113310
113435
  }
113311
113436
  };
113312
113437
 
113313
- },{"../lib":524,"../plot_api/plot_template":560,"./domain":598}],624:[function(_dereq_,module,exports){
113438
+ },{"../lib":524,"../plot_api/plot_template":561,"./domain":599}],625:[function(_dereq_,module,exports){
113314
113439
  /**
113315
113440
  * Copyright 2012-2020, Plotly, Inc.
113316
113441
  * All rights reserved.
@@ -113393,7 +113518,7 @@ exports.texttemplateAttrs = function(opts, extra) {
113393
113518
  return texttemplate;
113394
113519
  };
113395
113520
 
113396
- },{"../constants/docs":498}],625:[function(_dereq_,module,exports){
113521
+ },{"../constants/docs":498}],626:[function(_dereq_,module,exports){
113397
113522
  /**
113398
113523
  * Copyright 2012-2020, Plotly, Inc.
113399
113524
  * All rights reserved.
@@ -113859,7 +113984,7 @@ function getTraceType(traceType) {
113859
113984
  return traceType;
113860
113985
  }
113861
113986
 
113862
- },{"./lib/dom":515,"./lib/extend":517,"./lib/is_plain_object":525,"./lib/loggers":528,"./lib/noop":533,"./lib/push_unique":537,"./plots/attributes":567,"./plots/layout_attributes":614}],626:[function(_dereq_,module,exports){
113987
+ },{"./lib/dom":515,"./lib/extend":517,"./lib/is_plain_object":525,"./lib/loggers":528,"./lib/noop":533,"./lib/push_unique":538,"./plots/attributes":568,"./plots/layout_attributes":615}],627:[function(_dereq_,module,exports){
113863
113988
  /**
113864
113989
  * Copyright 2012-2020, Plotly, Inc.
113865
113990
  * All rights reserved.
@@ -114032,7 +114157,7 @@ module.exports = function clonePlot(graphObj, options) {
114032
114157
  return plotTile;
114033
114158
  };
114034
114159
 
114035
- },{"../lib":524,"../registry":625}],627:[function(_dereq_,module,exports){
114160
+ },{"../lib":524,"../registry":626}],628:[function(_dereq_,module,exports){
114036
114161
  /**
114037
114162
  * Copyright 2012-2020, Plotly, Inc.
114038
114163
  * All rights reserved.
@@ -114104,7 +114229,7 @@ function downloadImage(gd, opts) {
114104
114229
 
114105
114230
  module.exports = downloadImage;
114106
114231
 
114107
- },{"../lib":524,"../plot_api/to_image":563,"./filesaver":628,"./helpers":629}],628:[function(_dereq_,module,exports){
114232
+ },{"../lib":524,"../plot_api/to_image":564,"./filesaver":629,"./helpers":630}],629:[function(_dereq_,module,exports){
114108
114233
  /**
114109
114234
  * Copyright 2012-2020, Plotly, Inc.
114110
114235
  * All rights reserved.
@@ -114184,7 +114309,7 @@ function fileSaver(url, name, format) {
114184
114309
 
114185
114310
  module.exports = fileSaver;
114186
114311
 
114187
- },{"../lib":524,"./helpers":629}],629:[function(_dereq_,module,exports){
114312
+ },{"../lib":524,"./helpers":630}],630:[function(_dereq_,module,exports){
114188
114313
  /**
114189
114314
  * Copyright 2012-2020, Plotly, Inc.
114190
114315
  * All rights reserved.
@@ -114267,7 +114392,7 @@ exports.IMAGE_URL_PREFIX = /^data:image\/\w+;base64,/;
114267
114392
 
114268
114393
  exports.MSG_IE_BAD_FORMAT = 'Sorry IE does not support downloading from canvas. Try {format:\'svg\'} instead.';
114269
114394
 
114270
- },{"../registry":625}],630:[function(_dereq_,module,exports){
114395
+ },{"../registry":626}],631:[function(_dereq_,module,exports){
114271
114396
  /**
114272
114397
  * Copyright 2012-2020, Plotly, Inc.
114273
114398
  * All rights reserved.
@@ -114293,7 +114418,7 @@ var Snapshot = {
114293
114418
 
114294
114419
  module.exports = Snapshot;
114295
114420
 
114296
- },{"./cloneplot":626,"./download":627,"./helpers":629,"./svgtoimg":631,"./toimage":632,"./tosvg":633}],631:[function(_dereq_,module,exports){
114421
+ },{"./cloneplot":627,"./download":628,"./helpers":630,"./svgtoimg":632,"./toimage":633,"./tosvg":634}],632:[function(_dereq_,module,exports){
114297
114422
  /**
114298
114423
  * Copyright 2012-2020, Plotly, Inc.
114299
114424
  * All rights reserved.
@@ -114420,7 +114545,7 @@ function svgToImg(opts) {
114420
114545
 
114421
114546
  module.exports = svgToImg;
114422
114547
 
114423
- },{"../lib":524,"./helpers":629,"events":48}],632:[function(_dereq_,module,exports){
114548
+ },{"../lib":524,"./helpers":630,"events":48}],633:[function(_dereq_,module,exports){
114424
114549
  /**
114425
114550
  * Copyright 2012-2020, Plotly, Inc.
114426
114551
  * All rights reserved.
@@ -114497,7 +114622,7 @@ function toImage(gd, opts) {
114497
114622
 
114498
114623
  module.exports = toImage;
114499
114624
 
114500
- },{"../lib":524,"../registry":625,"./cloneplot":626,"./helpers":629,"./svgtoimg":631,"./tosvg":633,"events":48}],633:[function(_dereq_,module,exports){
114625
+ },{"../lib":524,"../registry":626,"./cloneplot":627,"./helpers":630,"./svgtoimg":632,"./tosvg":634,"events":48}],634:[function(_dereq_,module,exports){
114501
114626
  /**
114502
114627
  * Copyright 2012-2020, Plotly, Inc.
114503
114628
  * All rights reserved.
@@ -114686,7 +114811,7 @@ module.exports = function toSVG(gd, format, scale) {
114686
114811
  return s;
114687
114812
  };
114688
114813
 
114689
- },{"../components/color":394,"../components/drawing":416,"../constants/xmlns_namespaces":503,"../lib":524,"d3":82}],634:[function(_dereq_,module,exports){
114814
+ },{"../components/color":394,"../components/drawing":416,"../constants/xmlns_namespaces":503,"../lib":524,"d3":82}],635:[function(_dereq_,module,exports){
114690
114815
  /**
114691
114816
  * Copyright 2012-2020, Plotly, Inc.
114692
114817
  * All rights reserved.
@@ -114849,7 +114974,7 @@ attrs.transforms = undefined;
114849
114974
 
114850
114975
  module.exports = attrs;
114851
114976
 
114852
- },{"../../components/colorscale/attributes":401,"../../lib/extend":517,"../../plots/attributes":567,"../../plots/template_attributes":624,"../mesh3d/attributes":646}],635:[function(_dereq_,module,exports){
114977
+ },{"../../components/colorscale/attributes":401,"../../lib/extend":517,"../../plots/attributes":568,"../../plots/template_attributes":625,"../mesh3d/attributes":647}],636:[function(_dereq_,module,exports){
114853
114978
  /**
114854
114979
  * Copyright 2012-2020, Plotly, Inc.
114855
114980
  * All rights reserved.
@@ -114893,7 +115018,7 @@ module.exports = function calc(gd, trace) {
114893
115018
  });
114894
115019
  };
114895
115020
 
114896
- },{"../../components/colorscale/calc":402}],636:[function(_dereq_,module,exports){
115021
+ },{"../../components/colorscale/calc":402}],637:[function(_dereq_,module,exports){
114897
115022
  /**
114898
115023
  * Copyright 2012-2020, Plotly, Inc.
114899
115024
  * All rights reserved.
@@ -115040,7 +115165,7 @@ function createConeTrace(scene, data) {
115040
115165
 
115041
115166
  module.exports = createConeTrace;
115042
115167
 
115043
- },{"../../components/colorscale":406,"../../lib":524,"../../lib/gl_format_color":521,"../../plots/gl3d/zip3":613,"gl-cone3d":107}],637:[function(_dereq_,module,exports){
115168
+ },{"../../components/colorscale":406,"../../lib":524,"../../lib/gl_format_color":521,"../../plots/gl3d/zip3":614,"gl-cone3d":107}],638:[function(_dereq_,module,exports){
115044
115169
  /**
115045
115170
  * Copyright 2012-2020, Plotly, Inc.
115046
115171
  * All rights reserved.
@@ -115102,7 +115227,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
115102
115227
  traceOut._length = null;
115103
115228
  };
115104
115229
 
115105
- },{"../../components/colorscale/defaults":404,"../../lib":524,"./attributes":634}],638:[function(_dereq_,module,exports){
115230
+ },{"../../components/colorscale/defaults":404,"../../lib":524,"./attributes":635}],639:[function(_dereq_,module,exports){
115106
115231
  /**
115107
115232
  * Copyright 2012-2020, Plotly, Inc.
115108
115233
  * All rights reserved.
@@ -115137,7 +115262,7 @@ module.exports = {
115137
115262
  }
115138
115263
  };
115139
115264
 
115140
- },{"../../plots/gl3d":602,"./attributes":634,"./calc":635,"./convert":636,"./defaults":637}],639:[function(_dereq_,module,exports){
115265
+ },{"../../plots/gl3d":603,"./attributes":635,"./calc":636,"./convert":637,"./defaults":638}],640:[function(_dereq_,module,exports){
115141
115266
  /**
115142
115267
  * Copyright 2012-2020, Plotly, Inc.
115143
115268
  * All rights reserved.
@@ -115242,7 +115367,7 @@ module.exports = function findEmpties(z) {
115242
115367
  return empties.sort(function(a, b) { return b[2] - a[2]; });
115243
115368
  };
115244
115369
 
115245
- },{"../../lib":524}],640:[function(_dereq_,module,exports){
115370
+ },{"../../lib":524}],641:[function(_dereq_,module,exports){
115246
115371
  /**
115247
115372
  * Copyright 2012-2020, Plotly, Inc.
115248
115373
  * All rights reserved.
@@ -115375,7 +115500,7 @@ function iterateInterp2d(z, emptyPoints, overshoot) {
115375
115500
  return maxFractionalChange;
115376
115501
  }
115377
115502
 
115378
- },{"../../lib":524}],641:[function(_dereq_,module,exports){
115503
+ },{"../../lib":524}],642:[function(_dereq_,module,exports){
115379
115504
  /**
115380
115505
  * Copyright 2012-2020, Plotly, Inc.
115381
115506
  * All rights reserved.
@@ -115569,7 +115694,7 @@ attrs.flatshading.dflt = true; attrs.lighting.facenormalsepsilon.dflt = 0;
115569
115694
  attrs.x.editType = attrs.y.editType = attrs.z.editType = attrs.value.editType = 'calc+clearAxisTypes';
115570
115695
  attrs.transforms = undefined;
115571
115696
 
115572
- },{"../../components/colorscale/attributes":401,"../../lib/extend":517,"../../plot_api/edit_types":553,"../../plots/attributes":567,"../../plots/template_attributes":624,"../mesh3d/attributes":646}],642:[function(_dereq_,module,exports){
115697
+ },{"../../components/colorscale/attributes":401,"../../lib/extend":517,"../../plot_api/edit_types":554,"../../plots/attributes":568,"../../plots/template_attributes":625,"../mesh3d/attributes":647}],643:[function(_dereq_,module,exports){
115573
115698
  /**
115574
115699
  * Copyright 2012-2020, Plotly, Inc.
115575
115700
  * All rights reserved.
@@ -115624,7 +115749,7 @@ module.exports = function calc(gd, trace) {
115624
115749
  });
115625
115750
  };
115626
115751
 
115627
- },{"../../components/colorscale/calc":402,"../streamtube/calc":689}],643:[function(_dereq_,module,exports){
115752
+ },{"../../components/colorscale/calc":402,"../streamtube/calc":690}],644:[function(_dereq_,module,exports){
115628
115753
  /**
115629
115754
  * Copyright 2012-2020, Plotly, Inc.
115630
115755
  * All rights reserved.
@@ -116680,7 +116805,7 @@ module.exports = {
116680
116805
  createIsosurfaceTrace: createIsosurfaceTrace,
116681
116806
  };
116682
116807
 
116683
- },{"../../components/colorscale":406,"../../lib/gl_format_color":521,"../../lib/str2rgbarray":546,"../../plots/gl3d/zip3":613,"gl-mesh3d":153}],644:[function(_dereq_,module,exports){
116808
+ },{"../../components/colorscale":406,"../../lib/gl_format_color":521,"../../lib/str2rgbarray":547,"../../plots/gl3d/zip3":614,"gl-mesh3d":153}],645:[function(_dereq_,module,exports){
116684
116809
  /**
116685
116810
  * Copyright 2012-2020, Plotly, Inc.
116686
116811
  * All rights reserved.
@@ -116797,7 +116922,7 @@ module.exports = {
116797
116922
  supplyIsoDefaults: supplyIsoDefaults
116798
116923
  };
116799
116924
 
116800
- },{"../../components/colorscale/defaults":404,"../../lib":524,"../../registry":625,"./attributes":641}],645:[function(_dereq_,module,exports){
116925
+ },{"../../components/colorscale/defaults":404,"../../lib":524,"../../registry":626,"./attributes":642}],646:[function(_dereq_,module,exports){
116801
116926
  /**
116802
116927
  * Copyright 2012-2020, Plotly, Inc.
116803
116928
  * All rights reserved.
@@ -116827,7 +116952,7 @@ module.exports = {
116827
116952
  }
116828
116953
  };
116829
116954
 
116830
- },{"../../plots/gl3d":602,"./attributes":641,"./calc":642,"./convert":643,"./defaults":644}],646:[function(_dereq_,module,exports){
116955
+ },{"../../plots/gl3d":603,"./attributes":642,"./calc":643,"./convert":644,"./defaults":645}],647:[function(_dereq_,module,exports){
116831
116956
  /**
116832
116957
  * Copyright 2012-2020, Plotly, Inc.
116833
116958
  * All rights reserved.
@@ -117008,7 +117133,7 @@ colorScaleAttrs('', {
117008
117133
  showlegend: extendFlat({}, baseAttrs.showlegend, {dflt: false})
117009
117134
  });
117010
117135
 
117011
- },{"../../components/colorscale/attributes":401,"../../lib/extend":517,"../../plots/attributes":567,"../../plots/template_attributes":624,"../surface/attributes":693}],647:[function(_dereq_,module,exports){
117136
+ },{"../../components/colorscale/attributes":401,"../../lib/extend":517,"../../plots/attributes":568,"../../plots/template_attributes":625,"../surface/attributes":694}],648:[function(_dereq_,module,exports){
117012
117137
  /**
117013
117138
  * Copyright 2012-2020, Plotly, Inc.
117014
117139
  * All rights reserved.
@@ -117031,7 +117156,7 @@ module.exports = function calc(gd, trace) {
117031
117156
  }
117032
117157
  };
117033
117158
 
117034
- },{"../../components/colorscale/calc":402}],648:[function(_dereq_,module,exports){
117159
+ },{"../../components/colorscale/calc":402}],649:[function(_dereq_,module,exports){
117035
117160
  /**
117036
117161
  * Copyright 2012-2020, Plotly, Inc.
117037
117162
  * All rights reserved.
@@ -117234,7 +117359,7 @@ function createMesh3DTrace(scene, data) {
117234
117359
 
117235
117360
  module.exports = createMesh3DTrace;
117236
117361
 
117237
- },{"../../components/colorscale":406,"../../lib/gl_format_color":521,"../../lib/str2rgbarray":546,"../../plots/gl3d/zip3":613,"alpha-shape":16,"convex-hull":72,"delaunay-triangulate":84,"gl-mesh3d":153}],649:[function(_dereq_,module,exports){
117362
+ },{"../../components/colorscale":406,"../../lib/gl_format_color":521,"../../lib/str2rgbarray":547,"../../plots/gl3d/zip3":614,"alpha-shape":16,"convex-hull":72,"delaunay-triangulate":84,"gl-mesh3d":153}],650:[function(_dereq_,module,exports){
117238
117363
  /**
117239
117364
  * Copyright 2012-2020, Plotly, Inc.
117240
117365
  * All rights reserved.
@@ -117336,7 +117461,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
117336
117461
  traceOut._length = null;
117337
117462
  };
117338
117463
 
117339
- },{"../../components/colorscale/defaults":404,"../../lib":524,"../../registry":625,"./attributes":646}],650:[function(_dereq_,module,exports){
117464
+ },{"../../components/colorscale/defaults":404,"../../lib":524,"../../registry":626,"./attributes":647}],651:[function(_dereq_,module,exports){
117340
117465
  /**
117341
117466
  * Copyright 2012-2020, Plotly, Inc.
117342
117467
  * All rights reserved.
@@ -117366,7 +117491,7 @@ module.exports = {
117366
117491
  }
117367
117492
  };
117368
117493
 
117369
- },{"../../plots/gl3d":602,"./attributes":646,"./calc":647,"./convert":648,"./defaults":649}],651:[function(_dereq_,module,exports){
117494
+ },{"../../plots/gl3d":603,"./attributes":647,"./calc":648,"./convert":649,"./defaults":650}],652:[function(_dereq_,module,exports){
117370
117495
  /**
117371
117496
  * Copyright 2012-2020, Plotly, Inc.
117372
117497
  * All rights reserved.
@@ -117414,7 +117539,7 @@ exports.getRotationAngle = function(rotation) {
117414
117539
  return (rotation === 'auto' ? 0 : rotation) * Math.PI / 180;
117415
117540
  };
117416
117541
 
117417
- },{"../../lib":524}],652:[function(_dereq_,module,exports){
117542
+ },{"../../lib":524}],653:[function(_dereq_,module,exports){
117418
117543
  /**
117419
117544
  * Copyright 2012-2020, Plotly, Inc.
117420
117545
  * All rights reserved.
@@ -117438,7 +117563,7 @@ module.exports = function styleOne(s, pt, trace) {
117438
117563
  .call(Color.stroke, lineColor);
117439
117564
  };
117440
117565
 
117441
- },{"../../components/color":394,"./helpers":651}],653:[function(_dereq_,module,exports){
117566
+ },{"../../components/color":394,"./helpers":652}],654:[function(_dereq_,module,exports){
117442
117567
  /**
117443
117568
  * Copyright 2012-2020, Plotly, Inc.
117444
117569
  * All rights reserved.
@@ -117490,7 +117615,7 @@ module.exports = function arraysToCalcdata(cd, trace) {
117490
117615
  }
117491
117616
  };
117492
117617
 
117493
- },{"../../lib":524}],654:[function(_dereq_,module,exports){
117618
+ },{"../../lib":524}],655:[function(_dereq_,module,exports){
117494
117619
  /**
117495
117620
  * Copyright 2012-2020, Plotly, Inc.
117496
117621
  * All rights reserved.
@@ -117944,7 +118069,7 @@ module.exports = {
117944
118069
  }
117945
118070
  };
117946
118071
 
117947
- },{"../../components/colorscale/attributes":401,"../../components/drawing":416,"../../components/drawing/attributes":415,"../../lib/extend":517,"../../plots/font_attributes":599,"../../plots/template_attributes":624,"./constants":658}],655:[function(_dereq_,module,exports){
118072
+ },{"../../components/colorscale/attributes":401,"../../components/drawing":416,"../../components/drawing/attributes":415,"../../lib/extend":517,"../../plots/font_attributes":600,"../../plots/template_attributes":625,"./constants":659}],656:[function(_dereq_,module,exports){
117948
118073
  /**
117949
118074
  * Copyright 2012-2020, Plotly, Inc.
117950
118075
  * All rights reserved.
@@ -118243,7 +118368,7 @@ module.exports = {
118243
118368
  getStackOpts: getStackOpts
118244
118369
  };
118245
118370
 
118246
- },{"../../constants/numerical":502,"../../lib":524,"../../plots/cartesian/align_period":568,"../../plots/cartesian/axes":571,"./arrays_to_calcdata":653,"./calc_selection":656,"./colorscale_calc":657,"./subtypes":679,"fast-isnumeric":91}],656:[function(_dereq_,module,exports){
118371
+ },{"../../constants/numerical":502,"../../lib":524,"../../plots/cartesian/align_period":569,"../../plots/cartesian/axes":572,"./arrays_to_calcdata":654,"./calc_selection":657,"./colorscale_calc":658,"./subtypes":680,"fast-isnumeric":91}],657:[function(_dereq_,module,exports){
118247
118372
  /**
118248
118373
  * Copyright 2012-2020, Plotly, Inc.
118249
118374
  * All rights reserved.
@@ -118262,7 +118387,7 @@ module.exports = function calcSelection(cd, trace) {
118262
118387
  }
118263
118388
  };
118264
118389
 
118265
- },{"../../lib":524}],657:[function(_dereq_,module,exports){
118390
+ },{"../../lib":524}],658:[function(_dereq_,module,exports){
118266
118391
  /**
118267
118392
  * Copyright 2012-2020, Plotly, Inc.
118268
118393
  * All rights reserved.
@@ -118305,7 +118430,7 @@ module.exports = function calcMarkerColorscale(gd, trace) {
118305
118430
  }
118306
118431
  };
118307
118432
 
118308
- },{"../../components/colorscale/calc":402,"../../components/colorscale/helpers":405,"./subtypes":679}],658:[function(_dereq_,module,exports){
118433
+ },{"../../components/colorscale/calc":402,"../../components/colorscale/helpers":405,"./subtypes":680}],659:[function(_dereq_,module,exports){
118309
118434
  /**
118310
118435
  * Copyright 2012-2020, Plotly, Inc.
118311
118436
  * All rights reserved.
@@ -118334,7 +118459,7 @@ module.exports = {
118334
118459
  eventDataKeys: []
118335
118460
  };
118336
118461
 
118337
- },{}],659:[function(_dereq_,module,exports){
118462
+ },{}],660:[function(_dereq_,module,exports){
118338
118463
  /**
118339
118464
  * Copyright 2012-2020, Plotly, Inc.
118340
118465
  * All rights reserved.
@@ -118515,7 +118640,7 @@ function getInterp(calcTrace, index, position, posAttr) {
118515
118640
  return pt0.s + (pt1.s - pt0.s) * (position - pt0[posAttr]) / (pt1[posAttr] - pt0[posAttr]);
118516
118641
  }
118517
118642
 
118518
- },{"./calc":655}],660:[function(_dereq_,module,exports){
118643
+ },{"./calc":656}],661:[function(_dereq_,module,exports){
118519
118644
  /**
118520
118645
  * Copyright 2012-2020, Plotly, Inc.
118521
118646
  * All rights reserved.
@@ -118554,7 +118679,7 @@ module.exports = function crossTraceDefaults(fullData) {
118554
118679
  }
118555
118680
  };
118556
118681
 
118557
- },{}],661:[function(_dereq_,module,exports){
118682
+ },{}],662:[function(_dereq_,module,exports){
118558
118683
  /**
118559
118684
  * Copyright 2012-2020, Plotly, Inc.
118560
118685
  * All rights reserved.
@@ -118647,7 +118772,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
118647
118772
  Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
118648
118773
  };
118649
118774
 
118650
- },{"../../lib":524,"../../registry":625,"./attributes":654,"./constants":658,"./fillcolor_defaults":662,"./line_defaults":667,"./line_shape_defaults":669,"./marker_defaults":673,"./period_defaults":674,"./stack_defaults":677,"./subtypes":679,"./text_defaults":680,"./xy_defaults":681}],662:[function(_dereq_,module,exports){
118775
+ },{"../../lib":524,"../../registry":626,"./attributes":655,"./constants":659,"./fillcolor_defaults":663,"./line_defaults":668,"./line_shape_defaults":670,"./marker_defaults":674,"./period_defaults":675,"./stack_defaults":678,"./subtypes":680,"./text_defaults":681,"./xy_defaults":682}],663:[function(_dereq_,module,exports){
118651
118776
  /**
118652
118777
  * Copyright 2012-2020, Plotly, Inc.
118653
118778
  * All rights reserved.
@@ -118684,7 +118809,7 @@ module.exports = function fillColorDefaults(traceIn, traceOut, defaultColor, coe
118684
118809
  ));
118685
118810
  };
118686
118811
 
118687
- },{"../../components/color":394,"../../lib":524}],663:[function(_dereq_,module,exports){
118812
+ },{"../../components/color":394,"../../lib":524}],664:[function(_dereq_,module,exports){
118688
118813
  /**
118689
118814
  * Copyright 2012-2020, Plotly, Inc.
118690
118815
  * All rights reserved.
@@ -118710,7 +118835,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
118710
118835
  return labels;
118711
118836
  };
118712
118837
 
118713
- },{"../../plots/cartesian/axes":571}],664:[function(_dereq_,module,exports){
118838
+ },{"../../plots/cartesian/axes":572}],665:[function(_dereq_,module,exports){
118714
118839
  /**
118715
118840
  * Copyright 2012-2020, Plotly, Inc.
118716
118841
  * All rights reserved.
@@ -118759,7 +118884,7 @@ module.exports = function getTraceColor(trace, di) {
118759
118884
  }
118760
118885
  };
118761
118886
 
118762
- },{"../../components/color":394,"./subtypes":679}],665:[function(_dereq_,module,exports){
118887
+ },{"../../components/color":394,"./subtypes":680}],666:[function(_dereq_,module,exports){
118763
118888
  /**
118764
118889
  * Copyright 2012-2020, Plotly, Inc.
118765
118890
  * All rights reserved.
@@ -118954,7 +119079,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
118954
119079
  }
118955
119080
  };
118956
119081
 
118957
- },{"../../components/color":394,"../../components/fx":434,"../../lib":524,"../../registry":625,"./get_trace_color":664}],666:[function(_dereq_,module,exports){
119082
+ },{"../../components/color":394,"../../components/fx":434,"../../lib":524,"../../registry":626,"./get_trace_color":665}],667:[function(_dereq_,module,exports){
118958
119083
  /**
118959
119084
  * Copyright 2012-2020, Plotly, Inc.
118960
119085
  * All rights reserved.
@@ -119000,7 +119125,7 @@ module.exports = {
119000
119125
  }
119001
119126
  };
119002
119127
 
119003
- },{"../../plots/cartesian":584,"./arrays_to_calcdata":653,"./attributes":654,"./calc":655,"./cross_trace_calc":659,"./cross_trace_defaults":660,"./defaults":661,"./format_labels":663,"./hover":665,"./marker_colorbar":672,"./plot":675,"./select":676,"./style":678,"./subtypes":679}],667:[function(_dereq_,module,exports){
119128
+ },{"../../plots/cartesian":585,"./arrays_to_calcdata":654,"./attributes":655,"./calc":656,"./cross_trace_calc":660,"./cross_trace_defaults":661,"./defaults":662,"./format_labels":664,"./hover":666,"./marker_colorbar":673,"./plot":676,"./select":677,"./style":679,"./subtypes":680}],668:[function(_dereq_,module,exports){
119004
119129
  /**
119005
119130
  * Copyright 2012-2020, Plotly, Inc.
119006
119131
  * All rights reserved.
@@ -119031,7 +119156,7 @@ module.exports = function lineDefaults(traceIn, traceOut, defaultColor, layout,
119031
119156
  if(!(opts || {}).noDash) coerce('line.dash');
119032
119157
  };
119033
119158
 
119034
- },{"../../components/colorscale/defaults":404,"../../components/colorscale/helpers":405,"../../lib":524}],668:[function(_dereq_,module,exports){
119159
+ },{"../../components/colorscale/defaults":404,"../../components/colorscale/helpers":405,"../../lib":524}],669:[function(_dereq_,module,exports){
119035
119160
  /**
119036
119161
  * Copyright 2012-2020, Plotly, Inc.
119037
119162
  * All rights reserved.
@@ -119492,7 +119617,7 @@ module.exports = function linePoints(d, opts) {
119492
119617
  return segments;
119493
119618
  };
119494
119619
 
119495
- },{"../../constants/numerical":502,"../../lib":524,"./constants":658}],669:[function(_dereq_,module,exports){
119620
+ },{"../../constants/numerical":502,"../../lib":524,"./constants":659}],670:[function(_dereq_,module,exports){
119496
119621
  /**
119497
119622
  * Copyright 2012-2020, Plotly, Inc.
119498
119623
  * All rights reserved.
@@ -119511,7 +119636,7 @@ module.exports = function handleLineShapeDefaults(traceIn, traceOut, coerce) {
119511
119636
  if(shape === 'spline') coerce('line.smoothing');
119512
119637
  };
119513
119638
 
119514
- },{}],670:[function(_dereq_,module,exports){
119639
+ },{}],671:[function(_dereq_,module,exports){
119515
119640
  /**
119516
119641
  * Copyright 2012-2020, Plotly, Inc.
119517
119642
  * All rights reserved.
@@ -119601,7 +119726,7 @@ module.exports = function linkTraces(gd, plotinfo, cdscatter) {
119601
119726
  return cdscatterSorted;
119602
119727
  };
119603
119728
 
119604
- },{}],671:[function(_dereq_,module,exports){
119729
+ },{}],672:[function(_dereq_,module,exports){
119605
119730
  /**
119606
119731
  * Copyright 2012-2020, Plotly, Inc.
119607
119732
  * All rights reserved.
@@ -119643,7 +119768,7 @@ module.exports = function makeBubbleSizeFn(trace) {
119643
119768
  };
119644
119769
  };
119645
119770
 
119646
- },{"fast-isnumeric":91}],672:[function(_dereq_,module,exports){
119771
+ },{"fast-isnumeric":91}],673:[function(_dereq_,module,exports){
119647
119772
  /**
119648
119773
  * Copyright 2012-2020, Plotly, Inc.
119649
119774
  * All rights reserved.
@@ -119661,7 +119786,7 @@ module.exports = {
119661
119786
  max: 'cmax'
119662
119787
  };
119663
119788
 
119664
- },{}],673:[function(_dereq_,module,exports){
119789
+ },{}],674:[function(_dereq_,module,exports){
119665
119790
  /**
119666
119791
  * Copyright 2012-2020, Plotly, Inc.
119667
119792
  * All rights reserved.
@@ -119742,7 +119867,7 @@ module.exports = function markerDefaults(traceIn, traceOut, defaultColor, layout
119742
119867
  }
119743
119868
  };
119744
119869
 
119745
- },{"../../components/color":394,"../../components/colorscale/defaults":404,"../../components/colorscale/helpers":405,"./subtypes":679}],674:[function(_dereq_,module,exports){
119870
+ },{"../../components/color":394,"../../components/colorscale/defaults":404,"../../components/colorscale/helpers":405,"./subtypes":680}],675:[function(_dereq_,module,exports){
119746
119871
  /**
119747
119872
  * Copyright 2012-2020, Plotly, Inc.
119748
119873
  * All rights reserved.
@@ -119789,7 +119914,7 @@ module.exports = function handlePeriodDefaults(traceIn, traceOut, layout, coerce
119789
119914
  }
119790
119915
  };
119791
119916
 
119792
- },{"../../constants/numerical":502,"../../lib":524}],675:[function(_dereq_,module,exports){
119917
+ },{"../../constants/numerical":502,"../../lib":524}],676:[function(_dereq_,module,exports){
119793
119918
  /**
119794
119919
  * Copyright 2012-2020, Plotly, Inc.
119795
119920
  * All rights reserved.
@@ -120283,7 +120408,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
120283
120408
  join.selectAll('text')
120284
120409
  .call(Drawing.textPointStyle, trace, gd)
120285
120410
  .each(function(d) {
120286
- // This just *has* to be totally custom becuase of SVG text positioning :(
120411
+ // This just *has* to be totally custom because of SVG text positioning :(
120287
120412
  // It's obviously copied from translatePoint; we just can't use that
120288
120413
  var x = xa.c2p(d.x);
120289
120414
  var y = ya.c2p(d.y);
@@ -120350,7 +120475,7 @@ function selectMarkers(gd, idx, plotinfo, cdscatter, cdscatterAll) {
120350
120475
  });
120351
120476
  }
120352
120477
 
120353
- },{"../../components/drawing":416,"../../lib":524,"../../lib/polygon":536,"../../registry":625,"./line_points":668,"./link_traces":670,"./subtypes":679,"d3":82}],676:[function(_dereq_,module,exports){
120478
+ },{"../../components/drawing":416,"../../lib":524,"../../lib/polygon":536,"../../registry":626,"./line_points":669,"./link_traces":671,"./subtypes":680,"d3":82}],677:[function(_dereq_,module,exports){
120354
120479
  /**
120355
120480
  * Copyright 2012-2020, Plotly, Inc.
120356
120481
  * All rights reserved.
@@ -120404,7 +120529,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
120404
120529
  return selection;
120405
120530
  };
120406
120531
 
120407
- },{"./subtypes":679}],677:[function(_dereq_,module,exports){
120532
+ },{"./subtypes":680}],678:[function(_dereq_,module,exports){
120408
120533
  /**
120409
120534
  * Copyright 2012-2020, Plotly, Inc.
120410
120535
  * All rights reserved.
@@ -120509,7 +120634,7 @@ module.exports = function handleStackDefaults(traceIn, traceOut, layout, coerce)
120509
120634
  }
120510
120635
  };
120511
120636
 
120512
- },{}],678:[function(_dereq_,module,exports){
120637
+ },{}],679:[function(_dereq_,module,exports){
120513
120638
  /**
120514
120639
  * Copyright 2012-2020, Plotly, Inc.
120515
120640
  * All rights reserved.
@@ -120580,7 +120705,7 @@ module.exports = {
120580
120705
  styleOnSelect: styleOnSelect
120581
120706
  };
120582
120707
 
120583
- },{"../../components/drawing":416,"../../registry":625,"d3":82}],679:[function(_dereq_,module,exports){
120708
+ },{"../../components/drawing":416,"../../registry":626,"d3":82}],680:[function(_dereq_,module,exports){
120584
120709
  /**
120585
120710
  * Copyright 2012-2020, Plotly, Inc.
120586
120711
  * All rights reserved.
@@ -120619,7 +120744,7 @@ module.exports = {
120619
120744
  }
120620
120745
  };
120621
120746
 
120622
- },{"../../lib":524}],680:[function(_dereq_,module,exports){
120747
+ },{"../../lib":524}],681:[function(_dereq_,module,exports){
120623
120748
  /**
120624
120749
  * Copyright 2012-2020, Plotly, Inc.
120625
120750
  * All rights reserved.
@@ -120649,7 +120774,7 @@ module.exports = function(traceIn, traceOut, layout, coerce, opts) {
120649
120774
  }
120650
120775
  };
120651
120776
 
120652
- },{"../../lib":524}],681:[function(_dereq_,module,exports){
120777
+ },{"../../lib":524}],682:[function(_dereq_,module,exports){
120653
120778
  /**
120654
120779
  * Copyright 2012-2020, Plotly, Inc.
120655
120780
  * All rights reserved.
@@ -120693,7 +120818,7 @@ module.exports = function handleXYDefaults(traceIn, traceOut, layout, coerce) {
120693
120818
  return len;
120694
120819
  };
120695
120820
 
120696
- },{"../../lib":524,"../../registry":625}],682:[function(_dereq_,module,exports){
120821
+ },{"../../lib":524,"../../registry":626}],683:[function(_dereq_,module,exports){
120697
120822
  /**
120698
120823
  * Copyright 2012-2020, Plotly, Inc.
120699
120824
  * All rights reserved.
@@ -120839,7 +120964,7 @@ var attrs = module.exports = overrideAll({
120839
120964
 
120840
120965
  attrs.x.editType = attrs.y.editType = attrs.z.editType = 'calc+clearAxisTypes';
120841
120966
 
120842
- },{"../../components/colorscale/attributes":401,"../../constants/gl3d_dashes":499,"../../constants/gl3d_markers":500,"../../lib/extend":517,"../../plot_api/edit_types":553,"../../plots/attributes":567,"../../plots/template_attributes":624,"../scatter/attributes":654}],683:[function(_dereq_,module,exports){
120967
+ },{"../../components/colorscale/attributes":401,"../../constants/gl3d_dashes":499,"../../constants/gl3d_markers":500,"../../lib/extend":517,"../../plot_api/edit_types":554,"../../plots/attributes":568,"../../plots/template_attributes":625,"../scatter/attributes":655}],684:[function(_dereq_,module,exports){
120843
120968
  /**
120844
120969
  * Copyright 2012-2020, Plotly, Inc.
120845
120970
  * All rights reserved.
@@ -120867,7 +120992,7 @@ module.exports = function calc(gd, trace) {
120867
120992
  return cd;
120868
120993
  };
120869
120994
 
120870
- },{"../scatter/arrays_to_calcdata":653,"../scatter/colorscale_calc":657}],684:[function(_dereq_,module,exports){
120995
+ },{"../scatter/arrays_to_calcdata":654,"../scatter/colorscale_calc":658}],685:[function(_dereq_,module,exports){
120871
120996
  /**
120872
120997
  * Copyright 2012-2020, Plotly, Inc.
120873
120998
  * All rights reserved.
@@ -120954,7 +121079,7 @@ function calculateErrors(data, scaleFactor, sceneLayout) {
120954
121079
 
120955
121080
  module.exports = calculateErrors;
120956
121081
 
120957
- },{"../../registry":625}],685:[function(_dereq_,module,exports){
121082
+ },{"../../registry":626}],686:[function(_dereq_,module,exports){
120958
121083
  /**
120959
121084
  * Copyright 2012-2020, Plotly, Inc.
120960
121085
  * All rights reserved.
@@ -121508,7 +121633,7 @@ function createLineWithMarkers(scene, data) {
121508
121633
 
121509
121634
  module.exports = createLineWithMarkers;
121510
121635
 
121511
- },{"../../components/fx/helpers":430,"../../constants/gl3d_dashes":499,"../../constants/gl3d_markers":500,"../../lib":524,"../../lib/gl_format_color":521,"../../lib/str2rgbarray":546,"../../plots/cartesian/axes":571,"../scatter/make_bubble_size_func":671,"./calc_errors":684,"delaunay-triangulate":84,"gl-error3d":113,"gl-line3d":119,"gl-mesh3d":153,"gl-scatter3d":164}],686:[function(_dereq_,module,exports){
121636
+ },{"../../components/fx/helpers":430,"../../constants/gl3d_dashes":499,"../../constants/gl3d_markers":500,"../../lib":524,"../../lib/gl_format_color":521,"../../lib/str2rgbarray":547,"../../plots/cartesian/axes":572,"../scatter/make_bubble_size_func":672,"./calc_errors":685,"delaunay-triangulate":84,"gl-error3d":113,"gl-line3d":119,"gl-mesh3d":153,"gl-scatter3d":164}],687:[function(_dereq_,module,exports){
121512
121637
  /**
121513
121638
  * Copyright 2012-2020, Plotly, Inc.
121514
121639
  * All rights reserved.
@@ -121597,7 +121722,7 @@ function handleXYZDefaults(traceIn, traceOut, coerce, layout) {
121597
121722
  return len;
121598
121723
  }
121599
121724
 
121600
- },{"../../lib":524,"../../registry":625,"../scatter/line_defaults":667,"../scatter/marker_defaults":673,"../scatter/subtypes":679,"../scatter/text_defaults":680,"./attributes":682}],687:[function(_dereq_,module,exports){
121725
+ },{"../../lib":524,"../../registry":626,"../scatter/line_defaults":668,"../scatter/marker_defaults":674,"../scatter/subtypes":680,"../scatter/text_defaults":681,"./attributes":683}],688:[function(_dereq_,module,exports){
121601
121726
  /**
121602
121727
  * Copyright 2012-2020, Plotly, Inc.
121603
121728
  * All rights reserved.
@@ -121636,7 +121761,7 @@ module.exports = {
121636
121761
  }
121637
121762
  };
121638
121763
 
121639
- },{"../../constants/gl3d_markers":500,"../../plots/gl3d":602,"./attributes":682,"./calc":683,"./convert":685,"./defaults":686}],688:[function(_dereq_,module,exports){
121764
+ },{"../../constants/gl3d_markers":500,"../../plots/gl3d":603,"./attributes":683,"./calc":684,"./convert":686,"./defaults":687}],689:[function(_dereq_,module,exports){
121640
121765
  /**
121641
121766
  * Copyright 2012-2020, Plotly, Inc.
121642
121767
  * All rights reserved.
@@ -121789,7 +121914,7 @@ attrs.transforms = undefined;
121789
121914
 
121790
121915
  module.exports = attrs;
121791
121916
 
121792
- },{"../../components/colorscale/attributes":401,"../../lib/extend":517,"../../plots/attributes":567,"../../plots/template_attributes":624,"../mesh3d/attributes":646}],689:[function(_dereq_,module,exports){
121917
+ },{"../../components/colorscale/attributes":401,"../../lib/extend":517,"../../plots/attributes":568,"../../plots/template_attributes":625,"../mesh3d/attributes":647}],690:[function(_dereq_,module,exports){
121793
121918
  /**
121794
121919
  * Copyright 2012-2020, Plotly, Inc.
121795
121920
  * All rights reserved.
@@ -122045,7 +122170,7 @@ module.exports = {
122045
122170
  processGrid: processGrid
122046
122171
  };
122047
122172
 
122048
- },{"../../components/colorscale/calc":402,"../../lib":524}],690:[function(_dereq_,module,exports){
122173
+ },{"../../components/colorscale/calc":402,"../../lib":524}],691:[function(_dereq_,module,exports){
122049
122174
  /**
122050
122175
  * Copyright 2012-2020, Plotly, Inc.
122051
122176
  * All rights reserved.
@@ -122271,7 +122396,7 @@ function createStreamtubeTrace(scene, data) {
122271
122396
 
122272
122397
  module.exports = createStreamtubeTrace;
122273
122398
 
122274
- },{"../../components/colorscale":406,"../../lib":524,"../../lib/gl_format_color":521,"../../plots/gl3d/zip3":613,"gl-streamtube3d":178}],691:[function(_dereq_,module,exports){
122399
+ },{"../../components/colorscale":406,"../../lib":524,"../../lib/gl_format_color":521,"../../plots/gl3d/zip3":614,"gl-streamtube3d":178}],692:[function(_dereq_,module,exports){
122275
122400
  /**
122276
122401
  * Copyright 2012-2020, Plotly, Inc.
122277
122402
  * All rights reserved.
@@ -122336,7 +122461,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
122336
122461
  traceOut._length = null;
122337
122462
  };
122338
122463
 
122339
- },{"../../components/colorscale/defaults":404,"../../lib":524,"./attributes":688}],692:[function(_dereq_,module,exports){
122464
+ },{"../../components/colorscale/defaults":404,"../../lib":524,"./attributes":689}],693:[function(_dereq_,module,exports){
122340
122465
  /**
122341
122466
  * Copyright 2012-2020, Plotly, Inc.
122342
122467
  * All rights reserved.
@@ -122386,7 +122511,7 @@ module.exports = {
122386
122511
  }
122387
122512
  };
122388
122513
 
122389
- },{"../../plots/gl3d":602,"./attributes":688,"./calc":689,"./convert":690,"./defaults":691}],693:[function(_dereq_,module,exports){
122514
+ },{"../../plots/gl3d":603,"./attributes":689,"./calc":690,"./convert":691,"./defaults":692}],694:[function(_dereq_,module,exports){
122390
122515
  /**
122391
122516
  * Copyright 2012-2020, Plotly, Inc.
122392
122517
  * All rights reserved.
@@ -122662,7 +122787,7 @@ colorScaleAttrs('', {
122662
122787
  attrs.x.editType = attrs.y.editType = attrs.z.editType = 'calc+clearAxisTypes';
122663
122788
  attrs.transforms = undefined;
122664
122789
 
122665
- },{"../../components/color":394,"../../components/colorscale/attributes":401,"../../lib/extend":517,"../../plot_api/edit_types":553,"../../plots/attributes":567,"../../plots/template_attributes":624}],694:[function(_dereq_,module,exports){
122790
+ },{"../../components/color":394,"../../components/colorscale/attributes":401,"../../lib/extend":517,"../../plot_api/edit_types":554,"../../plots/attributes":568,"../../plots/template_attributes":625}],695:[function(_dereq_,module,exports){
122666
122791
  /**
122667
122792
  * Copyright 2012-2020, Plotly, Inc.
122668
122793
  * All rights reserved.
@@ -122694,7 +122819,7 @@ module.exports = function calc(gd, trace) {
122694
122819
  }
122695
122820
  };
122696
122821
 
122697
- },{"../../components/colorscale/calc":402}],695:[function(_dereq_,module,exports){
122822
+ },{"../../components/colorscale/calc":402}],696:[function(_dereq_,module,exports){
122698
122823
  /**
122699
122824
  * Copyright 2012-2020, Plotly, Inc.
122700
122825
  * All rights reserved.
@@ -123394,7 +123519,7 @@ function createSurfaceTrace(scene, data) {
123394
123519
 
123395
123520
  module.exports = createSurfaceTrace;
123396
123521
 
123397
- },{"../../components/colorscale":406,"../../lib":524,"../../lib/gl_format_color":521,"../../lib/str2rgbarray":546,"../heatmap/find_empties":639,"../heatmap/interp2d":640,"gl-surface3d":181,"ndarray":301,"ndarray-linear-interpolate":295}],696:[function(_dereq_,module,exports){
123522
+ },{"../../components/colorscale":406,"../../lib":524,"../../lib/gl_format_color":521,"../../lib/str2rgbarray":547,"../heatmap/find_empties":640,"../heatmap/interp2d":641,"gl-surface3d":181,"ndarray":301,"ndarray-linear-interpolate":295}],697:[function(_dereq_,module,exports){
123398
123523
  /**
123399
123524
  * Copyright 2012-2020, Plotly, Inc.
123400
123525
  * All rights reserved.
@@ -123568,7 +123693,7 @@ module.exports = {
123568
123693
  opacityscaleDefaults: opacityscaleDefaults
123569
123694
  };
123570
123695
 
123571
- },{"../../components/colorscale/defaults":404,"../../lib":524,"../../registry":625,"./attributes":693}],697:[function(_dereq_,module,exports){
123696
+ },{"../../components/colorscale/defaults":404,"../../lib":524,"../../registry":626,"./attributes":694}],698:[function(_dereq_,module,exports){
123572
123697
  /**
123573
123698
  * Copyright 2012-2020, Plotly, Inc.
123574
123699
  * All rights reserved.
@@ -123598,7 +123723,7 @@ module.exports = {
123598
123723
  }
123599
123724
  };
123600
123725
 
123601
- },{"../../plots/gl3d":602,"./attributes":693,"./calc":694,"./convert":695,"./defaults":696}],698:[function(_dereq_,module,exports){
123726
+ },{"../../plots/gl3d":603,"./attributes":694,"./calc":695,"./convert":696,"./defaults":697}],699:[function(_dereq_,module,exports){
123602
123727
  /**
123603
123728
  * Copyright 2012-2020, Plotly, Inc.
123604
123729
  * All rights reserved.
@@ -123671,7 +123796,7 @@ colorScaleAttrs('', {
123671
123796
  attrs.x.editType = attrs.y.editType = attrs.z.editType = attrs.value.editType = 'calc+clearAxisTypes';
123672
123797
  attrs.transforms = undefined;
123673
123798
 
123674
- },{"../../components/colorscale/attributes":401,"../../lib/extend":517,"../../plot_api/edit_types":553,"../../plots/attributes":567,"../isosurface/attributes":641,"../surface/attributes":693}],699:[function(_dereq_,module,exports){
123799
+ },{"../../components/colorscale/attributes":401,"../../lib/extend":517,"../../plot_api/edit_types":554,"../../plots/attributes":568,"../isosurface/attributes":642,"../surface/attributes":694}],700:[function(_dereq_,module,exports){
123675
123800
  /**
123676
123801
  * Copyright 2012-2020, Plotly, Inc.
123677
123802
  * All rights reserved.
@@ -123804,7 +123929,7 @@ function createVolumeTrace(scene, data) {
123804
123929
 
123805
123930
  module.exports = createVolumeTrace;
123806
123931
 
123807
- },{"../../components/colorscale":406,"../../lib/gl_format_color":521,"../../lib/str2rgbarray":546,"../../plots/gl3d/zip3":613,"../isosurface/convert":643,"gl-mesh3d":153}],700:[function(_dereq_,module,exports){
123932
+ },{"../../components/colorscale":406,"../../lib/gl_format_color":521,"../../lib/str2rgbarray":547,"../../plots/gl3d/zip3":614,"../isosurface/convert":644,"gl-mesh3d":153}],701:[function(_dereq_,module,exports){
123808
123933
  /**
123809
123934
  * Copyright 2012-2020, Plotly, Inc.
123810
123935
  * All rights reserved.
@@ -123830,7 +123955,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
123830
123955
  opacityscaleDefaults(traceIn, traceOut, layout, coerce);
123831
123956
  };
123832
123957
 
123833
- },{"../../lib":524,"../isosurface/defaults":644,"../surface/defaults":696,"./attributes":698}],701:[function(_dereq_,module,exports){
123958
+ },{"../../lib":524,"../isosurface/defaults":645,"../surface/defaults":697,"./attributes":699}],702:[function(_dereq_,module,exports){
123834
123959
  /**
123835
123960
  * Copyright 2012-2020, Plotly, Inc.
123836
123961
  * All rights reserved.
@@ -123860,7 +123985,7 @@ module.exports = {
123860
123985
  }
123861
123986
  };
123862
123987
 
123863
- },{"../../plots/gl3d":602,"../isosurface/calc":642,"./attributes":698,"./convert":699,"./defaults":700}],702:[function(_dereq_,module,exports){
123988
+ },{"../../plots/gl3d":603,"../isosurface/calc":643,"./attributes":699,"./convert":700,"./defaults":701}],703:[function(_dereq_,module,exports){
123864
123989
  /**
123865
123990
  * Copyright 2012-2020, Plotly, Inc.
123866
123991
  * All rights reserved.
@@ -123872,7 +123997,7 @@ module.exports = {
123872
123997
  'use strict';
123873
123998
 
123874
123999
  // package version injected by `npm run preprocess`
123875
- exports.version = '1.58.0';
124000
+ exports.version = '1.58.4';
123876
124001
 
123877
124002
  },{}]},{},[4])(4)
123878
124003
  });