code: def pandas_missing_matrix(config: Settings, df: pd.DataFrame) -> str:
      return plot_missing_matrix(
          config,
          columns=list(df.columns),
          notnull=df.notnull().values,
          nrows=len(df),
      )
  
imports: import numpy
  import pandas
  from ydata_profiling.config import Settings
  from ydata_profiling.model.missing import missing_bar, missing_heatmap, missing_matrix
  from ydata_profiling.visualisation.missing import plot_missing_bar, plot_missing_heatmap, plot_missing_matrix
label_desc: Use image node_id 2 for calling a global function with example usage: pandas_missing_matrix(config, df) and returns: plot_missing_matrix