I figured it out. It was the interactive plot plt.ion() and it was screwing things up! -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://mail.python.org/pipermail/matplotlib-users/attachments/20210226/bcff2657/attachment.html>