class_docstr: The PrettyPrinter used to print all HoloView objects via the
  pprint method.
class_docstr_tok: ["The","PrettyPrinter","used","to","print","all","HoloView","objects","via","the","pprint","method","."]
code: def option_info(cls_or_slf, node):
      if not cls_or_slf.show_options:
          return None
      from .options import Options, Store
  
      options = {}
      for g in Options._option_groups:
          gopts = Store.lookup_options(
              Store.current_backend,
              node,
              g,
              defaults=cls_or_slf.show_defaults,
          )
          if gopts:
              options.update(gopts.kwargs)
      opts = Options(
          **{k: v for k, v in options.items() if k != "backend"}
      )
      return opts
  
imports: import re
  import textwrap
  import param
  from param.ipython import ParamPager
  from param.parameterized import bothmethod
  from .util import group_sanitizer, label_sanitizer
label_desc: Use image node_id 9 for calling the PrettyPrinter obj's underlying member method code with example usage: obj.option_info(cls_or_slf, node) and returns: opts, None