Skip to content

Commit

Permalink
fix bug heatmap view cluster rect
Browse files Browse the repository at this point in the history
  • Loading branch information
monicadragan2 committed Oct 16, 2024
1 parent 5c5f1cb commit fc5eb03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oncotreevis.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit fc5eb03

Please sign in to comment.