기본 그래프 그려보기
In [2]: import matplotlib.pyplot as plt #%matplotlib inline plt.plot([1, 2, 3], [2, 4, 6]) plt.title("Hello plot") plt.show() In [ ]: Figure와 Axes¶ In [3]: # plt.figure()는 주로 figure의 크기를 조절하는 데 사용됨. plt.figure(figsize=(10, 4)) # figure 크기가 가로 10, 세로 4인 Figure객체를 설정하고 반환함. plt.plot([1, 2, 3], [2, 4, 6]) plt.title("Hello plot") plt.show() In [4]: figure = plt.figure(figsize=(10, 4)) print(type(fig..