class_docstr: Interface for collecting information and visualizations for a feature.
  
  A "widget" serves as a container for data, diagnostics, and other outputs
  (i.e. DataFrames, plots, estimators etc.) for a feature in data-describe.
docstr: Displays the object (widget) when it is on the last line in a Jupyter Notebook cell.
docstr_tok: ["Displays","the","object","(","widget",")","when","it","is","on","the","last","line","in","a","Jupyter","Notebook","cell","."]
code: def _repr_html_(self):
      """Displays the object (widget) when it is on the last line in a Jupyter Notebook cell."""
      try:
          from IPython.display import display
  
          return display(self.show())
      except ImportError:
          return self.show()
  
imports: from abc import ABC, abstractmethod
label_desc: Use image node_id 3 for calling the BaseWidget obj's underlying member method code with example usage: obj._repr_html_() and returns: display, self