File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ var Drawing = require('../drawing');
5
5
var Axes = require ( '../../plots/cartesian/axes' ) ;
6
6
var axisIds = require ( '../../plots/cartesian/axis_ids' ) ;
7
7
var xmlnsNamespaces = require ( '../../constants/xmlns_namespaces' ) ;
8
+ var zindexSeparator = require ( '../../plots/cartesian/constants' ) . zindexSeparator ;
8
9
9
10
module . exports = function draw ( gd ) {
10
11
var fullLayout = gd . _fullLayout ;
@@ -226,6 +227,9 @@ module.exports = function draw(gd) {
226
227
var allSubplots = Object . keys ( fullLayout . _plots ) ;
227
228
for ( i = 0 ; i < allSubplots . length ; i ++ ) {
228
229
subplot = allSubplots [ i ] ;
230
+ if ( subplot . indexOf ( zindexSeparator ) !== - 1 ) {
231
+ continue ;
232
+ }
229
233
var subplotObj = fullLayout . _plots [ subplot ] ;
230
234
231
235
// filter out overlaid plots (which have their images on the main plot)
Original file line number Diff line number Diff line change @@ -258,6 +258,9 @@ function lsInner(gd) {
258
258
}
259
259
260
260
for ( subplot in fullLayout . _plots ) {
261
+ if ( subplot . indexOf ( zindexSeparator ) !== - 1 ) {
262
+ continue ;
263
+ }
261
264
plotinfo = fullLayout . _plots [ subplot ] ;
262
265
xa = plotinfo . xaxis ;
263
266
ya = plotinfo . yaxis ;
You can’t perform that action at this time.
0 commit comments