Skip to content

Commit 3ffee8a

Browse files
authored
Merge pull request #54 from NGO-Algorithm-Audit/feature/fix-univariate-distribution-for-numerical
Update data type check in DistributionBarChart component from 'float'…
2 parents 6bba811 + 59d75bc commit 3ffee8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/graphs/DistributionBarChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const DistributionBarChart = ({
3434
let processedRealData;
3535
let processedSyntheticData;
3636

37-
if (dataType === 'float') {
37+
if (dataType === 'numerical') {
3838
// Process numerical data using bins
3939
const combinedData = [...realData, ...syntheticData] as number[];
4040
const extent = d3.extent(combinedData) as [number, number];

0 commit comments

Comments
 (0)