docs: def _add_labels(ax: Axes, h: Union[Histogram1D, Histogram2D], kwargs: dict):
      """Add axis and plot labels.
      
      TODO: Document kwargs
      """
      title = kwargs.pop("title", h.title)
      xlabel = kwargs.pop("xlabel", h.axis_names[0])
      ylabel = kwargs.pop("ylabel", h.axis_names[1] if len(h.axis_names) == 2 else None)
  
      if title:
          ax.set_title(title)
      if xlabel:
          ax.set_xlabel(xlabel)
      if ylabel:
          ax.set_ylabel(ylabel)
      ax.get_figure().tight_layout()