Skip to content

Commit 653fe77

Browse files
committed
draw grids only in the mainplot
1 parent 52975c3 commit 653fe77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ function makeSubplotLayer(gd, plotinfo) {
568568
var yLayer = constants.layerValue2layerClass[plotinfo.yaxis.layer];
569569
var hasOnlyLargeSploms = fullLayout._hasOnlyLargeSploms;
570570

571-
if(!plotinfo.mainplot || fullLayout._zindices.length > 1) {
571+
if(!plotinfo.mainplot) {
572572
if(hasOnlyLargeSploms) {
573573
// TODO could do even better
574574
// - we don't need plot (but we would have to mock it in lsInner

0 commit comments

Comments
 (0)