Skip to content

Commit

Permalink
fix missing labels slot
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Jul 23, 2024
1 parent c679d43 commit 5494cb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ ggplot.default <- function(data = NULL, mapping = aes(), ...,
coordinates = coord_cartesian(default = TRUE),
facet = facet_null(),
plot_env = environment,
layout = ggproto(NULL, Layout)
layout = ggproto(NULL, Layout),
labels = list()
), class = c("gg", "ggplot"))

set_last_plot(p)
Expand Down

0 comments on commit 5494cb3

Please sign in to comment.