FuncAnimation blit=True hiding plots

I want to hide some of my subplots, which are drawn using FuncAnimation and blit = True.

However ,

ax.set_visible(False)

isn’t working when blit=True, but works with blit=False.

I need blit=True because otherwise the plots take a long time to update.

What can I do to solve this issue?

Please see Faster rendering by using blitting — Matplotlib 3.6.2 documentation which has an explaination of how blitting works.

If you want to remove the Axes you will have update the background image you are using in the blitting to not include it.