Python matplotlib.pyplot.grid()

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






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









괄호 안에는 b, which, axis, Line2D 속성 따위가 들어갑니다.

matplotlib.pyplot.grid()는 표에 선 속성을 수정할 수 있습니다.

b에는 참, 거짓이 들어갑니다.
표시할 것인지 안 할 것인지를 나타냅니다.

















which는 'major', 'minor', 'both'가 들어갑니다.
'minor'를 하면 선이 안 보이네요.






















axis는 어떤 축에 그릴 것인지를 정합니다.
'both', 'x', 'y'가 들어갑니다.











Line2D 속성에는 여러 가지 라인 속성들이 들어갑니다.
agg_filter, alpha, animated, antialiased, clip_box, clip_on, clip_path, color, contains, dash_capstyle, dash_joinstyle, dashes, data, drawstyle, figure, fillstyle, gid, in_layout, label, linestyle, linewidth, marker, markeredgecolor, markeredgewidth, markerfacecolor, markerfacecoloralt, markersize, markevery, path_effects, picker, pickradius, rasterized, sketch_params, snap, solid_capstyle, solid_joinstyle, trasform, url, visible, xdata, ydata, zarder


















끝.




카테고리: 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 만들기)