High FPS animations in matplotlib

Опубликовано: 12 Март 2025
на канале: Dave's Space
41,947
964

See how blitting can be used to increase a matplotlib animation's fps by over 7x.

matplotlib is a plotting library for python, that produces publication quality plots. Unfortunately because they are publication quality, the time taken to set-up and draw the plot can be quite slow.

Typical animation framerates for redrawing plots are in the low/sub 10s. By using the FuncAnimation class along with blitting framerates over 60 fps are achievable.

This video is aimed at undergraduates or anyone interested in python.