code: def test_paired_histogram_specification_x_ranges(
      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)
  
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 5 for calling a global function with example usage: test_paired_histogram_specification_x_ranges(data, num_bins, density, x_pad_fraction, expected_ranges) without return types