code: def _get_extent(points):
      """Compute bounds on a space with appropriate padding"""
      min_x = np.nanmin(points[:, 0])
      max_x = np.nanmax(points[:, 0])
      min_y = np.nanmin(points[:, 1])
      max_y = np.nanmax(points[:, 1])
  
      extent = (
          np.round(min_x - 0.05 * (max_x - min_x)),
          np.round(max_x + 0.05 * (max_x - min_x)),
          np.round(min_y - 0.05 * (max_y - min_y)),
          np.round(max_y + 0.05 * (max_y - min_y)),
      )
  
      return extent
  
imports: import numpy
  import numba
  from warnings import warn
  import sklearn.decomposition
  import sklearn.cluster
  import sklearn.neighbors
  from matplotlib.patches import Patch
  from umap.utils import submatrix, average_nn_distance
  from bokeh.plotting import show
  from bokeh.plotting import output_file, output_notebook
  from bokeh.layouts import column
  from bokeh.models import CustomJS, TextInput
  from matplotlib.pyplot import show
  from warnings import warn
label_desc: Use image node_id 11 for calling a global function with example usage: _get_extent(points) and returns: extent