code: def test_elbow_curve():
      X = np.array([[1, 2], [1, 4], [1, 0], [10, 2]])
      clf = KMeans()
  
      plot.elbow_curve(
          X, clf, range_n_clusters=range(1, 4), show_cluster_time=False
      )
  
imports: import pytest
  import numpy
  from unittest.mock import Mock
  import matplotlib.pyplot
  from matplotlib.testing.decorators import image_comparison
  from sklearn.tree import DecisionTreeClassifier
  from sklearn.cluster import KMeans, MiniBatchKMeans
  from sklearn.datasets import load_iris
  from sklearn_evaluation import plot
  import sklearn_evaluation.plot.clustering
  from ploomber_core.warnings import PloomberDeprecationWarning
label_desc: Use image node_id 6 for calling a global function with example usage: test_elbow_curve() without return types