Make error message more descriptive
This commit is contained in:
parent
7e05d63009
commit
06c479b547
|
@ -68,7 +68,7 @@ export const DistributionChart: React.FC<DistributionChartProps> = ({
|
||||||
onChange={setLogX}
|
onChange={setLogX}
|
||||||
disabled={true}
|
disabled={true}
|
||||||
tooltip={
|
tooltip={
|
||||||
"Your distribution has mass lower than or equal to 0, cannot use log scale"
|
"Your distribution has mass lower than or equal to 0. Log only works on strictly positive values."
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user