diff --git a/src/plot_api/plot_api.js b/src/plot_api/plot_api.js index fd46fdedb0f..cb80e30c169 100644 --- a/src/plot_api/plot_api.js +++ b/src/plot_api/plot_api.js @@ -499,7 +499,7 @@ function setPlotContext(gd, config) { context.setBackground = setBackground; } - // Check if gd has a specified widht/height to begin with + // Check if gd has a specified width/height to begin with context._hasZeroHeight = context._hasZeroHeight || gd.clientHeight === 0; context._hasZeroWidth = context._hasZeroWidth || gd.clientWidth === 0; diff --git a/src/plots/cartesian/layout_defaults.js b/src/plots/cartesian/layout_defaults.js index 965b971e4f7..1d72f133e67 100644 --- a/src/plots/cartesian/layout_defaults.js +++ b/src/plots/cartesian/layout_defaults.js @@ -267,7 +267,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) { delete axLayoutOut.spikesnap; } - // If it exists, the the domain of the axis for the anchor of the overlaying axis + // If it exists, the domain of the axis for the anchor of the overlaying axis var overlayingAxis = id2name(axLayoutIn.overlaying); var overlayingAnchorDomain = [0, 1]; diff --git a/src/traces/treemap/attributes.js b/src/traces/treemap/attributes.js index 8beb2f409c0..b076242b36c 100644 --- a/src/traces/treemap/attributes.js +++ b/src/traces/treemap/attributes.js @@ -155,7 +155,7 @@ module.exports = { values: ['top', 'bottom'], dflt: 'top', editType: 'plot', - description: ['Determines on which side of the the treemap the', '`pathbar` should be presented.'].join(' ') + description: ['Determines on which side of the treemap the', '`pathbar` should be presented.'].join(' ') }, edgeshape: {