class_docstr: Manage state related to controlling Bokeh output.
  
      
docstr: Reset output modes but DO NOT replace the default Document
  
          
docstr_tok: ["Reset","output","modes","but","DO","NOT","replace","the","default","Document"]
code: def _reset_keeping_doc(self) -> None:
      """Reset output modes but DO NOT replace the default Document"""
      self._file = None
      self._notebook = False
      self._notebook_type = None
  
imports: from __future__ import annotations
  import logging
  import os
  from dataclasses import dataclass
  from typing import TYPE_CHECKING, cast
  from ..core.types import PathLike
  from ..document import Document
  from ..resources import Resources, ResourcesMode
label_desc: Use image node_id 11 for calling the State obj's underlying member method code with example usage: obj._reset_keeping_doc() without return types