Skip to content

Commit 6ee7c61

Browse files
committed
Add baselines, ignore cluster for small plots
1 parent 440d8cf commit 6ee7c61

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

src/traces/scattergl/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function calc(gd, trace) {
106106

107107
// FIXME: organize it in a more appropriate manner, probably in sceneOptions
108108
// put point-cluster instance for optimized regl calc
109-
if(opts.marker) {
109+
if(opts.marker && count >= TOO_MANY_POINTS) {
110110
opts.marker.cluster = stash.tree;
111111
}
112112

Loading
213 Bytes
Loading

0 commit comments

Comments
 (0)