code: def test_plot_paired_histogram_warns_on_bad_data(bad_data: List):
      """Empty data shouldn't raise an error."""
      for density in [False, True]:
          with pytest.warns(
              UserWarning,
              match=r"Unable to plot paired histogram 'TITLE': .*",
          ):
              rasa.utils.plotting.plot_paired_histogram(
                  bad_data, title="TITLE", density=density
              )
  
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 3 for calling a global function with example usage: test_plot_paired_histogram_warns_on_bad_data(bad_data) without return types