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
Whenever an animation of figures containing colorbars is generated and saved via PlotnineAnimation, an artifact with a repeated colorbar, centered at coordinates (0, 0), appears in the animation.
I would create a reproducible example but even the example used in the Plotnine docs shows this issue:
In cases like mine, however, it can become more annoying since the colorbar is horizontal and obstructs a part of the choropleth map I am showing:
My solution by now is to simply add a bottom margin to the plot and crop out the part with the artifact, but there has to be something in the animation module that causes this behavior that probably should be easy enough to fix?
The text was updated successfully, but these errors were encountered:
A workaround for this would be to save each frame as an image and then use ffmpeg to stitch those images into a video. For the example in the documentation, that could be something like:
Whenever an animation of figures containing colorbars is generated and saved via
PlotnineAnimation
, an artifact with a repeated colorbar, centered at coordinates (0, 0), appears in the animation.I would create a reproducible example but even the example used in the Plotnine docs shows this issue:
In cases like mine, however, it can become more annoying since the colorbar is horizontal and obstructs a part of the choropleth map I am showing:
My solution by now is to simply add a bottom margin to the plot and crop out the part with the artifact, but there has to be something in the
animation
module that causes this behavior that probably should be easy enough to fix?The text was updated successfully, but these errors were encountered: