Skip to content

Commit 6244bef

Browse files
teunbrandthomasp85
andauthored
Update R/stat-contour.R
Co-authored-by: Thomas Lin Pedersen <[email protected]>
1 parent 148da2c commit 6244bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/stat-contour.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ StatContourFilled <- ggproto("StatContourFilled", Stat,
142142

143143
isobands <- withr::with_options(list(OutDec = "."), xyz_to_isobands(data, breaks))
144144
names(isobands) <- pretty_isoband_levels(names(isobands))
145-
path_df <- iso_to_geom(isobands, data$group[1], "polygon")
145+
path_df <- iso_to_geom(isobands, data$group[1], geom = "polygon")
146146

147147
path_df$level <- ordered(path_df$level, levels = names(isobands))
148148
path_df$level_low <- breaks[as.numeric(path_df$level)]

0 commit comments

Comments
 (0)