Skip to content

Commit

Permalink
Merge pull request #5565 from plotly/matthew-treemap-refactor-fix
Browse files Browse the repository at this point in the history
Refactor Treemap Trace: remove extra if statement in default.js
  • Loading branch information
archmoj authored Mar 25, 2021
2 parents 623fcd1 + 4b5e143 commit 535ab84
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/traces/treemap/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
coerce('marker.pad.r', headerSize / 4);
coerce('marker.pad.b', bottomText ? headerSize : headerSize / 4);

if(withColorscale) {
colorscaleDefaults(traceIn, traceOut, layout, coerce, {prefix: 'marker.', cLetter: 'c'});
}

traceOut._hovered = {
marker: {
line: {
Expand Down

0 comments on commit 535ab84

Please sign in to comment.