matplotlib에서 플롯을 업데이트하는 방법은 무엇입니까? 여기 그림을 다시 그리는 데 문제가 있습니다. 사용자가 시간 단위 (x 축)로 단위를 지정한 다음 다시 계산 하고이 함수를 호출 할 수 있습니다 plots(). 그림에 다른 그림을 추가하지 않고 그림을 간단하게 업데이트하고 싶습니다. def plots(): global vlgaBuffSorted cntr() result = collections.defaultdict(list) for d in vlgaBuffSorted: result[d['event']].append(d) result_list = result.values() f = Figure() graph1 = f.add_subplot(211) graph2 = f.add_subplot(212..