code: def test_scatter_plot_diagnostic_outside_threshold(
      _pyscagnostics, data
  ):
      with pytest.warns(
          UserWarning, match="No plots identified by diagnostics"
      ):
          dd.scatter_plots(
              data,
              mode="diagnostic",
              threshold={"Outlying": 0.999},
          ).show()
  
file_path: data-describe/tests/test_scatter_plot.py
imports: import matplotlib
  import seaborn
  import pytest
  import data_describe
  from data_describe.core.scatter import ScatterWidget
label_desc: Use image node_id 5 for calling a global function with example usage: test_scatter_plot_diagnostic_outside_threshold(_pyscagnostics, data) without return types