Skip to content

Commit

Permalink
prepopulate theme (#6304)
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand authored Jan 28, 2025
1 parent df0e150 commit 6e0664b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/guides-.R
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ Guides <- ggproto(
#
# The resulting guide is then drawn in ggplot_gtable

build = function(self, scales, layers, labels, layer_data, theme) {
build = function(self, scales, layers, labels, layer_data, theme = theme()) {

# Empty guides list
custom <- self$get_custom()
Expand Down

0 comments on commit 6e0664b

Please sign in to comment.