How to Clear a Plot in Matplotlib

preview_player
Показать описание
In this Matplotlib Tutorial, we will discuss how to clear (empty) a Plot. There are two ways of doing so, each with their own unique effect.

Website Link:
Рекомендации по теме
Комментарии
Автор

I'm using a loop to regenerate new graphs and using clf to clear the previous one...in this process I was clearing the grid lines and other properties mentioned above the plt.clf command. So how to fix it?

amandeepsaha
join shbcf.ru