jwkvam/celluloid

Titles/labels/ticks accumulate with matplotlib==3.3.4

Opened this issue · 0 comments

Running the basic example:

import matplotlib
from matplotlib import pyplot as plt
from celluloid import Camera
import celluloid

fig = plt.figure()
camera = Camera(fig)
for i in range(5):
    t = plt.plot(range(i, i + 5))
    plt.legend(t, [f'line {i}'])
    camera.snap()
animation = camera.animate()

On matplotlib==3.3.4 we get axis ticks accumulating on top of one another (bold / aliased font):

bug

Downgrading to matplotlib==3.2.2 fixes the problem:

good

The same applies to the titles and labels for all axes.