code: def test_ax_params():
      clf = KMeans(n_clusters=8)
      cluster_labels = clf.fit_predict(X)
      out_ax = plot.silhouette_analysis_from_results(
          X, cluster_labels, text_fontsize="large"
      )
      assert out_ax.get_title() == "Silhouette Analysis (n_clusters=8)"
      assert out_ax.get_ylim() == (0.0, 250.0)
  
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 21 for calling a global function with example usage: test_ax_params() without return types