'Toggle pretty printing on/off.'

@line_magic
def pprint(self, parameter_s=''):

    ptformatter = self.shell.display_formatter.formatters['text/plain']
    ptformatter.pprint = bool((1 - ptformatter.pprint))
    print ('Pretty    printing    has    been    turned', ['OFF', 'ON'][ptformatter.pprint])
