Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "draw grids only in the mainplot"
This reverts commit 653fe77.
  • Loading branch information
archmoj committed Sep 26, 2024
commit 001457c188fdf0688bf60f09442478f0a67ae23b
2 changes: 1 addition & 1 deletion src/plots/cartesian/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ function makeSubplotLayer(gd, plotinfo) {
var yLayer = constants.layerValue2layerClass[plotinfo.yaxis.layer];
var hasOnlyLargeSploms = fullLayout._hasOnlyLargeSploms;

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