class_docstr: A grid of Axes.
  
  In Matplotlib, the Axes location (and size) is specified in normalized
  figure coordinates. This may not be ideal for images that needs to be
  displayed with a given aspect ratio; for example, it is difficult to
  display multiple images of a same size with some fixed padding between
  them.  AxesGrid can be used in such case.
class_docstr_tok: ["A","grid","of","Axes",".","In","Matplotlib",",","the","Axes","location","(","and","size",")","is","specified","in","normalized","figure","coordinates",".","This","may","not","be","ideal","for","images","that","needs","to","be","displayed","with","a","given","aspect","ratio",";","for","example",",","it","is","difficult","to","display","multiple","images","of","a","same","size","with","some","fixed","padding","between","them",".","AxesGrid","can","be","used","in","such","case","."]
code: def _get_col_row(self, n):
      if self._direction == "column":
          col, row = divmod(n, self._nrows)
      else:
          row, col = divmod(n, self._ncols)
  
      return col, row
  
imports: from numbers import Number
  import functools
  from types import MethodType
  import numpy
  from matplotlib import _api, cbook
  from matplotlib.gridspec import SubplotSpec
  from .axes_divider import Size, SubplotDivider, Divider
  from .mpl_axes import Axes, SimpleAxisArtist
label_desc: Use image node_id 3 for calling the Grid obj's underlying member method code with example usage: obj._get_col_row(n) and returns: col,  row