code: def test_paired_histogram_specification_y_range(
      data: List[List[float]],
      num_bins: int,
      y_pad_fraction: float,
      expected_range: List[float],
  ):
      for density in [False, True]:
          (
              _,
              histograms,
              _,
              y_range,
          ) = rasa.utils.plotting._extract_paired_histogram_specification(
              data,
              num_bins=num_bins,
              density=density,
              x_pad_fraction=0,
              y_pad_fraction=y_pad_fraction,
          )
          assert np.all(list(y_range) == expected_range)
  
file_path: rasa/tests/utils/test_plotting.py
imports: from typing import List
  import rasa.utils.plotting
  import numpy
  import pytest
label_desc: Use image node_id 6 for calling a global function with example usage: test_paired_histogram_specification_y_range(data, num_bins, y_pad_fraction, expected_range) without return types