Skip to content

Commit

Permalink
Fix issue #658.
Browse files Browse the repository at this point in the history
  • Loading branch information
ASmirnov-HORIS committed Jan 20, 2023
1 parent 4c7ddf3 commit 93aca5f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ class AreaRidgesGeom : GeomBase(), WithHeight {
root.add(quantileLine)
}

buildHints(dataPoints, ctx, helper, boundTransform)
dataPoints.groupBy { Pair(it.color(), it.fill()) }.forEach { (_, points) ->
buildHints(points, ctx, helper, boundTransform)
}
}

private fun getQuantileLines(
Expand Down

0 comments on commit 93aca5f

Please sign in to comment.