2๐
โ
I was using the Pylab API for Matplotlib and the two views were somehow accessing the same plot object. I ended up using the object oriented Matplotlib API. It is slightly less user friendly, but it allows you to have multiple figure instances running in parallel. This article does a great job explaining the difference.
๐คLucas Noah
Source:stackexchange.com