class_docstr: An MPL axis-like object that displays a cut of 3D volumes
      
class_docstr_tok: ["An","MPL","axis-like","object","that","displays","a","cut","of","3D","volumes"]
code: def draw_position(self, size, bg_color, **kwargs):
      ax = self.ax
      ax.text(
          0,
          0,
          "%s=%i" % (self.direction, self.coord),
          transform=ax.transAxes,
          horizontalalignment="left",
          verticalalignment="bottom",
          size=size,
          bbox={
              "boxstyle": "square,pad=0",
              "ec": bg_color,
              "fc": bg_color,
              "alpha": 1,
          },
          **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 6 for calling the CutAxes obj's underlying member method code with example usage: obj.draw_position(size, bg_color) without return types