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
{{ message }}
Repository navigation
Fix for #409 in transition_reveal() causes some rows to be dropped when there are multiple groups in a panel #480
When there are, for example, 2 groups in a dataset, the latter will include 2 rows with .phase = "raw" and .time == max(.time), while the former will only include 1. Consequently, the last frame of the animated plot will only show the geom(s) for one group, instead of both.
A problem of this nature was recently described on Stack Overflow. Based on my attempts to reproduce the issue, the above change appears to be responsible.
Proposed workaround
Modifying the code to drop rows by group (instead of by panel) appears to resolve the issue. I tried changing last few rows from:
I also looked at #473. Both suggestions above worked for the example provided by @ddeannd, but only the 2nd version worked for the ampersand example provided by @yutannihilation. (I couldn't get the Japanese font to work properly, so I skipped his first example...)
Activity
linzi-sg commentedon Apr 1, 2023
I also looked at #473. Both suggestions above worked for the example provided by @ddeannd, but only the 2nd version worked for the ampersand example provided by @yutannihilation. (I couldn't get the Japanese font to work properly, so I skipped his first example...)
Fix thomasp85#480 avoid removing last frame data for subsequent groups