Skip to content

Commit 97da1af

Browse files
committed
Change scale of representing
1 parent 4069f06 commit 97da1af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stories/Articles/Article.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export const GovGradCAM: FunctionComponent<LogoProp> = ({ textColor = "navy" })
149149
>
150150
<Loader color="#2BAD60" height={100} width={100} />
151151
</div>
152-
: <ChromaScale text={text} data={data.map(x => x * 10)} />}
152+
: <ChromaScale text={text} data={data.map(x => Math.log(x * 10 + 1) / Math.log(2))} />}
153153
</div>
154154
</div>
155155
)

0 commit comments

Comments
 (0)