I use the manim-matplotlib technique for animating my plots. On the PC that I am running this on I use a virtual environment. From one day to the other this stopped working and I am wondering why. Matplotlib 3.7.5, Python 3.8 def figtoimg(fig): fig.canvas.draw() img = fig.canvas.buffer_rgba() plt.close(fig) return img Using the function above throws the following error: AttributeError: 'FigureCanvasPgf' object has no attribute 'buffer_rgba' Continue reading...