jwkvam/celluloid

Setting different title per plot/frame

Closed this issue · 2 comments

Is it possible to have a different title set for each frame used in the animation, e.g. for a series of scatterplots?

Thanks for trying this and asking! There's a related question on stackoverflow. Basically instead of setting the title, you'll have to create a text object, for example:

fig, ax = plt.subplots()
for i in range(5):
     ax.text(0.5, 1.01, i, transform=ax.transAxes)

I'll try to document this in the limitations section.

Documented in 18db7a5