Skip to content

Commit

Permalink
Fix tile labels when not week binning
Browse files Browse the repository at this point in the history
  • Loading branch information
arcresu committed May 15, 2024
1 parent 34798a4 commit e6d6fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot_calendar.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ plot_calendar <- function(
)
} else {
if (!is.null(labels)) {
mapping2 <- aes(label = format(x, labels))
mapping2 <- aes(label = format(ggplot2::after_stat(x), labels))
mapping$label <- mapping2$label
}

Expand Down

0 comments on commit e6d6fbb

Please sign in to comment.