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 urllib.parse.quote()

KiCad 시작하기 4 (기존 회로도 수정 및 추가)

Android Compose Coil library

KiCad 시작하기 1 (회로도 만들기)

Android Notification with Full Screen

iOS Swift callAsFunction

Android Custom IME(Input method editor) 만들기

iOS Error Undefined symbol Testing.Trait

Android Compose automation for getting localized images to use on Play Store app image

tensorflow tf.expand_dims()