Mouse event: new blank canvas


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

#Event onclick
def onclick(event):
fig2 = plt.figure()
return fig2

fig1 = plt.figure()

#Connecting plot with event onclick
fig1.canvas.mpl_connect(‘button_press_event’, onclick)