You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see the evolution of a variable over more than 100 years. I noticed that when having more than 100 dates, the gif has a strange behavior where the columns "lag" (it is not the right word but I don't know how to describe it, see below):
library(tidyverse)
library(gganimate)
test_tibble <- tibble(
country = rep(c("A", "B"), each = 101),
year = rep(1:101, times = 2),
variable = rep(seq(10, 1010, by = 10), times = 2)
)
test_tibble %>%
ggplot(aes(x = factor(country), y = variable)) +
geom_col() +
transition_time(year) +
ease_aes('linear')
In the gif below, the problem appears when columns reach 500:
However, if I reduce the number of observations to exactly 100 (or less) for both columns, then the gif is fine:
I would like to see the evolution of a variable over more than 100 years. I noticed that when having more than 100 dates, the gif has a strange behavior where the columns "lag" (it is not the right word but I don't know how to describe it, see below):
In the gif below, the problem appears when columns reach 500:
![withlag](https://user-images.githubusercontent.com/52219252/95688509-48709780-0bfa-11eb-9078-c4684853f03a.gif)
However, if I reduce the number of observations to exactly 100 (or less) for both columns, then the gif is fine:
Any idea why?
Thanks for this great package ;)
Session info
The text was updated successfully, but these errors were encountered: