I would like obtaining a new blank canvas after clicking on an initial blank canvas. I mean, I need to obtain a new blank canvas every time I click in the first canvas created.
Would you help me with this?
Thank you in advance
import matplotlib.pyplot as plt
fig2 = plt.figure()
fig1 = plt.figure()
#Connecting plot with event onclick