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: Create 3 linked axes for plotting orthogonal cuts.
  
  Parameters
  ----------
  cut_coords: 3 tuple of ints
      The cut position, in world space.
  axes: matplotlib axes object, optional
      The axes that will be subdivided in 3.
  black_bg: boolean, optional
      If True, the background of the figure will be put to
      black. If you wish to save figures with a black background,
      you will need to pass "facecolor='k', edgecolor='k'" to
      pyplot's savefig.
docstr_tok: ["Create","3","linked","axes","for","plotting","orthogonal","cuts",".","Parameters","--","--","--","--","--","cut_coords",":","3","tuple","of","ints","The","cut","position",",","in","world","space",".","axes",":","matplotlib","axes","object",",","optional","The","axes","that","will","be","subdivided","in","3.","black_bg",":","boolean",",","optional","If","True",",","the","background","of","the","figure","will","be","put","to","black",".","If","you","wish","to","save","figures","with","a","black","background",",","you","will","need","to","pass","``","facecolor=","'","k","'",",","edgecolor=","'","k","'","''","to","pyplot","'s","savefig","."]
code: def __init__(self, cut_coords, axes=None, black_bg=False):
      """Create 3 linked axes for plotting orthogonal cuts.
  
      Parameters
      ----------
      cut_coords: 3 tuple of ints
          The cut position, in world space.
      axes: matplotlib axes object, optional
          The axes that will be subdivided in 3.
      black_bg: boolean, optional
          If True, the background of the figure will be put to
          black. If you wish to save figures with a black background,
          you will need to pass "facecolor='k', edgecolor='k'" to
          pyplot's savefig.
  
      """
      self._cut_coords = cut_coords
      if axes is None:
          axes = plt.axes((0.0, 0.0, 1.0, 1.0))
          axes.axis("off")
      self.frame_axes = axes
      axes.set_zorder(1)
      bb = axes.get_position()
      self.rect = (bb.x0, bb.y0, bb.x1, bb.y1)
      self._black_bg = black_bg
      self._init_axes()
  
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 1 to create a new BaseSlicer object  with example: obj = BaseSlicer(cut_coords, axes, black_bg)