code: def xyz2rgb(xyz):
      """XYZ to RGB color space conversion.
      Parameters
      ----------
      xyz : array_like
          The image in XYZ format, in a 3-D array of shape ``(.., .., 3)``.
      Returns
      -------
      out : ndarray
          The image in RGB format, in a 3-D array of shape ``(.., .., 3)``.
      Raises
      ------
      ValueError
          If `xyz` is not a 3-D array of shape ``(.., .., 3)``.
      Notes
      -----
      The CIE XYZ color space is derived from the CIE RGB color space. Note
      however that this function converts to sRGB.
      References
      ----------
      .. [1] https://en.wikipedia.org/wiki/CIE_1931_color_space
      Examples
      --------
      >>> from skimage import data
      >>> from skimage.color import rgb2xyz, xyz2rgb
      >>> img = data.astronaut()
      >>> img_xyz = rgb2xyz(img)
      >>> img_rgb = xyz2rgb(img_xyz)
      """
      # Follow the algorithm from http://www.easyrgb.com/index.php
      # except we don't multiply/divide by 100 in the conversion
      arr = _convert(rgb_from_xyz, xyz)
      mask = arr > 0.0031308
      arr[mask] = 1.055 * np.power(arr[mask], 1 / 2.4) - 0.055
      arr[~mask] *= 12.92
      np.clip(arr, 0, 1, out=arr)
      return arr
  
imports: import numpy
  from scipy import linalg
  from warnings import warn
label_desc: Use image node_id 10 for calling a global function with example usage: xyz2rgb(xyz) and returns: arr