matplotlib.pyplot.ioff #
- matplotlib.pyplot. ioff ( ) [fuente] #
Deshabilitar el modo interactivo.
Ver
pyplot.isinteractivepara más detalles.Ver también
ionActiva el modo interactivo.
isinteractiveSi el modo interactivo está habilitado.
showMostrar todas las figuras (y tal vez bloquear).
pauseMuestre todas las figuras y bloquee por un tiempo.
notas
Para un cambio temporal, esto se puede usar como un administrador de contexto:
# 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() # ...
Para habilitar el uso opcional como administrador de contexto, esta función devuelve un
ExitStackobjeto, que no está destinado a ser almacenado o accedido por el usuario.