matplotlib1 다중 시각화 그래프 (matplotlib, gridspec, seaborn) 이 포스팅은 matplotlib.GridSpec과 seaborn 라이브러리를 사용해서 여러개의 시각화 그래프를 그리는 방법에 관한 내용을 담고 있다. (예시 데이터는, seaborn 라이브러리의 titanic 데이터를 사용한다.) 시각화 그래프 구조 1. matplotlib.pyplot , seaborn - 그래프 시각화 2. matplotlib.gridspec 사용 - 서브플롯의 위치 & 크기 정교하게 조정 3. for ~ in enumerate 반복문 사용 0. 데이터 & 라이브러리 불러오기 import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns import matplotlib.gridspe.. 2023. 12. 1. 이전 1 다음