code: def plot_qq(model: SklearnModel, ax=None) -> None:
      if ax is None:
          _, ax = plt.subplots(1, 1)
      residuals = model.residuals(model.data.X.values)
      sm.qqplot(residuals, fit=True, line="45", ax=ax)
      ax.set_title("QQ plot")
      return ax
  
imports: import seaborn
  import statsmodels.api
  from matplotlib import pyplot
  from ..sklearnmodel import SklearnModel
label_desc: Use image node_id 1 for calling a global function with example usage: plot_qq(model, ax) and returns: ax