code: def _elementary_basis_vector(axis):
      b = np.zeros(3)
      b[_AXIS_TO_IND[axis]] = 1
      return b
  
imports: from __future__ import division, print_function, absolute_import
  import re
  import warnings
  import numpy
  import scipy.linalg
  from scipy._lib._util import check_random_state
label_desc: Use image node_id 1 for calling a global function with example usage: _elementary_basis_vector(axis) and returns: b