gganimate icon indicating copy to clipboard operation
gganimate copied to clipboard

transitions fail in geom_contour_fill

Open eliocamp opened this issue 5 years ago • 1 comments

In another round of testing, I can't animate metR::geom_contour_fill(), a version of geom_contour() that returns closed polygons.

library(metR)
library(data.table)
library(ggplot2)
library(gganimate)

geo <- geopotential[date %in% unique(date)[1:3]]

g <- ggplot(geo, aes(lon, lat)) +
  geom_contour_fill(aes(z = gh))

These are the different fields

g + facet_wrap(~date)

g + transition_time(date)
#> Error in data.frame(..., check.names = FALSE): arguments imply differing number of rows: 14, 100

g + transition_manual(date)
#> Error: Additional frame variables must have the same length as the number of frames

Created on 2018-08-02 by the reprex package (v0.2.0).

eliocamp avatar Aug 03 '18 02:08 eliocamp

Have the same issue

systats avatar Aug 16 '18 02:08 systats