Clear the figure.
Set keep_observers to True if, for example, a gui widget is tracking the Axes in the figure.
© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.figure.Figure.clear.html