Skip to content

Commit

Permalink
fix_6357
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuYeche authored Mar 7, 2025
1 parent e727e2b commit 61891ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/geom-ribbon.R
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ GeomRibbon <- ggproto("GeomRibbon", Geom,
if ((length(aes$fill) > 1 || length(aes$alpha) > 1)) {
transformed <- coord$transform(flip_data(data, flipped_aes), panel_params)
if (flipped_aes) {
keep <- is.finite(tranformed$y)
keep <- is.finite(transformed$y)
args <- list(
colours = alpha(data$fill, data$alpha)[keep],
stops = rescale(transformed$y)[keep],
Expand Down

0 comments on commit 61891ac

Please sign in to comment.