Skip to content

Commit

Permalink
remove debug print (Thanks Cristophe)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 committed Aug 30, 2023
1 parent 9e44de6 commit e986a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/animate.R
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ animate.gganim <- function(plot, nframes, fps, duration, detail, renderer, devic
if (args$start_pause != 0) frames_vars <- rbind(frames_vars[rep(1, args$start_pause), , drop = FALSE], frames_vars)
if (args$end_pause != 0) frames_vars <- rbind(frames_vars, frames_vars[rep(nrow(frames_vars), args$end_pause), , drop = FALSE])
if (args$rewind) frames_vars <- rbind(frames_vars, frames_vars[rev(seq_len(orig_nframes - nrow(frames_vars))), , drop = FALSE])
print(args$renderer)

animation <- args$renderer(frames_vars$frame_source, args$fps)
attr(animation, 'frame_vars') <- frames_vars
set_last_animation(animation)
Expand Down

0 comments on commit e986a32

Please sign in to comment.