docs: def _kwargs_from_dict(cls, a_dict: dict) -> dict:
          """Modify __init__ arguments from an external dictionary.
  
          Template method for from dict.
          Override if necessary (like it's done in Histogram1D).
          """
          from .binnings import BinningBase
          kwargs = {
              "binnings": [BinningBase.from_dict(binning_data) for binning_data in a_dict["binnings"]],
              "dtype": np.dtype(a_dict["dtype"]),
              "frequencies": a_dict.get("frequencies"),
              "errors2": a_dict.get("errors2"),
          }
          if "missed" in a_dict:
              kwargs["missed"] = a_dict["missed"]
          kwargs.update(a_dict.get("meta_data", {}))
          if len(kwargs["binnings"]) > 2:
              kwargs["dimension"] = len(kwargs["binnings"])
          return kwargs