파이썬 축(그래프), 그림판 개수 초기화 하는 방법

import matplotlib.pyplot as plt

plt.cla() # 축, 그래프 초기화, Clear the current axes
import matplotlib.pyplot as plt

plt.clf() # 그림 초기화, Clear the current figure

출처 : http://blog.naver.com/PostView.nhn?blogId=wideeyed&logNo=221700401548