code: def _add_title(hist: HistogramBase, vega: dict, kwargs: dict):
      
      title = kwargs.pop("title", hist.title)
      if title:
          vega["title"] = {
              "text": title
          }
docs: Display plot title if available.