clear figure, ax, etc

what does figure.clear() do ?

what about ax.clear()?

The doc is kind of sparce.

The 2 function/method above do nothing on my setup.

ax.clear() I was expecting to mean ‘erase all the 2DLines’

figure.clear() I was expecting ‘hide all the axes’

Now

figure.del_axes(self.figure.axes)

does not do anything either…

How can I remove my axes from the figure?

···

Emmanuel