Python matplotlib.pyplot.figure()

사용 버전: Python 3.7.6
사용 프로그램: Atom 1.45.0 x64


파이썬 matplotlib.pyplot.figure()에 대해서 알아보겠습니다.





괄호 안에는 num, figsize, dpi, facecolor, edgecolor, frameon, FigureClass, clear, **kwargs 따위가 들어갑니다.

matplotlib.pyplot.figure()은 새로운 차트 창을 만듭니다.








num 안에는 숫자나 글자가 들어갑니다.
차트 창의 이름을 변경합니다.






figsize에는 [가로, 세로] 크기가 들어갑니다.
단위는 inch를 사용하므로 cm로 변환하려면, /2.54를 해줍니다.
처음 나오는 크기를 지정합니다.









끝.




카테고리: Python, Matplotlib

댓글

이 블로그의 인기 게시물

Python urllib.parse.quote()

KiCad 시작하기 2 (PCB 만들기)

Android Room database FTS

음악 총보(Score), 파트보(Part)

Android Notification with Full Screen

KiCad 시작하기 3 (새로운 소자 추가하기)

Python OpenCV 빈 화면 만들기

Android Minimum touch target size

tensorflow tf.expand_dims()

Kivy 시작하기 12 (Pyinstaller로 exe 파일 만들기)