Skip to content

Commit

Permalink
fixing vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
FlavioLeccese92 committed Feb 25, 2024
1 parent 034cf9c commit bd1dca2
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion R/get-competition-calendar.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#'
#' @examples
#'
#' if(interactive()) {
#' \dontrun{
#'
#' getCompetitionCalendar(season_code = c("E2023", "E2022"), round = 1)
#'
Expand Down
Binary file modified man/figures/team-standings-race.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/team-stats-court.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/team-stats-radarchart.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 7 additions & 5 deletions vignettes/articles/team-standings-race.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ e <- e +
panel.grid.minor = element_blank(),
panel.background = element_rect(fill = "#e2e7ea"),
plot.background = element_rect(fill = "#f2f2f2", colour = "transparent"),
plot.margin = margin(32, 15, 40, 17),
plot.margin = margin(28, 15, 28, 17),
text = element_text(color = "#404040", family = "Lato"),
# Axis labels
axis.ticks = element_blank(),
Expand All @@ -181,11 +181,13 @@ e <- e +
legend.margin = margin(10, 0, 15, 0),
legend.box.spacing = unit(0, "pt"),
# Title, subtitle, caption
plot.title = element_markdown(lineheight = 1, size = 24, hjust = 0,
vjust = 1, margin = margin(0, 0, -20, 0)),
plot.title = element_markdown(
lineheight = 1, size = 24, hjust = 0, vjust = 1, margin = margin(0, 0, -20, 0)),
plot.title.position = "plot",
plot.subtitle = element_markdown(hjust = 1, margin = margin(-30, 3, 0, 0)),
plot.caption = element_markdown(size = 12, margin = margin(40, 0, 0, 3)),
plot.subtitle = element_markdown(
hjust = 1, margin = margin(-33, 3, -50, 0)),
plot.caption = element_markdown(
size = 12, margin = margin(30, 0, 0, 3)),
plot.caption.position = "plot",
# Facet
strip.background = element_rect(fill = "#F47321"),
Expand Down
6 changes: 3 additions & 3 deletions vignettes/articles/team-stats-court.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,10 @@ e <- e +
legend.box.spacing = unit(0, "pt"),
# Title, subtitle, caption
plot.title = element_markdown(
lineheight = 1, size = 24, hjust = 0, vjust = 1,
margin = margin(0, 0, -20, 0)),
lineheight = 1, size = 24, hjust = 0, vjust = 1, margin = margin(0, 0, -20, 0)),
plot.title.position = "plot",
plot.subtitle = element_markdown(
hjust = 1, size = 16, margin = margin(-30, 3, -50, 0)),
hjust = 1, margin = margin(-33, 3, -50, 0)),
plot.caption = element_markdown(
size = 12, margin = margin(-25, 0, 0, 3)),
plot.caption.position = "plot",
Expand Down
6 changes: 3 additions & 3 deletions vignettes/articles/team-stats-radar.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ e <- e +
legend.box.spacing = unit(0, "pt"),
# Title, subtitle, caption
plot.title = element_markdown(
lineheight = 1, size = 24, hjust = 0, vjust = 1,
margin = margin(0, 0, -20, 0)),
lineheight = 1, size = 24, hjust = 0, vjust = 1, margin = margin(0, 0, -20, 0)),
plot.title.position = "plot",
plot.subtitle = element_markdown(
hjust = 1, size = 16, margin = margin(-30, 3, -50, 0)),
hjust = 1, margin = margin(-33, 3, -50, 0)),
plot.caption = element_markdown(
size = 12, margin = margin(-25, 0, 0, 3)),
plot.caption.position = "plot",
Expand Down

0 comments on commit bd1dca2

Please sign in to comment.