From fc5eb03ec39926c411931f7118558d3f5af2602e Mon Sep 17 00:00:00 2001 From: Monica Dragan Date: Wed, 16 Oct 2024 22:00:50 +0200 Subject: [PATCH] fix bug heatmap view cluster rect --- oncotreevis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oncotreevis.js b/oncotreevis.js index 90890b5..91ffb95 100644 --- a/oncotreevis.js +++ b/oncotreevis.js @@ -1467,7 +1467,7 @@ function populateHeatmapView(args) { }) .attr("height", function(d) { if (d.sample_1 in cluster_starts && d.sample_1 == d.sample_2 && cluster_starts[d.sample_1]["size"] > 1) { - return cluster_starts[d.sample_1]["size"] * x.bandwidth() + return cluster_starts[d.sample_1]["size"] * y.bandwidth() } }) .style("fill", "none")