code: def _spacingx(node, max_dims, xoffset, xspace):
      '''Determine the spacing of the current node depending on the number
         of the leaves of the tree
      '''
      x_spacing = _n_terminations(node) * xspace
  
      if x_spacing > max_dims[0]:
          max_dims[0] = x_spacing
  
      return xoffset - x_spacing / 2f _spacingx(node, max_dims, xoffset, xspace):
      '''Determine the spacing of the current node depending on the number
         of the leaves of the tree
      '''
      x_spacing = _n_terminations(node) * xspace
  
      if x_spacing > max_dims[0]:
          max_dims[0] = x_spacing
  
      return xoffset - x_spacing / 2.
docs: Determine the spacing of the current node depending on the number
         of the leaves of the tree