class_docstr: A set of magics useful when controlling a parallel IPython cluster.
docstr: Disable %autopx by restoring the original InteractiveShell.run_cell.
docstr_tok: ["Disable","%","autopx","by","restoring","the","original","InteractiveShell.run_cell","."]
code: def _disable_autopx(self):
      """Disable %autopx by restoring the original InteractiveShell.run_cell."""
      if self._autopx:
          self.shell.run_cell = self._original_run_cell
          self.shell.run_ast_nodes = self._original_run_nodes
          self._autopx = False
          print("%autopx disabled")
  
imports: import time
  from contextlib import contextmanager
  import inspect
  import re
  import sys
  from textwrap import dedent
  from IPython.core import magic_arguments
  from IPython.core.error import UsageError
  from IPython.core.magic import Magics, no_var_expand
  import ipyparallel
  from ..None import error
label_desc: Use image node_id 11 for calling the ParallelMagics obj's underlying member method code with example usage: obj._disable_autopx() without return types