Skip to content

Commit 732bd46

Browse files
committed
more idiomatic D3
1 parent c0ac213 commit 732bd46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/traces/table/plot.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,8 +673,7 @@ function findPagesAndCacheHeights(blocks, scrollY, scrollHeight) {
673673
}
674674

675675
function updateBlockYPosition(gd, cellsColumnBlock, tableControlView) {
676-
// fixme this function is THE performance hotspot
677-
var d = cellsColumnBlock[0][0].__data__;
676+
var d = cellsColumnBlock.data()[0];
678677
var blocks = d.rowBlocks;
679678
var calcdata = d.calcdata;
680679

0 commit comments

Comments
 (0)