class_docstr: The main purpose of these class is to have auto adjust of axes size
  to the data with different layout of cuts.
class_docstr_tok: ["The","main","purpose","of","these","class","is","to","have","auto","adjust","of","axes","size","to","the","data","with","different","layout","of","cuts","."]
docstr: Plot a 3D map in all the views.
  
  Parameters
  -----------
  map: 3D ndarray
      The 3D map to be plotted. If it is a masked array, only
      the non-masked part will be plotted.
  affine: 4x4 ndarray
      The affine matrix giving the transformation from voxel
      indices to world space.
  threshold : a number, None, or 'auto'
      If None is given, the maps are not thresholded.
      If a number is given, it is used to threshold the maps:
      values below the threshold are plotted as transparent.
  kwargs:
      Extra keyword arguments are passed to imshow.
docstr_tok: ["Plot","a","3D","map","in","all","the","views",".","Parameters","--","--","--","--","--","-","map",":","3D","ndarray","The","3D","map","to","be","plotted",".","If","it","is","a","masked","array",",","only","the","non-masked","part","will","be","plotted",".","affine",":","4x4","ndarray","The","affine","matrix","giving","the","transformation","from","voxel","indices","to","world","space",".","threshold",":","a","number",",","None",",","or","'auto'","If","None","is","given",",","the","maps","are","not","thresholded",".","If","a","number","is","given",",","it","is","used","to","threshold","the","maps",":","values","below","the","threshold","are","plotted","as","transparent",".","kwargs",":","Extra","keyword","arguments","are","passed","to","imshow","."]
code: def plot_map(self, map, affine, threshold=None, **kwargs):
      """Plot a 3D map in all the views.
  
      Parameters
      -----------
      map: 3D ndarray
          The 3D map to be plotted. If it is a masked array, only
          the non-masked part will be plotted.
      affine: 4x4 ndarray
          The affine matrix giving the transformation from voxel
          indices to world space.
      threshold : a number, None, or 'auto'
          If None is given, the maps are not thresholded.
          If a number is given, it is used to threshold the maps:
          values below the threshold are plotted as transparent.
      kwargs:
          Extra keyword arguments are passed to imshow.
      """
      if threshold is not None:
          if threshold == 0:
              map = np.ma.masked_equal(map, 0, copy=False)
          else:
              map = np.ma.masked_inside(
                  map, -threshold, threshold, copy=False
              )
  
      self._map_show(map, affine, type="imshow", **kwargs)
  
imports: import matplotlib
  import matplotlib.pyplot
  import numpy
  from matplotlib import transforms
  from nipy.utils import is_iterable
  from ..datasets import VolumeImg
  from .None import cm
  from .coord_tools import coord_transform, find_cut_coords, get_bounds, get_mask_bounds
  from .edge_detect import _edge_map
label_desc: Use image node_id 5 for calling the BaseSlicer obj's underlying member method code with example usage: obj.plot_map(map, affine, threshold) without return types