Skip to content

Commit 4ca6e4a

Browse files
committed
Drop per-point labels on the train->test scatter (hover shows details)
1 parent 3779b74 commit 4ca6e4a

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/components/results/TransferScatter.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {
22
CartesianGrid,
33
Cell,
4-
LabelList,
54
ReferenceLine,
65
ResponsiveContainer,
76
Scatter,
@@ -102,12 +101,6 @@ export function TransferScatter({ metric, hidden }: { metric: Metric; hidden: Se
102101
{data.map((d) => (
103102
<Cell key={d.id} fill={d.color} stroke="#09090B" strokeWidth={1.5} />
104103
))}
105-
<LabelList
106-
dataKey="name"
107-
position="top"
108-
offset={9}
109-
style={{ fontSize: 11, fontFamily: "JetBrains Mono, monospace", fill: "#C8C8D0" }}
110-
/>
111104
</Scatter>
112105
</ScatterChart>
113106
</ResponsiveContainer>

0 commit comments

Comments
 (0)