Skip to content

Commit

Permalink
Merge pull request #35 from sportsdataverse/issue-32/plot-titles
Browse files Browse the repository at this point in the history
Issue 32: Change to plot titles displaying
  • Loading branch information
rossdrucker authored Feb 15, 2024
2 parents e10dd84 + 9c39296 commit f949de6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# sportyR

# sportyR 2.2.1

- Faceting in `{ggplot2}` now works as expected (#27, @mrcaseb)
- Fixed link in vignette to point to POSIT, not RStudio
- Fixed [#32](https://github.com/sportsdataverse/sportyR/issues32) with plot titles not displaying correctly

# sportyR 2.2.0

Expand Down
4 changes: 2 additions & 2 deletions R/plot-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ create_plot_base <- function(plot_background = NULL) {
g <- ggplot2::ggplot() +
ggplot2::theme(
plot.margin = ggplot2::margin(
t = -1,
t = 0,
r = 0,
b = -1,
b = 0,
l = 0,
unit = "cm"
),
Expand Down

0 comments on commit f949de6

Please sign in to comment.