code: def _get_tick_text_size(p):
      for k in _dtextsortedkeys:
          if p <= k:
              return _dtextsizes[k]
  
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 31 for calling a global function with example usage: _get_tick_text_size(p) and returns: _dtextsizes