code: def test_cluster_widget():
      cr = CorrelationWidget()
      assert hasattr(
          cr, "association_matrix"
      ), "Cluster Widget missing cluster labels"
      assert hasattr(
          cr, "viz_backend"
      ), "Cluster Widget missing default viz backend"
      assert hasattr(
          cr, "cluster_matrix"
      ), "Cluster Widget missing cluster matrix"
      assert hasattr(
          cr, "categorical"
      ), "Cluster Widget missing categorical flag"
      assert hasattr(cr, "viz_data"), "Cluster Widget missing viz_data"
      assert hasattr(
          cr, "__repr__"
      ), "Cluster Widget missing __repr__ method"
      assert hasattr(
          cr, "_repr_html_"
      ), "Cluster Widget missing _repr_html_ method"
      assert hasattr(cr, "show"), "Cluster Widget missing show method"
  
file_path: data-describe/tests/test_correlation.py
imports: import plotly
  import pytest
  import matplotlib
  from matplotlib.axes import Axes
  from pandas.testing import assert_frame_equal
  import data_describe
  from data_describe.compat import _is_dataframe
  from data_describe.core.correlation import CorrelationWidget
label_desc: Use image node_id 2 for calling a global function with example usage: test_cluster_widget() without return types