# hist package

### *class* hist.BaseHist(arg: [dict](https://docs.python.org/3/builtins/stdtypes.html#dict)[[str](https://docs.python.org/3/builtins/stdtypes.html#str), [Any](https://docs.python.org/3/library/typing.html#typing.Any)], , , data: NDArray[[Any](https://docs.python.org/3/library/typing.html#typing.Any)] | [None](https://docs.python.org/3/builtins/constants.html#None) = ..., metadata: [Any](https://docs.python.org/3/library/typing.html#typing.Any) = ..., label: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = ..., name: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = ...)

### *class* hist.BaseHist(arg: Self | bh.Histogram[S], , , data: NDArray[[Any](https://docs.python.org/3/library/typing.html#typing.Any)] | [None](https://docs.python.org/3/builtins/constants.html#None) = ..., metadata: [Any](https://docs.python.org/3/library/typing.html#typing.Any) = ..., label: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = ..., name: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = ...)

### *class* hist.BaseHist(\*axes: [AxisProtocol](hist.axis.html.md#hist.axis.AxisProtocol) | [tuple](https://docs.python.org/3/builtins/stdtypes.html#tuple)[[int](https://docs.python.org/3/builtins/functions.html#int), [float](https://docs.python.org/3/builtins/functions.html#float), [float](https://docs.python.org/3/builtins/functions.html#float)] | [Storage](hist.storage.html.md#hist.storage.Storage) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), storage: S = ..., metadata: [Any](https://docs.python.org/3/library/typing.html#typing.Any) = ..., data: NDArray[[Any](https://docs.python.org/3/library/typing.html#typing.Any)] | [None](https://docs.python.org/3/builtins/constants.html#None) = ..., label: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = ..., name: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = ...)

Bases: [`Histogram`](https://boost-histogram.readthedocs.io/en/latest/api/boost_histogram.html#boost_histogram.histogram.Histogram)[`S`], [`Generic`](https://docs.python.org/3/library/typing.html#typing.Generic)[`S`]

#### *property* T *: Self*

#### density() → NDArray[[Any](https://docs.python.org/3/library/typing.html#typing.Any)]

Density NumPy array.

#### expand_cats(, name: Callable[..., [str](https://docs.python.org/3/builtins/stdtypes.html#str)] | [None](https://docs.python.org/3/builtins/constants.html#None) = None) → [dict](https://docs.python.org/3/builtins/stdtypes.html#dict)[[str](https://docs.python.org/3/builtins/stdtypes.html#str), Self]

Expand all categorical axes into a dict of histograms.

One histogram is produced for every combination of categories. The
`name` callable receives the category values, one per categorical
axis, and returns the key; the default joins them with `_`.
Keys must be unique across all combinations, including empty groups.
A duplicate key raises `ValueError`; pass `name` to choose unique keys.

#### fill(\*args: ArrayLike, weight: ArrayLike | [None](https://docs.python.org/3/builtins/constants.html#None) = None, sample: ArrayLike | [None](https://docs.python.org/3/builtins/constants.html#None) = None, threads: [int](https://docs.python.org/3/builtins/functions.html#int) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, \*\*kwargs: ArrayLike) → Self

Insert data into the histogram using names and indices, return
a Hist object.

#### fill_flattened(\*args: Any, weight: Any | [None](https://docs.python.org/3/builtins/constants.html#None) = None, sample: Any | [None](https://docs.python.org/3/builtins/constants.html#None) = None, threads: [int](https://docs.python.org/3/builtins/functions.html#int) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, \*\*kwargs: Any) → Self

#### *classmethod* from_columns(data: Mapping[[str](https://docs.python.org/3/builtins/stdtypes.html#str), ArrayLike], axes: Sequence[[str](https://docs.python.org/3/builtins/stdtypes.html#str) | [AxisProtocol](hist.axis.html.md#hist.axis.AxisProtocol)], , weight: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, storage: [hist.storage.Storage](hist.storage.html.md#hist.storage.Storage) | [None](https://docs.python.org/3/builtins/constants.html#None) = None) → Self

#### integrate(name: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), i_or_list: [list](https://docs.python.org/3/builtins/stdtypes.html#list)[[str](https://docs.python.org/3/builtins/stdtypes.html#str) | [int](https://docs.python.org/3/builtins/functions.html#int)], j: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None) → Self

#### integrate(name: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), i_or_list: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None, j: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None) → IntHists | [int](https://docs.python.org/3/builtins/functions.html#int)

#### integrate(name: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), i_or_list: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None, j: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None) → FloatHists | [float](https://docs.python.org/3/builtins/functions.html#float)

#### integrate(name: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), i_or_list: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None, j: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None) → ListHists | [list](https://docs.python.org/3/builtins/stdtypes.html#list)[[float](https://docs.python.org/3/builtins/functions.html#float)]

#### integrate(name: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), i_or_list: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None, j: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None) → WeightHists | [WeightedSum](hist.accumulators.html.md#hist.accumulators.WeightedSum)

#### integrate(name: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), i_or_list: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None, j: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None) → MeanHists | [Mean](hist.accumulators.html.md#hist.accumulators.Mean)

#### integrate(name: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), i_or_list: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None, j: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None) → WeightedMeanHists | [WeightedMean](hist.accumulators.html.md#hist.accumulators.WeightedMean)

#### integrate(name: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), i_or_list: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None, j: InnerIndexing | [None](https://docs.python.org/3/builtins/constants.html#None) = None) → Self | [int](https://docs.python.org/3/builtins/functions.html#int) | [float](https://docs.python.org/3/builtins/functions.html#float) | [list](https://docs.python.org/3/builtins/stdtypes.html#list)[[float](https://docs.python.org/3/builtins/functions.html#float)] | bh.accumulators.Accumulator

#### plot(\*args: Any, overlay: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, \*\*kwargs: Any) → Hist1DArtists | Hist2DArtists

Plot the histogram with mplhep, picking a 1D or 2D plot automatically.

* 1D histograms, and 2D histograms with one continuous and one
  categorical axis (or with `overlay` given), are drawn with
  [`plot1d()`](#hist.BaseHist.plot1d), which wraps `mplhep.histplot`. For 2D histograms,
  one line is drawn per bin of the overlay axis.
* Other 2D histograms are drawn with [`plot2d()`](#hist.BaseHist.plot2d), which wraps
  `mplhep.hist2dplot`.
* Histograms with more than two dimensions must be projected first.

* **Parameters:**
  * **\*args** (*Any*) – Forwarded to [`plot1d()`](#hist.BaseHist.plot1d) or [`plot2d()`](#hist.BaseHist.plot2d); both only take
    keyword arguments, so pass options by name.
  * **overlay** ([*str*](https://docs.python.org/3/builtins/stdtypes.html#str) *,* *optional*) – Name of the axis to overlay for a 2D histogram. Giving it
    forces a 1D overlay plot. If None, a 2D histogram with one
    continuous and one categorical axis overlays the categorical axis.
  * **\*\*kwargs** (*Any*) – 

    Forwarded to [`plot1d()`](#hist.BaseHist.plot1d) (`ax`, `legend`, then
    `mplhep.histplot`) or [`plot2d()`](#hist.BaseHist.plot2d) (`ax`, then
    `mplhep.hist2dplot`). Any remaining keywords go to matplotlib,
    and `ls`/`*_ls` are accepted as aliases for
    `linestyle`/`*_linestyle`. Commonly used `mplhep.histplot`
    options include:
    - `histtype`: `"step"` (default), `"fill"`, `"errorbar"`,
      or another type supported by the installed mplhep.
    - `yerr`: `True` for Poisson/sqrt(N) errors, or an array.
    - `w2method`: `"poisson"`, `"sqrt"`, or a callable.
    - `stack`: stack the overlaid histograms.
    - `density`/`binwnorm`: normalize to unit area/to bin width.
    - `flow`: how to show under/overflow bins, e.g. `"hint"`,
      `"show"`, `"sum"` or `"none"`.
    - `label`: legend label; for an overlay, a single string or one
      label per category (defaults to the category names).
    - `sort`: order overlaid histograms by `"label"` or `"yield"`.

    Commonly used `mplhep.hist2dplot` options include `cbar`,
    `cmin`/`cmax`, `labels` (`True` prints bin values) and
    `flow`. See the mplhep documentation for the full list.
* **Returns:**
  The matplotlib artists returned by mplhep (a list of
  `Hist1DArtists` for 1D plots).
* **Return type:**
  Hist1DArtists or Hist2DArtists
* **Raises:**
  [**NotImplementedError**](https://docs.python.org/3/builtins/exceptions.html#NotImplementedError) – If the histogram has more than two dimensions.

#### plot1d(, ax: matplotlib.axes.Axes | [None](https://docs.python.org/3/builtins/constants.html#None) = None, overlay: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [int](https://docs.python.org/3/builtins/functions.html#int) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, legend: [bool](https://docs.python.org/3/builtins/functions.html#bool) = True, \*\*kwargs: Any) → Hist1DArtists

Plot1d method for BaseHist object.

* **Parameters:**
  * **ax** (*matplotlib.axes.Axes* *,* *optional*) – Axes to plot on. If None, uses current axes or creates new ones.
  * **overlay** ([*str*](https://docs.python.org/3/builtins/stdtypes.html#str) *or* [*int*](https://docs.python.org/3/builtins/functions.html#int) *,* *optional*) – Name or index of the axis to overlay. If None, automatically selects
    the first discrete axis for multi-dimensional histograms.
  * **legend** ([*bool*](https://docs.python.org/3/builtins/functions.html#bool) *,* *default True*) – Whether to automatically add a legend when plotting stacked categories.
    The legend title is set from the axis label if available.
  * **\*\*kwargs** (*Any*) – Additional keyword arguments passed to `mplhep.histplot` (for
    example `histtype`, `yerr`, `stack`, `density`, `flow`
    or `label`; see [`plot()`](hist.plot.html.md#module-hist.plot)), and from there to matplotlib.
* **Returns:**
  The matplotlib artists created by the plot.
* **Return type:**
  Hist1DArtists

#### plot2d(, ax: matplotlib.axes.Axes | [None](https://docs.python.org/3/builtins/constants.html#None) = None, \*\*kwargs: Any) → Hist2DArtists

Plot2d method for BaseHist object.

* **Parameters:**
  * **ax** (*matplotlib.axes.Axes* *,* *optional*) – Axes to plot on. If None, uses current axes or creates new ones.
  * **\*\*kwargs** (*Any*) – Additional keyword arguments passed to `mplhep.hist2dplot`, such
    as `cbar`, `cmin`/`cmax`, `labels` or `flow`, and from
    there to matplotlib’s `pcolormesh`.
* **Returns:**
  The matplotlib artists created by the plot.
* **Return type:**
  Hist2DArtists

#### plot2d_full(, ax_dict: [dict](https://docs.python.org/3/builtins/stdtypes.html#dict)[[str](https://docs.python.org/3/builtins/stdtypes.html#str), matplotlib.axes.Axes] | [None](https://docs.python.org/3/builtins/constants.html#None) = None, \*\*kwargs: Any) → [tuple](https://docs.python.org/3/builtins/stdtypes.html#tuple)[Hist2DArtists, Hist1DArtists, Hist1DArtists]

Plot2d_full method for BaseHist object.

Pass a dict of axes to `ax_dict`, otherwise, the current figure will be used.

#### plot_pie(, ax: matplotlib.axes.Axes | [None](https://docs.python.org/3/builtins/constants.html#None) = None, \*\*kwargs: Any) → Any

#### plot_pull(func: Callable[[np.typing.NDArray[Any]], np.typing.NDArray[Any]] | [str](https://docs.python.org/3/builtins/stdtypes.html#str), , ax_dict: [dict](https://docs.python.org/3/builtins/stdtypes.html#dict)[[str](https://docs.python.org/3/builtins/stdtypes.html#str), matplotlib.axes.Axes] | [None](https://docs.python.org/3/builtins/constants.html#None) = None, \*\*kwargs: Any) → [tuple](https://docs.python.org/3/builtins/stdtypes.html#tuple)[FitResultArtists, RatiolikeArtists]

Plot a 1D histogram with a fitted model and a pull subplot.

Return a tuple of artists following a structure of
`(main_ax_artists, subplot_ax_artists)`

* **Parameters:**
  * **func** ([*collections.abc.Callable*](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable) *or* [*str*](https://docs.python.org/3/builtins/stdtypes.html#str)) – A model to fit to this histogram. The strings `"gauss"`, `"gaus"`,
    and `"normal"` select a Gaussian model with initial parameter
    estimates derived from the histogram. Other strings are Python
    expressions in `x`, such as `"a * x + b"`, where `a` and `b`
    are fit parameters. NumPy is available as `np`. Only use trusted
    expressions, since they are evaluated as Python code.
  * **ax_dict** ([*dict*](https://docs.python.org/3/builtins/stdtypes.html#dict) *[*[*str*](https://docs.python.org/3/builtins/stdtypes.html#str) *,* *matplotlib.axes.Axes* *]*) – Axes for the histogram and pull subplot, keyed by `"main_ax"` and
    `"pull_ax"`, respectively. Both keys are required when passing a
    nonempty dictionary. If omitted or empty, both axes are created in
    the current figure.

#### plot_ratio(other: [hist.BaseHist](#hist.BaseHist)[Any] | Callable[[np.typing.NDArray[Any]], np.typing.NDArray[Any]] | [str](https://docs.python.org/3/builtins/stdtypes.html#str), , ax_dict: [dict](https://docs.python.org/3/builtins/stdtypes.html#dict)[[str](https://docs.python.org/3/builtins/stdtypes.html#str), matplotlib.axes.Axes] | [None](https://docs.python.org/3/builtins/constants.html#None) = None, \*\*kwargs: Any) → [tuple](https://docs.python.org/3/builtins/stdtypes.html#tuple)[MainAxisArtists, RatiolikeArtists]

Plot a 1D histogram and its ratio to another histogram or a fitted model.

Return a tuple of artists following a structure of
`(main_ax_artists, subplot_ax_artists)`

* **Parameters:**
  * **other** ([*hist.BaseHist*](#hist.BaseHist) *,* [*collections.abc.Callable*](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable) *, or* [*str*](https://docs.python.org/3/builtins/stdtypes.html#str)) – A histogram to compare with, or a model to fit to this histogram.
    The strings `"gauss"`, `"gaus"`, and `"normal"` select a Gaussian
    model with initial parameter estimates derived from the histogram.
    Other strings are Python expressions in `x`, such as
    `"a * x + b"`, where `a` and `b` are fit parameters. NumPy is
    available as `np`. Only use trusted expressions, since they are
    evaluated as Python code.
  * **ax_dict** ([*dict*](https://docs.python.org/3/builtins/stdtypes.html#dict) *[*[*str*](https://docs.python.org/3/builtins/stdtypes.html#str) *,* *matplotlib.axes.Axes* *]*) – Axes for the histogram and ratio subplot, keyed by `"main_ax"` and
    `"ratio_ax"`, respectively. Both keys are required when passing a
    nonempty dictionary. If omitted or empty, both axes are created in
    the current figure.

#### profile(axis: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str)) → Self

Returns a profile (Mean/WeightedMean) histogram from a normal histogram
with N-1 axes. The axis given is profiled over and removed from the
final histogram.

#### project(\*args: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), flow: [bool](https://docs.python.org/3/builtins/functions.html#bool) = True) → Self

Projection of axis idx.

#### show(\*\*kwargs: [Any](https://docs.python.org/3/library/typing.html#typing.Any)) → [Any](https://docs.python.org/3/library/typing.html#typing.Any)

Pretty print histograms to the console.

#### sort(axis: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), key: Callable[[[int](https://docs.python.org/3/builtins/functions.html#int)], [SupportsLessThan](hist.basehist.html.md#hist.basehist.SupportsLessThan)] | Callable[[[str](https://docs.python.org/3/builtins/stdtypes.html#str)], [SupportsLessThan](hist.basehist.html.md#hist.basehist.SupportsLessThan)] | [None](https://docs.python.org/3/builtins/constants.html#None) = None, reverse: [bool](https://docs.python.org/3/builtins/functions.html#bool) = False) → Self

Sort a categorical axis.

#### stack(axis: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str)) → [Stack](hist.stack.html.md#hist.stack.Stack)[S]

Returns a stack from a normal histogram axes.

### *class* hist.Hist(arg: [dict](https://docs.python.org/3/builtins/stdtypes.html#dict)[[str](https://docs.python.org/3/builtins/stdtypes.html#str), [Any](https://docs.python.org/3/library/typing.html#typing.Any)], , , data: NDArray[[Any](https://docs.python.org/3/library/typing.html#typing.Any)] | [None](https://docs.python.org/3/builtins/constants.html#None) = ..., metadata: [Any](https://docs.python.org/3/library/typing.html#typing.Any) = ..., label: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = ..., name: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = ...)

### *class* hist.Hist(arg: Self | bh.Histogram[S], , , data: NDArray[[Any](https://docs.python.org/3/library/typing.html#typing.Any)] | [None](https://docs.python.org/3/builtins/constants.html#None) = ..., metadata: [Any](https://docs.python.org/3/library/typing.html#typing.Any) = ..., label: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = ..., name: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = ...)

### *class* hist.Hist(\*axes: [AxisProtocol](hist.axis.html.md#hist.axis.AxisProtocol) | [tuple](https://docs.python.org/3/builtins/stdtypes.html#tuple)[[int](https://docs.python.org/3/builtins/functions.html#int), [float](https://docs.python.org/3/builtins/functions.html#float), [float](https://docs.python.org/3/builtins/functions.html#float)] | [Storage](hist.storage.html.md#hist.storage.Storage) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), storage: S = ..., metadata: [Any](https://docs.python.org/3/library/typing.html#typing.Any) = ..., data: NDArray[[Any](https://docs.python.org/3/library/typing.html#typing.Any)] | [None](https://docs.python.org/3/builtins/constants.html#None) = ..., label: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = ..., name: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = ...)

Bases: [`BaseHist`](hist.basehist.html.md#hist.basehist.BaseHist)[`S`], [`Generic`](https://docs.python.org/3/library/typing.html#typing.Generic)[`S`]

### *class* hist.NamedHist(\*args: [Any](https://docs.python.org/3/library/typing.html#typing.Any), \*\*kwargs: [Any](https://docs.python.org/3/library/typing.html#typing.Any))

Bases: [`BaseHist`](hist.basehist.html.md#hist.basehist.BaseHist)[`S`], [`Generic`](https://docs.python.org/3/library/typing.html#typing.Generic)[`S`]

#### fill(weight: ArrayLike | [None](https://docs.python.org/3/builtins/constants.html#None) = None, sample: ArrayLike | [None](https://docs.python.org/3/builtins/constants.html#None) = None, threads: [int](https://docs.python.org/3/builtins/functions.html#int) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, \*\*kwargs: ArrayLike) → Self

Insert data into the histogram using names and return a             NamedHist object. NamedHist could only be filled by names.

#### fill_flattened(obj: Any = None, , weight: Any | [None](https://docs.python.org/3/builtins/constants.html#None) = None, sample: Any | [None](https://docs.python.org/3/builtins/constants.html#None) = None, threads: [int](https://docs.python.org/3/builtins/functions.html#int) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, \*\*kwargs: Any) → Self

#### project(\*args: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str), flow: [bool](https://docs.python.org/3/builtins/functions.html#bool) = True) → Self

Projection of axis idx.

### *class* hist.Stack(\*args: [BaseHist](hist.basehist.html.md#hist.basehist.BaseHist)[S])

Bases: [`Generic`](https://docs.python.org/3/library/typing.html#typing.Generic)[`S`]

#### *property* axes *: [NamedAxesTuple](hist.axestuple.html.md#hist.axestuple.NamedAxesTuple)*

#### *classmethod* from_dict(d: [Mapping](https://docs.python.org/3/library/typing.html#typing.Mapping)[[str](https://docs.python.org/3/builtins/stdtypes.html#str), [BaseHist](#hist.BaseHist)[S]]) → Self

Create a Stack from a dictionary of histograms. The keys of the
dictionary are used as names.

#### *classmethod* from_iter(iterable: [Iterable](https://docs.python.org/3/library/typing.html#typing.Iterable)[[BaseHist](#hist.BaseHist)[S]]) → Self

Create a Stack from an iterable of histograms.

#### plot(, ax: mpl.axes.Axes | [None](https://docs.python.org/3/builtins/constants.html#None) = None, \*\*kwargs: Any) → Any

Plot method for Stack object.

#### project(\*args: [int](https://docs.python.org/3/builtins/functions.html#int) | [str](https://docs.python.org/3/builtins/stdtypes.html#str)) → Self

Project the Stack onto a new axes.

#### show(\*\*kwargs: [object](https://docs.python.org/3/builtins/functions.html#object)) → [Any](https://docs.python.org/3/library/typing.html#typing.Any)

Pretty print the stacked histograms to the console.

#### to_hist(, name: [str](https://docs.python.org/3/builtins/stdtypes.html#str) = 'stack', label: [str](https://docs.python.org/3/builtins/stdtypes.html#str) = '') → [BaseHist](hist.basehist.html.md#hist.basehist.BaseHist)[S]

Copy the stack into a histogram with a leading categorical axis.

Histogram names become categories in stack order. Names must be unique
and either all strings (`StrCategory`) or all ints (`IntCategory`).
All histograms must use the same storage. The new axis name must not
collide with an existing axis name. The result has the class of the
first histogram. Flow bins and accumulator fields are copied; the
result owns its data and axes independently of the stack. The new
axis has no overflow bin, so entries that `BaseHist.stack` dropped
from a category overflow bin are not restored. If any histogram has
unknown variances, the result has unknown variances.

### *class* hist.at(value: [int](https://docs.python.org/3/builtins/functions.html#int))

Bases: [`object`](https://docs.python.org/3/builtins/functions.html#object)

#### value

### *class* hist.loc(value: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [float](https://docs.python.org/3/builtins/functions.html#float), offset: [int](https://docs.python.org/3/builtins/functions.html#int) = 0)

Bases: [`Locator`](hist.tag.html.md#hist.tag.Locator)

#### value

### *class* hist.rebin(factor_or_axis: [int](https://docs.python.org/3/builtins/functions.html#int) | PlottableAxis | [None](https://docs.python.org/3/builtins/constants.html#None) = None, , , factor: [int](https://docs.python.org/3/builtins/functions.html#int) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, groups: Sequence[[int](https://docs.python.org/3/builtins/functions.html#int)] | [None](https://docs.python.org/3/builtins/constants.html#None) = None, edges: Sequence[[int](https://docs.python.org/3/builtins/functions.html#int) | [float](https://docs.python.org/3/builtins/functions.html#float)] | [None](https://docs.python.org/3/builtins/constants.html#None) = None, axis: PlottableAxis | [None](https://docs.python.org/3/builtins/constants.html#None) = None)

Bases: [`object`](https://docs.python.org/3/builtins/functions.html#object)

#### axis

#### axis_mapping(axis: PlottableAxis) → [tuple](https://docs.python.org/3/builtins/stdtypes.html#tuple)[Sequence[[int](https://docs.python.org/3/builtins/functions.html#int)], PlottableAxis | [None](https://docs.python.org/3/builtins/constants.html#None)]

#### edges

#### factor

#### group_mapping(axis: PlottableAxis) → Sequence[[int](https://docs.python.org/3/builtins/functions.html#int)]

Return the list of group sizes (numbers of adjacent bins to merge)
for `axis`. For explicit groups, the sum of the group sizes must
equal the number of bins in the axis. For a factor, this returns
`len(axis) // factor` groups of size `factor`; if the factor does
not divide the number of bins evenly, the leftover bins are not part
of any group (a consumer should merge them into the overflow bin,
matching the C++ factor-based rebinning).

#### groups

### hist.sum(iterable, , start=0)

Return the sum of a ‘start’ value (default: 0) plus an iterable of numbers

When the iterable is empty, return the start value.
This function is intended specifically for use with numeric values and
may reject non-numeric types.

## Subpackages

* [hist.axis package](hist.axis.html.md)
  * [`ArrayTuple`](hist.axis.html.md#hist.axis.ArrayTuple)
    * [`ArrayTuple.broadcast()`](hist.axis.html.md#hist.axis.ArrayTuple.broadcast)
  * [`AxesMixin`](hist.axis.html.md#hist.axis.AxesMixin)
    * [`AxesMixin.label`](hist.axis.html.md#hist.axis.AxesMixin.label)
    * [`AxesMixin.name`](hist.axis.html.md#hist.axis.AxesMixin.name)
  * [`AxisProtocol`](hist.axis.html.md#hist.axis.AxisProtocol)
    * [`AxisProtocol.label`](hist.axis.html.md#hist.axis.AxisProtocol.label)
    * [`AxisProtocol.name`](hist.axis.html.md#hist.axis.AxisProtocol.name)
  * [`Boolean`](hist.axis.html.md#hist.axis.Boolean)
  * [`IntCategory`](hist.axis.html.md#hist.axis.IntCategory)
  * [`Integer`](hist.axis.html.md#hist.axis.Integer)
  * [`NamedAxesTuple`](hist.axis.html.md#hist.axis.NamedAxesTuple)
    * [`NamedAxesTuple.label`](hist.axis.html.md#hist.axis.NamedAxesTuple.label)
    * [`NamedAxesTuple.name`](hist.axis.html.md#hist.axis.NamedAxesTuple.name)
  * [`Regular`](hist.axis.html.md#hist.axis.Regular)
  * [`StrCategory`](hist.axis.html.md#hist.axis.StrCategory)
  * [`Variable`](hist.axis.html.md#hist.axis.Variable)
  * [Submodules](hist.axis.html.md#submodules)
    * [hist.axis.transform module](hist.axis.transform.html.md)
      * [`AxisTransform`](hist.axis.transform.html.md#hist.axis.transform.AxisTransform)
      * [`Function`](hist.axis.transform.html.md#hist.axis.transform.Function)
      * [`Pow`](hist.axis.transform.html.md#hist.axis.transform.Pow)
* [hist.dask package](hist.dask.html.md)
  * [`Hist`](hist.dask.html.md#hist.dask.Hist)
  * [`NamedHist`](hist.dask.html.md#hist.dask.NamedHist)
  * [Submodules](hist.dask.html.md#submodules)
    * [hist.dask.hist module](hist.dask.hist.html.md)
      * [`Hist`](hist.dask.hist.html.md#hist.dask.hist.Hist)
    * [hist.dask.namedhist module](hist.dask.namedhist.html.md)
      * [`NamedHist`](hist.dask.namedhist.html.md#hist.dask.namedhist.NamedHist)

## Submodules

* [hist.accumulators module](hist.accumulators.html.md)
  * [`Mean`](hist.accumulators.html.md#hist.accumulators.Mean)
    * [`Mean.count`](hist.accumulators.html.md#hist.accumulators.Mean.count)
    * [`Mean.fill()`](hist.accumulators.html.md#hist.accumulators.Mean.fill)
    * [`Mean.value`](hist.accumulators.html.md#hist.accumulators.Mean.value)
    * [`Mean.variance`](hist.accumulators.html.md#hist.accumulators.Mean.variance)
  * [`Sum`](hist.accumulators.html.md#hist.accumulators.Sum)
    * [`Sum.fill()`](hist.accumulators.html.md#hist.accumulators.Sum.fill)
    * [`Sum.value`](hist.accumulators.html.md#hist.accumulators.Sum.value)
  * [`WeightedMean`](hist.accumulators.html.md#hist.accumulators.WeightedMean)
    * [`WeightedMean.fill()`](hist.accumulators.html.md#hist.accumulators.WeightedMean.fill)
    * [`WeightedMean.sum_of_weights`](hist.accumulators.html.md#hist.accumulators.WeightedMean.sum_of_weights)
    * [`WeightedMean.sum_of_weights_squared`](hist.accumulators.html.md#hist.accumulators.WeightedMean.sum_of_weights_squared)
    * [`WeightedMean.value`](hist.accumulators.html.md#hist.accumulators.WeightedMean.value)
    * [`WeightedMean.variance`](hist.accumulators.html.md#hist.accumulators.WeightedMean.variance)
  * [`WeightedSum`](hist.accumulators.html.md#hist.accumulators.WeightedSum)
    * [`WeightedSum.fill()`](hist.accumulators.html.md#hist.accumulators.WeightedSum.fill)
    * [`WeightedSum.value`](hist.accumulators.html.md#hist.accumulators.WeightedSum.value)
    * [`WeightedSum.variance`](hist.accumulators.html.md#hist.accumulators.WeightedSum.variance)
* [hist.axestuple module](hist.axestuple.html.md)
  * [`ArrayTuple`](hist.axestuple.html.md#hist.axestuple.ArrayTuple)
    * [`ArrayTuple.broadcast()`](hist.axestuple.html.md#hist.axestuple.ArrayTuple.broadcast)
  * [`AxesTuple`](hist.axestuple.html.md#hist.axestuple.AxesTuple)
    * [`AxesTuple.bin()`](hist.axestuple.html.md#hist.axestuple.AxesTuple.bin)
    * [`AxesTuple.centers`](hist.axestuple.html.md#hist.axestuple.AxesTuple.centers)
    * [`AxesTuple.edges`](hist.axestuple.html.md#hist.axestuple.AxesTuple.edges)
    * [`AxesTuple.extent`](hist.axestuple.html.md#hist.axestuple.AxesTuple.extent)
    * [`AxesTuple.index()`](hist.axestuple.html.md#hist.axestuple.AxesTuple.index)
    * [`AxesTuple.size`](hist.axestuple.html.md#hist.axestuple.AxesTuple.size)
    * [`AxesTuple.value()`](hist.axestuple.html.md#hist.axestuple.AxesTuple.value)
    * [`AxesTuple.widths`](hist.axestuple.html.md#hist.axestuple.AxesTuple.widths)
  * [`NamedAxesTuple`](hist.axestuple.html.md#hist.axestuple.NamedAxesTuple)
    * [`NamedAxesTuple.label`](hist.axestuple.html.md#hist.axestuple.NamedAxesTuple.label)
    * [`NamedAxesTuple.name`](hist.axestuple.html.md#hist.axestuple.NamedAxesTuple.name)
* [hist.basehist module](hist.basehist.html.md)
  * [`BaseHist`](hist.basehist.html.md#hist.basehist.BaseHist)
    * [`BaseHist.T`](hist.basehist.html.md#hist.basehist.BaseHist.T)
    * [`BaseHist.density()`](hist.basehist.html.md#hist.basehist.BaseHist.density)
    * [`BaseHist.expand_cats()`](hist.basehist.html.md#hist.basehist.BaseHist.expand_cats)
    * [`BaseHist.fill()`](hist.basehist.html.md#hist.basehist.BaseHist.fill)
    * [`BaseHist.fill_flattened()`](hist.basehist.html.md#hist.basehist.BaseHist.fill_flattened)
    * [`BaseHist.from_columns()`](hist.basehist.html.md#hist.basehist.BaseHist.from_columns)
    * [`BaseHist.integrate()`](hist.basehist.html.md#hist.basehist.BaseHist.integrate)
    * [`BaseHist.plot()`](hist.basehist.html.md#hist.basehist.BaseHist.plot)
    * [`BaseHist.plot1d()`](hist.basehist.html.md#hist.basehist.BaseHist.plot1d)
    * [`BaseHist.plot2d()`](hist.basehist.html.md#hist.basehist.BaseHist.plot2d)
    * [`BaseHist.plot2d_full()`](hist.basehist.html.md#hist.basehist.BaseHist.plot2d_full)
    * [`BaseHist.plot_pie()`](hist.basehist.html.md#hist.basehist.BaseHist.plot_pie)
    * [`BaseHist.plot_pull()`](hist.basehist.html.md#hist.basehist.BaseHist.plot_pull)
    * [`BaseHist.plot_ratio()`](hist.basehist.html.md#hist.basehist.BaseHist.plot_ratio)
    * [`BaseHist.profile()`](hist.basehist.html.md#hist.basehist.BaseHist.profile)
    * [`BaseHist.project()`](hist.basehist.html.md#hist.basehist.BaseHist.project)
    * [`BaseHist.show()`](hist.basehist.html.md#hist.basehist.BaseHist.show)
    * [`BaseHist.sort()`](hist.basehist.html.md#hist.basehist.BaseHist.sort)
    * [`BaseHist.stack()`](hist.basehist.html.md#hist.basehist.BaseHist.stack)
  * [`SupportsLessThan`](hist.basehist.html.md#hist.basehist.SupportsLessThan)
  * [`process_mistaken_quick_construct()`](hist.basehist.html.md#hist.basehist.process_mistaken_quick_construct)
* [hist.classichist module](hist.classichist.html.md)
  * [`main()`](hist.classichist.html.md#hist.classichist.main)
* [hist.chunked module](hist.chunked.html.md)
  * [`ChunkedHist`](hist.chunked.html.md#hist.chunked.ChunkedHist)
    * [`ChunkedHist.add_dense_view()`](hist.chunked.html.md#hist.chunked.ChunkedHist.add_dense_view)
    * [`ChunkedHist.axes`](hist.chunked.html.md#hist.chunked.ChunkedHist.axes)
    * [`ChunkedHist.chunk_axes`](hist.chunked.html.md#hist.chunked.ChunkedHist.chunk_axes)
    * [`ChunkedHist.chunk_axis_names`](hist.chunked.html.md#hist.chunked.ChunkedHist.chunk_axis_names)
    * [`ChunkedHist.chunk_view()`](hist.chunked.html.md#hist.chunked.ChunkedHist.chunk_view)
    * [`ChunkedHist.chunks`](hist.chunked.html.md#hist.chunked.ChunkedHist.chunks)
    * [`ChunkedHist.dense_axes`](hist.chunked.html.md#hist.chunked.ChunkedHist.dense_axes)
    * [`ChunkedHist.dense_view_dtype`](hist.chunked.html.md#hist.chunked.ChunkedHist.dense_view_dtype)
    * [`ChunkedHist.dense_view_shape`](hist.chunked.html.md#hist.chunked.ChunkedHist.dense_view_shape)
    * [`ChunkedHist.empty_like()`](hist.chunked.html.md#hist.chunked.ChunkedHist.empty_like)
    * [`ChunkedHist.exact_chunk_key()`](hist.chunked.html.md#hist.chunked.ChunkedHist.exact_chunk_key)
    * [`ChunkedHist.fill()`](hist.chunked.html.md#hist.chunked.ChunkedHist.fill)
    * [`ChunkedHist.from_hist()`](hist.chunked.html.md#hist.chunked.ChunkedHist.from_hist)
    * [`ChunkedHist.histogram_bytes()`](hist.chunked.html.md#hist.chunked.ChunkedHist.histogram_bytes)
    * [`ChunkedHist.items()`](hist.chunked.html.md#hist.chunked.ChunkedHist.items)
    * [`ChunkedHist.keys()`](hist.chunked.html.md#hist.chunked.ChunkedHist.keys)
    * [`ChunkedHist.label`](hist.chunked.html.md#hist.chunked.ChunkedHist.label)
    * [`ChunkedHist.name`](hist.chunked.html.md#hist.chunked.ChunkedHist.name)
    * [`ChunkedHist.reset()`](hist.chunked.html.md#hist.chunked.ChunkedHist.reset)
    * [`ChunkedHist.selection_dict()`](hist.chunked.html.md#hist.chunked.ChunkedHist.selection_dict)
    * [`ChunkedHist.split_fill_kwargs()`](hist.chunked.html.md#hist.chunked.ChunkedHist.split_fill_kwargs)
    * [`ChunkedHist.storage_type`](hist.chunked.html.md#hist.chunked.ChunkedHist.storage_type)
    * [`ChunkedHist.to_hist()`](hist.chunked.html.md#hist.chunked.ChunkedHist.to_hist)
  * [`normalize_chunk_selection()`](hist.chunked.html.md#hist.chunked.normalize_chunk_selection)
* [hist.hist module](hist.hist.html.md)
  * [`Hist`](hist.hist.html.md#hist.hist.Hist)
* [hist.intervals module](hist.intervals.html.md)
  * [`clopper_pearson_interval()`](hist.intervals.html.md#hist.intervals.clopper_pearson_interval)
  * [`poisson_interval()`](hist.intervals.html.md#hist.intervals.poisson_interval)
  * [`ratio_uncertainty()`](hist.intervals.html.md#hist.intervals.ratio_uncertainty)
* [hist.namedhist module](hist.namedhist.html.md)
  * [`NamedHist`](hist.namedhist.html.md#hist.namedhist.NamedHist)
    * [`NamedHist.fill()`](hist.namedhist.html.md#hist.namedhist.NamedHist.fill)
    * [`NamedHist.fill_flattened()`](hist.namedhist.html.md#hist.namedhist.NamedHist.fill_flattened)
    * [`NamedHist.project()`](hist.namedhist.html.md#hist.namedhist.NamedHist.project)
* [hist.numpy module](hist.numpy.html.md)
  * [`histogram()`](hist.numpy.html.md#hist.numpy.histogram)
  * [`histogram2d()`](hist.numpy.html.md#hist.numpy.histogram2d)
  * [`histogramdd()`](hist.numpy.html.md#hist.numpy.histogramdd)
* [hist.plot module](hist.plot.html.md)
  * [`hist2dplot()`](hist.plot.html.md#hist.plot.hist2dplot)
  * [`histplot()`](hist.plot.html.md#hist.plot.histplot)
  * [`plot2d_full()`](hist.plot.html.md#hist.plot.plot2d_full)
  * [`plot_pie()`](hist.plot.html.md#hist.plot.plot_pie)
  * [`plot_pull_array()`](hist.plot.html.md#hist.plot.plot_pull_array)
  * [`plot_ratio_array()`](hist.plot.html.md#hist.plot.plot_ratio_array)
  * [`plot_stack()`](hist.plot.html.md#hist.plot.plot_stack)
* [hist.quick_construct module](hist.quick_construct.html.md)
  * [`ConstructProxy`](hist.quick_construct.html.md#hist.quick_construct.ConstructProxy)
    * [`ConstructProxy.AtomicInt64()`](hist.quick_construct.html.md#hist.quick_construct.ConstructProxy.AtomicInt64)
    * [`ConstructProxy.Double()`](hist.quick_construct.html.md#hist.quick_construct.ConstructProxy.Double)
    * [`ConstructProxy.Int64()`](hist.quick_construct.html.md#hist.quick_construct.ConstructProxy.Int64)
    * [`ConstructProxy.Mean()`](hist.quick_construct.html.md#hist.quick_construct.ConstructProxy.Mean)
    * [`ConstructProxy.MultiCell()`](hist.quick_construct.html.md#hist.quick_construct.ConstructProxy.MultiCell)
    * [`ConstructProxy.Unlimited()`](hist.quick_construct.html.md#hist.quick_construct.ConstructProxy.Unlimited)
    * [`ConstructProxy.Weight()`](hist.quick_construct.html.md#hist.quick_construct.ConstructProxy.Weight)
    * [`ConstructProxy.WeightedMean()`](hist.quick_construct.html.md#hist.quick_construct.ConstructProxy.WeightedMean)
  * [`MetaConstructor`](hist.quick_construct.html.md#hist.quick_construct.MetaConstructor)
    * [`MetaConstructor.new`](hist.quick_construct.html.md#hist.quick_construct.MetaConstructor.new)
  * [`QuickConstruct`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct)
    * [`QuickConstruct.Bool()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.Bool)
    * [`QuickConstruct.Boolean()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.Boolean)
    * [`QuickConstruct.Func()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.Func)
    * [`QuickConstruct.Int()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.Int)
    * [`QuickConstruct.IntCat()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.IntCat)
    * [`QuickConstruct.IntCategory()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.IntCategory)
    * [`QuickConstruct.Integer()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.Integer)
    * [`QuickConstruct.Log()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.Log)
    * [`QuickConstruct.Pow()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.Pow)
    * [`QuickConstruct.Reg()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.Reg)
    * [`QuickConstruct.Regular()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.Regular)
    * [`QuickConstruct.Sqrt()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.Sqrt)
    * [`QuickConstruct.StrCat()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.StrCat)
    * [`QuickConstruct.StrCategory()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.StrCategory)
    * [`QuickConstruct.Var()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.Var)
    * [`QuickConstruct.Variable()`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.Variable)
    * [`QuickConstruct.axes`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.axes)
    * [`QuickConstruct.hist_class`](hist.quick_construct.html.md#hist.quick_construct.QuickConstruct.hist_class)
* [hist.stack module](hist.stack.html.md)
  * [`Stack`](hist.stack.html.md#hist.stack.Stack)
    * [`Stack.axes`](hist.stack.html.md#hist.stack.Stack.axes)
    * [`Stack.from_dict()`](hist.stack.html.md#hist.stack.Stack.from_dict)
    * [`Stack.from_iter()`](hist.stack.html.md#hist.stack.Stack.from_iter)
    * [`Stack.plot()`](hist.stack.html.md#hist.stack.Stack.plot)
    * [`Stack.project()`](hist.stack.html.md#hist.stack.Stack.project)
    * [`Stack.show()`](hist.stack.html.md#hist.stack.Stack.show)
    * [`Stack.to_hist()`](hist.stack.html.md#hist.stack.Stack.to_hist)
* [hist.storage module](hist.storage.html.md)
  * [`AtomicInt64`](hist.storage.html.md#hist.storage.AtomicInt64)
    * [`AtomicInt64.accumulator`](hist.storage.html.md#hist.storage.AtomicInt64.accumulator)
  * [`Double`](hist.storage.html.md#hist.storage.Double)
    * [`Double.accumulator`](hist.storage.html.md#hist.storage.Double.accumulator)
  * [`Int64`](hist.storage.html.md#hist.storage.Int64)
    * [`Int64.accumulator`](hist.storage.html.md#hist.storage.Int64.accumulator)
  * [`Mean`](hist.storage.html.md#hist.storage.Mean)
    * [`Mean.accumulator`](hist.storage.html.md#hist.storage.Mean.accumulator)
  * [`MultiCell`](hist.storage.html.md#hist.storage.MultiCell)
    * [`MultiCell.accumulator`](hist.storage.html.md#hist.storage.MultiCell.accumulator)
  * [`Storage`](hist.storage.html.md#hist.storage.Storage)
    * [`Storage.accumulator`](hist.storage.html.md#hist.storage.Storage.accumulator)
  * [`Unlimited`](hist.storage.html.md#hist.storage.Unlimited)
    * [`Unlimited.accumulator`](hist.storage.html.md#hist.storage.Unlimited.accumulator)
  * [`Weight`](hist.storage.html.md#hist.storage.Weight)
    * [`Weight.accumulator`](hist.storage.html.md#hist.storage.Weight.accumulator)
  * [`WeightedMean`](hist.storage.html.md#hist.storage.WeightedMean)
    * [`WeightedMean.accumulator`](hist.storage.html.md#hist.storage.WeightedMean.accumulator)
* [hist.svgplots module](hist.svgplots.html.md)
  * [`html_hist()`](hist.svgplots.html.md#hist.svgplots.html_hist)
  * [`make_ax_text()`](hist.svgplots.html.md#hist.svgplots.make_ax_text)
  * [`make_text()`](hist.svgplots.html.md#hist.svgplots.make_text)
  * [`svg_hist_1d()`](hist.svgplots.html.md#hist.svgplots.svg_hist_1d)
  * [`svg_hist_1d_c()`](hist.svgplots.html.md#hist.svgplots.svg_hist_1d_c)
  * [`svg_hist_2d()`](hist.svgplots.html.md#hist.svgplots.svg_hist_2d)
* [hist.svgutils module](hist.svgutils.html.md)
  * [`SupportsStr`](hist.svgutils.html.md#hist.svgutils.SupportsStr)
  * [`XML`](hist.svgutils.html.md#hist.svgutils.XML)
    * [`XML.name`](hist.svgutils.html.md#hist.svgutils.XML.name)
    * [`XML.start`](hist.svgutils.html.md#hist.svgutils.XML.start)
  * [`circle`](hist.svgutils.html.md#hist.svgutils.circle)
  * [`div`](hist.svgutils.html.md#hist.svgutils.div)
  * [`ellipse`](hist.svgutils.html.md#hist.svgutils.ellipse)
  * [`g`](hist.svgutils.html.md#hist.svgutils.g)
  * [`html`](hist.svgutils.html.md#hist.svgutils.html)
  * [`line`](hist.svgutils.html.md#hist.svgutils.line)
  * [`p`](hist.svgutils.html.md#hist.svgutils.p)
  * [`polygon`](hist.svgutils.html.md#hist.svgutils.polygon)
  * [`polyline`](hist.svgutils.html.md#hist.svgutils.polyline)
  * [`rect`](hist.svgutils.html.md#hist.svgutils.rect)
    * [`rect.pad()`](hist.svgutils.html.md#hist.svgutils.rect.pad)
  * [`svg`](hist.svgutils.html.md#hist.svgutils.svg)
  * [`text`](hist.svgutils.html.md#hist.svgutils.text)
* [hist.tag module](hist.tag.html.md)
  * [`Locator`](hist.tag.html.md#hist.tag.Locator)
    * [`Locator.NAME`](hist.tag.html.md#hist.tag.Locator.NAME)
    * [`Locator.offset`](hist.tag.html.md#hist.tag.Locator.offset)
  * [`at`](hist.tag.html.md#hist.tag.at)
    * [`at.value`](hist.tag.html.md#hist.tag.at.value)
  * [`loc`](hist.tag.html.md#hist.tag.loc)
    * [`loc.value`](hist.tag.html.md#hist.tag.loc.value)
  * [`rebin`](hist.tag.html.md#hist.tag.rebin)
    * [`rebin.axis`](hist.tag.html.md#hist.tag.rebin.axis)
    * [`rebin.axis_mapping()`](hist.tag.html.md#hist.tag.rebin.axis_mapping)
    * [`rebin.edges`](hist.tag.html.md#hist.tag.rebin.edges)
    * [`rebin.factor`](hist.tag.html.md#hist.tag.rebin.factor)
    * [`rebin.group_mapping()`](hist.tag.html.md#hist.tag.rebin.group_mapping)
    * [`rebin.groups`](hist.tag.html.md#hist.tag.rebin.groups)
  * [`sum()`](hist.tag.html.md#hist.tag.sum)
* [hist.version module](hist.version.html.md)
