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 was wondering if you wouldn't mind noting down some examples of {frame_time} usage in the gganimate home page or elsewhere, given how atypical a construction it is. It's referenced in a few examples littered around the web but not in the official docs as far as I can see. Your comment here is probably the most useful. I was trying to coerce a monthly transition into month names, for example, and it took me a lot of attempts to work out it should be ggtitle(paste0("Month = {month.abb[frame_time]}"))
Similarly if there are other instances of the {code as character} construction that would be great to discuss. Thanks in advance!
The text was updated successfully, but these errors were encountered:
SimonDedman
changed the title
Documentaion for {frame_time}
Documentation for {frame_time}
May 12, 2020
The main reason why this has not been documented so well is that it is not really part of any specific function, but simply glue syntax... I'd be happy to add some info on this however. Where would you expect to find this information
Maybe a brief note in labs, or similar? Or maybe a general note in Details, explaining it's glue syntax, maybe giving a link to any good glue resources you know, and then putting an example in the Examples, and/or potentially linking to that other Issue?
Hi Thomas,
I was wondering if you wouldn't mind noting down some examples of
{frame_time}
usage in the gganimate home page or elsewhere, given how atypical a construction it is. It's referenced in a few examples littered around the web but not in the official docs as far as I can see. Your comment here is probably the most useful. I was trying to coerce a monthly transition into month names, for example, and it took me a lot of attempts to work out it should beggtitle(paste0("Month = {month.abb[frame_time]}"))
Similarly if there are other instances of the {code as character} construction that would be great to discuss. Thanks in advance!
The text was updated successfully, but these errors were encountered: