subplot을 이용해 여러 개의 그래프 배치하기
기본fig, axes = plt.subplots( 행 개수, 열 개수) 예)fig, axes = plt.subplots(5, 1): 5행 1열즉 세로로 그래프가 5개 배치됩니다. DataFrame예)fig, axes = plt.subplots(3, 1, figsize = (10, 20)) for ax, (ticker, column) in zip(axes, dataframe변수명): column.plot( x = "candle_date_time_kst", y = ["trade_price", "ma5"], kind = "line", style = ["-", "--"], alpha = 0.5,..
2026. 5. 9.