matplotlib : 그래프를 그리기 위한 <모든 것>을 담고 있는 라이브러리
.pyplot : 호출을 위한 간단한 API를 제공한다.
.rcParams : matplotlib의 딕셔너리. Backend에서 그림을 그릴 때, rcParams의 값을 토대로 그리게 된다. Runtime Configuration Parameters (rcParams)
* Artist : matplot에서 데이터 및 시각화를 위한 객체들을 나타낸다.
- Artist in rcParams :
{'_internal', 'agg', 'animation', 'axes', 'axes3d', 'boxplot', 'contour', 'date', 'docstring', 'errorbar', 'figure', 'font', 'grid', 'hatch', 'hist', 'image', 'keymap', 'legend', 'lines', 'markers', 'mathtext', 'patch', 'path', 'pcolor', 'pcolormesh', 'pdf', 'pgf', 'polaraxes', 'ps', 'savefig', 'scatter', 'svg', 'text', 'tk', 'webagg', 'xaxis', 'xtick', 'yaxis', 'ytick'}
-> 그래프에 대한 값 변경 : Artist Layer의 객체에 포함된 "변수"를 변경
-> 그림 그리는 방법 변경 : rcParams 딕셔너리의 값을 변경
참고)
https://jrc-park.tistory.com/274
matplotlib의 구조와 rcParams에 대해 알면 나도 plot 고수 📈
Matplot의 구조 📈 데이터를 시각화 하기 위해서 Matplotlib 을 자주 사용합니다. 대부분의 사용자들이 세부적인 구조를 알지 못해 디버깅을 하는데 많은 시간을 소요하게 됩니다. 이번 포스팅에서
jrc-park.tistory.com
'빅데이터' 카테고리의 다른 글
[Computer Vision] 01. OpenCV 정리 (0) | 2021.11.04 |
---|---|
[EDA] PIL(Python Imaging Library) pillow 정리 (0) | 2021.11.03 |
[k-Digital] Modeling Project - 완료! (1) | 2021.09.10 |
[k-Digital] EDA Project 시작 - 완료! (0) | 2021.08.12 |
[k-Digital] Toy Project - web crawling (0) | 2021.08.04 |