Skip to content

Commit

Permalink
style: change holidays display
Browse files Browse the repository at this point in the history
  • Loading branch information
ahasverus committed Mar 31, 2024
1 parent f8659b7 commit 05f9a71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/plot_calendar.R
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,10 @@ plot_calendar <- function(year = format(Sys.Date(), "%Y"),
xpd = TRUE)

text(x = calendar[i, "x"] - 0.50,
y = calendar[i, "y"] - 0.75,
labels = paste0("OFF - ", offs[which(offs$"date" ==
calendar[i, "date"]),
"event"]),
y = calendar[i, "y"] - 0.85,
labels = paste0("OFF\n", offs[which(offs$"date" ==
calendar[i, "date"]),
"event"]),
cex = 0.65,
font = 2,
col = "#666666")
Expand Down

0 comments on commit 05f9a71

Please sign in to comment.