code: def test_cooks_distance():
      plot.cooks_distance(X, y)
  
file_path: sklearn-evaluation/tests/test_regression.py
imports: import pytest
  import numpy
  import pandas
  from sklearn.datasets import make_regression
  import matplotlib.pyplot
  from matplotlib.testing.decorators import image_comparison
  from sklearn_evaluation import plot
label_desc: Use image node_id 5 for calling a global function with example usage: test_cooks_distance() without return types