matplotlib.pyplot.ioff #

matplotlib.pyplot. ioff ( ) [출처] #

대화형 모드를 비활성화합니다.

자세한 내용 pyplot.isinteractive은 참조하십시오.

또한보십시오

ion

대화형 모드를 활성화합니다.

isinteractive

대화형 모드가 활성화되어 있는지 여부입니다.

show

모든 수치를 표시합니다(블록도 가능).

pause

모든 수치를 표시하고 잠시 차단합니다.

메모

임시 변경의 경우 컨텍스트 관리자로 사용할 수 있습니다.

# if interactive mode is on
# then figures will be shown on creation
plt.ion()
# This figure will be shown immediately
fig = plt.figure()

with plt.ioff():
    # interactive mode will be off
    # figures will not automatically be shown
    fig2 = plt.figure()
    # ...

컨텍스트 관리자로 선택적 사용을 활성화하기 위해 이 함수는 ExitStack사용자가 저장하거나 액세스할 목적이 아닌 객체를 반환합니다.