binsizes_y#

Hist2d.binsizes_y()[source]#

Compute the widths of the bins along the y-axis.

Returns:
ndarray

Array of bin widths along the y-axis, with shape (self.ybins,).

Examples

>>> h = Hist2d(values, xedges, yedges)
>>> ywidths = h.binsizes_y()
>>> ywidths.shape == (h.ybins,)
True