[Jupyter Notebook] Matplotilb로 데이터 시각화하기
※ 라이브러리 불러오기 import matplotlib.pyplot as plt ※ 필요없는 정보 보여지지 않음 plt.show() 1. 그래프 기본 2. 축 plt.plot(x,y) plt.xlabel('X축', color = 'red', loc = 'right') #loc는 로케이션(위치)로 left, center, right 중에서 선택 plt.ylabel('Y축', color = '#00aa00', loc = 'top') #top, center, bottom 3. 범례 plt.plot(x,y, label='무슨 데이터') plt.legend(loc = (0.7, 0.8)) #x축, y축 0~1사이 4. 스타일 plt.plot(x, y, marker = 'o', markersize = 10, mar..
2022.03.10