code: def update_lim(self, axes):
      self.grid_helper.update_lim(axes)
  
      x1, x2 = axes.get_xlim()
      y1, y2 = axes.get_ylim()
      grid_finder = self.grid_helper.grid_finder
      extremes = grid_finder.extreme_finder(
          grid_finder.inv_transform_xy, x1, y1, x2, y2
      )
  
      extremes = list(extremes)
      e1, e2 = self._extremes  # ranges of other coordinates
      if self.nth_coord == 0:
          if e1 is not None:
              extremes[2] = max(e1, extremes[2])
          if e2 is not None:
              extremes[3] = min(e2, extremes[3])
      elif self.nth_coord == 1:
          if e1 is not None:
              extremes[0] = max(e1, extremes[0])
          if e2 is not None:
              extremes[1] = min(e2, extremes[1])
  
      grid_info = dict()
      lon_min, lon_max, lat_min, lat_max = extremes
      lon_levs, lon_n, lon_factor = grid_finder.grid_locator1(
          lon_min, lon_max
      )
      lat_levs, lat_n, lat_factor = grid_finder.grid_locator2(
          lat_min, lat_max
      )
      grid_info["extremes"] = extremes
  
      grid_info["lon_info"] = lon_levs, lon_n, lon_factor
      grid_info["lat_info"] = lat_levs, lat_n, lat_factor
  
      grid_info["lon_labels"] = grid_finder.tick_formatter1(
          "bottom", lon_factor, lon_levs
      )
  
      grid_info["lat_labels"] = grid_finder.tick_formatter2(
          "bottom", lat_factor, lat_levs
      )
  
      grid_finder = self.grid_helper.grid_finder
  
      # e1, e2 = self._extremes # ranges of other coordinates
      if self.nth_coord == 0:
          xx0 = np.linspace(
              self.value, self.value, self._line_num_points
          )
          yy0 = np.linspace(
              extremes[2], extremes[3], self._line_num_points
          )
          xx, yy = grid_finder.transform_xy(xx0, yy0)
      elif self.nth_coord == 1:
          xx0 = np.linspace(
              extremes[0], extremes[1], self._line_num_points
          )
          yy0 = np.linspace(
              self.value, self.value, self._line_num_points
          )
          xx, yy = grid_finder.transform_xy(xx0, yy0)
  
      grid_info["line_xy"] = xx, yy
      self.grid_info = grid_info
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  from six.moves import zip
  from itertools import chain
  from .grid_finder import GridFinder
  from .axislines import AxisArtistHelper, GridHelperBase
  from .axis_artist import AxisArtist
  from matplotlib.transforms import Affine2D, IdentityTransform
  import numpy
  from matplotlib.path import Path
label_desc: Use image node_id 3 for calling the FloatingAxisArtistHelper obj's underlying member method code with example usage: obj.update_lim(axes) without return types