def METHOD_NAME(
    data: List[List[float]],
    num_bins: int,
    density: bool,
    x_pad_fraction: float,
    expected_ranges: List[float],
):
    _, _, x_ranges, _ = rasa.utils.plotting._extract_paired_histogram_specification(
        data,
        num_bins=num_bins,
        density=density,
        x_pad_fraction=x_pad_fraction,
        y_pad_fraction=0,
    )
    assert np.all(x_ranges == expected_ranges)