code: def plot_adjacency_matrix(
      adjacency_matrix: pd.DataFrame,
      is_directed: bool,
      filename: Optional[str] = None,
      display_plot: bool = True,
  ) -> None:
      """Deprecated, please use dowhy.utils.plotting.plot_adjacency_matrix() instead."""
      warnings.warn(
          "The plot method is deprecated. Use the plot_adjacency_matrix function from dowhy.utils.plotting instead!",
          DeprecationWarning,
      )
      plotting.plot_adjacency_matrix(
          adjacency_matrix=adjacency_matrix,
          is_directed=is_directed,
          filename=filename,
          display_plot=display_plot,
      )
  
file_path: dowhy/dowhy/gcm/util/plotting.py
imports: import logging
  import warnings
  from typing import Any, Dict, List, Optional, Tuple, Union
  import networkx
  import pandas
  from dowhy.utils import plotting
label_desc: Use image node_id 2 for calling a global function with example usage: plot_adjacency_matrix(adjacency_matrix, is_directed, filename, display_plot) without return types