여러 AxesSubplot 객체 생성 및 표현
import matplotlib.pyplot as plt fig = plt.figure(figsize=(12, 8)) top_axes = plt.subplot2grid((4,4), (0,0), rowspan=3, colspan=4) bottom_axes = plt.subplot2grid((4,4), (3,0), rowspan=1, colspan=4) plt.show() Figure 객체 안에, 두 데이터를 표현하기 위한 두 개의 AxesSubplot 객체를 생성하는 코드 1. fig = plt.figure(figsize=(12, 8)) → figsize 인자를 통해 Figure 객체의 크기를 조정 할 수 있음 2. AxesSubplot 객체를 subplot2grid를 사용해 생성 → add_subplot..
2021. 8. 29.