Skip to content

Commit f28760a

Browse files
committed
Added more debug text to generate_animation
1 parent 8801878 commit f28760a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

generate_animation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ def generate_animation(fps,title='Matplotlib Animation',comment='Matplotlib Anim
4343
metadata = dict(title=title, artist='Matplotlib',
4444
comment=comment)
4545
writer = FFMpegWriter(fps=fps, metadata=metadata)
46+
print('Using the FFMpeg writer')
4647
except:
4748
PillowWriter = manimation.writers['pillow']
4849
metadata = dict(title=title, artist='Matplotlib',
4950
comment=comment)
5051
writer = PillowWriter(fps=fps, metadata=metadata)
52+
print('Using the Pillow writer')
5153

5254
return writer

0 commit comments

Comments
 (0)