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 OpenCV 빈 화면 만들기

Python urllib.parse.quote()

Python bytes.fromhex()

Android AVD Ram size change

Forensics .pyc 파일 .py로 복구하기

Android Minimum touch target size

KiCad 시작하기 7 (FreeRoute 사용하기 2)

Android Notification with Full Screen

C++ OpenCV 모폴로지 침식, 팽창

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