code: def test_scatter_plot_diagnostic_dict(_pyscagnostics, data):
      fig = dd.scatter_plots(
          data,
          mode="diagnostic",
          threshold={"Outlying": 0.1},
          dist_kws={"rug": True},
      ).show()
      assert isinstance(fig, list)
      assert isinstance(fig[0], seaborn.axisgrid.JointGrid)
  
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 4 for calling a global function with example usage: test_scatter_plot_diagnostic_dict(_pyscagnostics, data) without return types