
matplotlib 라이브러리 임포트import matplotlib.pyplot as plt방법1subplots(row, col) 사용fig, ax = plt.subplots(2,2) 인덱싱하여 사용 방법2add_subplot(row, col, index) 사용fig = plt.figure()ax1 = fig.add_subplot(2,2,1) # fig.add_subplot(221)도 됨ax2 = fig.add_subplot(2,2,2) # fig.add_subplot(222)도 됨ax3 = fig.add_subplot(2,2,3) # fig.add_subplot(223)도 됨ax4 = fig.add_subplot(2,2,4) # fig.add_subplot(224)도 됨 변수로 지정한 후 사용 http..