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
      )
  
      lon_min, lon_max, lat_min, lat_max = extremes
      e_min, e_max = self._extremes  # ranges of other coordinates
      if self.nth_coord == 0:
          lat_min = max(e_min, lat_min)
          lat_max = min(e_max, lat_max)
      elif self.nth_coord == 1:
          lon_min = max(e_min, lon_min)
          lon_max = min(e_max, lon_max)
  
      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
      )
  
      if self.nth_coord == 0:
          xx0 = np.full(self._line_num_points, self.value)
          yy0 = np.linspace(lat_min, lat_max, self._line_num_points)
          xx, yy = grid_finder.transform_xy(xx0, yy0)
      elif self.nth_coord == 1:
          xx0 = np.linspace(lon_min, lon_max, self._line_num_points)
          yy0 = np.full(self._line_num_points, self.value)
          xx, yy = grid_finder.transform_xy(xx0, yy0)
  
      self._grid_info = {
          "extremes": (lon_min, lon_max, lat_min, lat_max),
          "lon_info": (lon_levs, lon_n, np.asarray(lon_factor)),
          "lat_info": (lat_levs, lat_n, np.asarray(lat_factor)),
          "lon_labels": grid_finder._format_ticks(
              1, "bottom", lon_factor, lon_levs
          ),
          "lat_labels": grid_finder._format_ticks(
              2, "bottom", lat_factor, lat_levs
          ),
          "line_xy": (xx, yy),
      }
  
imports: import functools
  import numpy
  import matplotlib
  from matplotlib import _api
  from matplotlib.path import Path
  from matplotlib.transforms import Affine2D, IdentityTransform
  from .axislines import _FixedAxisArtistHelperBase, _FloatingAxisArtistHelperBase, GridHelperBase
  from .axis_artist import AxisArtist
  from .grid_finder import GridFinder
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