@@ -25065,7 +25065,7 @@ module.exports = function draw(gd) {
2506525065 // result in covering the chart
2506625066 if((opts.orientation === "v" && opts.width > fullLayout.width * 0.45 && !fullLayout._hasPie) ||
2506725067 (opts.orientation === "v" && opts.width > fullLayout.width * 0.5 && fullLayout._hasPie) ||
25068- (opts.orientation === "h" && opts.height > fullLayout.height * 0.4 ) ||
25068+ (opts.orientation === "h" && opts.height > fullLayout.height * 0.38 ) ||
2506925069 ( (opts.xanchor !== 'left' && opts.xanchor !== 'right') && opts.orientation === "v" && opts.height > fullLayout.height * 0.4) ) {
2507025070 fullLayout._infolayer.selectAll('.legend').remove();
2507125071 fullLayout._topdefs.select('#' + clipId).remove();
@@ -32811,7 +32811,7 @@ exports.svgAttrs = {
3281132811var Plotly = require('./plotly');
3281232812
3281332813// package version injected by `npm run preprocess`
32814- exports.version = '1.33.1-ion36 ';
32814+ exports.version = '1.33.1-ion37 ';
3281532815
3281632816// inject promise polyfill
3281732817require('es6-promise').polyfill();
@@ -33104,7 +33104,7 @@ exports.valObjectMeta = {
3310433104 },
3310533105 colorlist: {
3310633106
33107-
33107+ requiredOpts: [],
3310833108
3310933109 coerceFunction: function(v, propOut, dflt) {
3311033110 function isColor(color) {
@@ -54825,7 +54825,7 @@ module.exports = overrideAll({
5482554825 showcountries: {
5482654826 valType: 'boolean',
5482754827
54828-
54828+ description: 'Sets whether or not country boundaries are drawn.'
5482954829 },
5483054830 countrycolor: {
5483154831 valType: 'color',
@@ -57691,7 +57691,7 @@ plots.autoMargin = function(gd, id, o) {
5769157691 // if the item is too big, just give it enough automargin to
5769257692 // make sure you can still grab it and bring it back
5769357693 if(o.l + o.r > fullLayout.width * 0.45) o.l = o.r = 0;
57694- if(o.b + o.t > fullLayout.height * 0.4 ) o.b = o.t = 0;
57694+ if(o.b + o.t > fullLayout.height * 0.38 ) o.b = o.t = 0;
5769557695
5769657696 fullLayout._pushmargin[id] = {
5769757697 l: {val: o.x, size: o.l + pad},
@@ -67884,12 +67884,7 @@ function scalePies(cdpie, plotSize) {
6788467884
6788567885 cd0.r = Math.min(pieBoxWidth, pieBoxHeight) / (2 + 2 * maxPull);
6788667886
67887- if (cdpie.length === 1) {
67888- cd0.cx = plotSize.w * (trace.domain.x[1] + trace.domain.x[0]) / 2;
67889- } else {
67890- cd0.cx = plotSize.l + plotSize.w * (trace.domain.x[1] + trace.domain.x[0]) / 2;
67891- }
67892-
67887+ cd0.cx = plotSize.l + plotSize.w * (trace.domain.x[1] + trace.domain.x[0]) / 2;
6789367888 cd0.cy = plotSize.t + plotSize.h * (2 - trace.domain.y[1] - trace.domain.y[0]) / 2;
6789467889
6789567890 if(trace.scalegroup && scaleGroups.indexOf(trace.scalegroup) === -1) {
0 commit comments