code: def test_paired_histogram_specification_bins_raises(bad_data: List):
      """`_extract_paired_histogram_specification` raises a ValueError on empty data"""
      for density in [False, True]:
          with pytest.raises(ValueError):
              rasa.utils.plotting._extract_paired_histogram_specification(
                  bad_data,
                  num_bins=2,
                  density=density,
                  x_pad_fraction=0,
                  y_pad_fraction=0,
              )
  
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 2 for calling a global function with example usage: test_paired_histogram_specification_bins_raises(bad_data) without return types