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');
55var Axes = require ( '../../plots/cartesian/axes' ) ;
66var axisIds = require ( '../../plots/cartesian/axis_ids' ) ;
77var xmlnsNamespaces = require ( '../../constants/xmlns_namespaces' ) ;
8+ var zindexSeparator = require ( '../../plots/cartesian/constants' ) . zindexSeparator ;
89
910module . exports = function draw ( gd ) {
1011 var fullLayout = gd . _fullLayout ;
@@ -226,6 +227,9 @@ module.exports = function draw(gd) {
226227 var allSubplots = Object . keys ( fullLayout . _plots ) ;
227228 for ( i = 0 ; i < allSubplots . length ; i ++ ) {
228229 subplot = allSubplots [ i ] ;
230+ if ( subplot . indexOf ( zindexSeparator ) !== - 1 ) {
231+ continue ;
232+ }
229233 var subplotObj = fullLayout . _plots [ subplot ] ;
230234
231235 // 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) {
258258 }
259259
260260 for ( subplot in fullLayout . _plots ) {
261+ if ( subplot . indexOf ( zindexSeparator ) !== - 1 ) {
262+ continue ;
263+ }
261264 plotinfo = fullLayout . _plots [ subplot ] ;
262265 xa = plotinfo . xaxis ;
263266 ya = plotinfo . yaxis ;
You can’t perform that action at this time.
0 commit comments