Skip to content

Commit

Permalink
get rid of unneeded _has(gl2d)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcjohnson committed Dec 30, 2017
1 parent 4786b6e commit 6e62b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plots/plots.js
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ plots.supplyLayoutModuleDefaults = function(layoutIn, layoutOut, fullData, trans
}

// ensure all cartesian axes have at least one subplot
if(layoutOut._has('cartesian') || layoutOut._has('gl2d')) {
if(layoutOut._has('cartesian')) {
Cartesian.finalizeSubplots(layoutIn, layoutOut);
}

Expand Down

0 comments on commit 6e62b35

Please sign in to comment.