Skip to content

Commit ed0e2b0

Browse files
committed
update comment
1 parent 9a4974b commit ed0e2b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/MatrixPlot.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const MatrixPlot = ({ matrixData, labelFontSize, title = "Matrix" }: MatrixPlotP
9898
? rawValues
9999
: normalize(rawValues);
100100

101-
// // Step 1: Compute all pairwise avg scores only once
101+
// Compute all pairwise avg scores only once
102102
const pairwiseScores = new Map<string, number>();
103103

104104
for (let i = 0; i < dimensions.length; i++) {
@@ -135,7 +135,7 @@ const MatrixPlot = ({ matrixData, labelFontSize, title = "Matrix" }: MatrixPlotP
135135

136136
return { col, avgScore };
137137
});
138-
// Step 3: Sort columns by avgScore descending
138+
// Sort columns by avgScore descending
139139
const sortedDimensions = columnScores
140140
.sort((a, b) => b.avgScore - a.avgScore)
141141
// .sort((a, b) => a.avgScore - b.avgScore)

0 commit comments

Comments
 (0)