if printed it will still call animate, but gives the user more flexibility about animation factors (such as times etc)pull/18/merge
| all <- bind_rows(step0, step1) | all <- bind_rows(step0, step1) | ||||
| if (export == "gif") { | if (export == "gif") { | ||||
| animate_plot(all, title, ...) %>% animate() | |||||
| animate_plot(all, title, ...) | |||||
| } else if (export == "first") { | } else if (export == "first") { | ||||
| title <- "" | title <- "" | ||||
| static_plot(step0, title, ...) | static_plot(step0, title, ...) |