code: def _append_contraction_marks(Z, iv, i, n, contraction_marks, xp):
      _append_contraction_marks_sub(
          Z, iv, int_floor(Z[i - n, 0], xp), n, contraction_marks, xp
      )
      _append_contraction_marks_sub(
          Z, iv, int_floor(Z[i - n, 1], xp), n, contraction_marks, xp
      )
  
imports: import warnings
  import bisect
  from collections import deque
  import numpy
  from .None import _hierarchy, _optimal_leaf_ordering
  import scipy.spatial.distance
  from scipy._lib._array_api import array_namespace, as_xparray, copy
  from scipy._lib._disjoint_set import DisjointSet
label_desc: Use image node_id 39 for calling a global function with example usage: _append_contraction_marks(Z, iv, i, n, contraction_marks, xp) without return types