docstr: transform : transform from the image coordinate (which will be
  the transData of the axes to the world coordinate.
  
  or transform = (transform_xy, inv_transform_xy)
  
  locator1, locator2 : grid locator for 1st and 2nd axis.
docstr_tok: ["transform",":","transform","from","the","image","coordinate","(","which","will","be","the","transData","of","the","axes","to","the","world","coordinate",".","or","transform","=","(","transform_xy",",","inv_transform_xy",")","locator1",",","locator2",":","grid","locator","for","1st","and","2nd","axis","."]
code: def __init__(
      self,
      transform,
      extreme_finder=None,
      grid_locator1=None,
      grid_locator2=None,
      tick_formatter1=None,
      tick_formatter2=None,
  ):
      """
      transform : transform from the image coordinate (which will be
      the transData of the axes to the world coordinate.
  
      or transform = (transform_xy, inv_transform_xy)
  
      locator1, locator2 : grid locator for 1st and 2nd axis.
      """
      if extreme_finder is None:
          extreme_finder = ExtremeFinderSimple(20, 20)
      if grid_locator1 is None:
          grid_locator1 = MaxNLocator()
      if grid_locator2 is None:
          grid_locator2 = MaxNLocator()
      if tick_formatter1 is None:
          tick_formatter1 = FormatterPrettyPrint()
      if tick_formatter2 is None:
          tick_formatter2 = FormatterPrettyPrint()
      super(GridFinder, self).__init__(
          extreme_finder,
          grid_locator1,
          grid_locator2,
          tick_formatter1,
          tick_formatter2,
      )
      self.update_transform(transform)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import numpy
  from matplotlib.transforms import Bbox
  from .None import clip_path
  import matplotlib.ticker
  from matplotlib.transforms import Transform
label_desc: Use image node_id 1 to create a new GridFinder object from inherited base classes: GridFinderBase with example: obj = GridFinder(transform, extreme_finder, grid_locator1, grid_locator2, tick_formatter1, tick_formatter2)