matplotlib.pyplot.ion #
- matplotlib.pyplot. 이온 ( ) [출처] #
대화형 모드를 활성화합니다.
자세한 내용
pyplot.isinteractive은 참조하십시오.또한보십시오
ioff대화형 모드를 비활성화합니다.
isinteractive대화형 모드가 활성화되어 있는지 여부입니다.
show모든 수치를 표시합니다(블록도 가능).
pause모든 수치를 표시하고 잠시 차단합니다.
메모
임시 변경의 경우 컨텍스트 관리자로 사용할 수 있습니다.
# if interactive mode is off # then figures will not be shown on creation plt.ioff() # This figure will not be shown immediately fig = plt.figure() with plt.ion(): # interactive mode will be on # figures will automatically be shown fig2 = plt.figure() # ...
컨텍스트 관리자로 선택적 사용을 활성화하기 위해 이 함수는
ExitStack사용자가 저장하거나 액세스할 목적이 아닌 객체를 반환합니다.