Skip to content

Commit 37b585e

Browse files
committed
Handle upper/lowe halves
1 parent d072121 commit 37b585e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/traces/splom/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ function calc(gd, trace) {
7474
}
7575
}
7676

77+
// augment options with proper upper/lower halves
78+
if(!trace.showupperhalf) opts.upper = false;
79+
if(!trace.showlowerhalf) opts.lower = false;
80+
if(!trace.diagonal.visible) opts.diagonal = false;
81+
7782
var scene = stash._scene = sceneUpdate(gd, stash);
7883
if(!scene.matrix) scene.matrix = true;
7984
scene.matrixOptions = opts;

0 commit comments

Comments
 (0)