code: def test_n_clusters_in_clf(self):
      np.random.seed(0)
  
      class DummyClusterer:
          def __init__(self):
              pass
  
          def fit(self):
              pass
  
          def fit_predict(self):
              pass
  
      clf = DummyClusterer()
      scikitplot.clustering_factory(clf)
      self.assertRaises(TypeError, clf.plot_elbow_curve, self.X)
  
imports: from __future__ import absolute_import
  import unittest
  import scikitplot
  import warnings
  import numpy
  from sklearn.datasets import load_iris
  from sklearn.cluster import KMeans
  import matplotlib.pyplot
label_desc: Use image node_id 3 for calling the TestPlotElbow obj's underlying member method code with example usage: obj.test_n_clusters_in_clf() without return types