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
While working with creating a tiled plot I tried using the geom_raster geometry, which documentation states is special case of geom_tile that is optimized for all tiles being the same size. However, upon adding the geometry to my list of plots it appears to break the entire plot system without any logs of errors, causing all the plots in a system to be blank. I tested this with the latest version of animint2 on CRAN, 2022.1.25.
My understanding is that this must be because the function has not been implemented in animint2 from the original ggplot2 code, so this is the behavior from that. This raises the question of if there are other geometries that also cause this issue, and if there are then this should probably be at least documented.
For compatibility with ggplots it might make sense to implement this function by just routing it to a normal call to geom_tile without worrying about the optimization, and to see if other unimplemented geometries have a similar logical fallback.
While working with creating a tiled plot I tried using the
geom_raster
geometry, which documentation states is special case ofgeom_tile
that is optimized for all tiles being the same size. However, upon adding the geometry to my list of plots it appears to break the entire plot system without any logs of errors, causing all the plots in a system to be blank. I tested this with the latest version of animint2 on CRAN,2022.1.25
.My understanding is that this must be because the function has not been implemented in animint2 from the original ggplot2 code, so this is the behavior from that. This raises the question of if there are other geometries that also cause this issue, and if there are then this should probably be at least documented.
For compatibility with ggplots it might make sense to implement this function by just routing it to a normal call to
geom_tile
without worrying about the optimization, and to see if other unimplemented geometries have a similar logical fallback.This Gist demonstrates an example of
geom_raster
breaking the plot system and an example ofgeom_tile
working correctly.https://gist.github.com/Csaluski/628e69c42e4ec3b23bc0f369d4fe8c7a
The text was updated successfully, but these errors were encountered: