code: def monkeypatch_HDBSCAN(_hdbscan, monkeypatch):
      class mock_hdbscan(_hdbscan.HDBSCAN):
          def __init__(self, **kwargs):
              pass
  
          def fit_predict(self, X, **kwargs):
              return np.ones(X.shape[0])
  
      monkeypatch.setattr("hdbscan.HDBSCAN", mock_hdbscan)
  
imports: import numpy
  import pytest
  import matplotlib
  from matplotlib.axes import Axes
  from sklearn.cluster import KMeans
  from sklearn.preprocessing import StandardScaler
  import plotly
  import data_describe
  from data_describe.compat import _is_dataframe
  from data_describe.core.clustering import ClusterWidget, _pandas_compute_cluster, _run_kmeans, _find_clusters, _fit_kmeans, _run_hdbscan
label_desc: Use image node_id 9 for calling a global function with example usage: monkeypatch_HDBSCAN(_hdbscan, monkeypatch) and returns: np