File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/web-roo-code/src/app/evals Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,13 +175,13 @@ export const Plot = ({ tableData }: PlotProps) => {
175175 < >
176176 < div className = "pt-4 pb-8 font-mono" > Cost x Score</ div >
177177 < ChartContainer config = { chartConfig } className = "h-[500px] w-full" >
178- < ScatterChart margin = { { top : 0 , right : 0 , bottom : 0 , left : 20 } } >
178+ < ScatterChart margin = { { top : 20 , right : 0 , bottom : 0 , left : 20 } } >
179179 < XAxis
180180 type = "number"
181181 dataKey = "cost"
182182 name = "Cost"
183183 domain = { [
184- ( dataMin : number ) => Math . round ( ( dataMin - 5 ) / 5 ) * 5 ,
184+ ( dataMin : number ) => Math . max ( 0 , Math . round ( ( dataMin - 5 ) / 5 ) * 5 ) ,
185185 ( dataMax : number ) => Math . round ( ( dataMax + 5 ) / 5 ) * 5 ,
186186 ] }
187187 tickFormatter = { ( value ) => formatCurrency ( value ) }
You can’t perform that action at this time.
0 commit comments