code: def _mini_pretty(obj):
      printer = _MiniPPrinter()
      printer.pretty(obj)
      return printer.getvalue()
  
imports: import sys
  import numpy
  import six
  from six.moves import cStringIO
  from .compat import optional_dep_ok
label_desc: Use image node_id 13 for calling a global function with example usage: _mini_pretty(obj) and returns: printer