code: def _get_default_xrange(xlim, n):
      default_xlim = [0.0, 1.0]
      default_size = 512
  
      start, stop = xlim if xlim is not None else default_xlim
      size = n if n is not None else default_size
  
      return _linspace(start, stop, size)
  
imports: from .core import aes
  from .geom import _geom
label_desc: Use image node_id 2 for calling a global function with example usage: _get_default_xrange(xlim, n) and returns: _linspace