environment/lib/python2.7/site-packages/IPython/core/display_trap.py
def set(self):
        """Set the hook."""
        if sys.displayhook is not self.hook:
            self.old_hook = sys.displayhook
            sys.displayhook = self.hook
def set(self):
        """Set the hook."""
        if sys.displayhook is not self.hook:
            self.old_hook = sys.displayhook
            sys.displayhook = self.hook
def set ( self ) : if sys . displayhook is not self . hook : self . old_hook = sys . displayhook sys . displayhook = self . hook
Set the hook.
Set the hook .