Skip to content

Commit a6a5ec2

Browse files
committed
change color countLabel to bandColorCount
1 parent 4390b0d commit a6a5ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/traces/parcats/parcats.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ function createHoverLabelForColorHovermode(gd, rootBBox, bandElement) {
921921
var pColorGivenCat = bandColorCount / catCount;
922922

923923
var labels = {
924-
countLabel: totalCount,
924+
countLabel: bandColorCount,
925925
categoryLabel: catLabel,
926926
probabilityLabel: pColorAndCat.toFixed(3)
927927
};

0 commit comments

Comments
 (0)