class_docstr: Class for printing other information related to an object that is
  of use to the user.
class_docstr_tok: ["Class","for","printing","other","information","related","to","an","object","that","is","of","use","to","the","user","."]
code: def object_info(cls, obj, name, backend, ansi=False):
      element = not getattr(obj, "_deep_indexable", False)
      element_url = (
          "http://holoviews.org/reference/elements/{backend}/{obj}.html"
      )
      container_url = "http://holoviews.org/reference/containers/{backend}/{obj}.html"
      url = element_url if element else container_url
      link = url.format(obj=name, backend=backend)
  
      link = None if element and (name not in cls.elements) else link
      msg = (
          "\nOnline example: {link}"
          if link
          else ""
          + "\nHelp for the data object: holoviews.help({obj})"
          + " or holoviews.help(<{lower}_instance>)"
      )
  
      return "\n".join(
          [msg.format(obj=name, lower=name.lower(), link=link)]
      )
  
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 7 for calling the InfoPrinter obj's underlying member method code with example usage: obj.object_info(cls, obj, name, backend, ansi) and returns: str