plotnine icon indicating copy to clipboard operation
plotnine copied to clipboard

Artifacts in PlotnineAnimation

Open AlFontal opened this issue 1 year ago • 0 comments

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:

image

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:

japan_ndvi_2015

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?

AlFontal avatar Jul 01 '24 11:07 AlFontal