Enable animation in facet_grid plot through 'frames' key
The facet_grid
plot can visualize multidimensional data through layout keywords such as col
, row
, hue
, etc. It would be an awesome addition to further include a frames
keyword that enables the automatic creation of animations. dantro
should be capable of realizing this.
This idea was triggered and already a bit discussed in this comment.
Proposal
Add the frames
argument to the facet_grid
plot function and use the dynamic animation entering functionality implemented in !154 (merged) to enter animation mode.
To double-check
We should check that the layout of the FaceGrids
does not change such that frames are not shifted in a movie.
How to test the implementation?
Assure that the already existing facet_grid
tests still pass and expand the test case to include and test for the frames
function argument,