code: def bbox_in_axes_space(
      artist: Artist, ax: Axes, renderer: RendererBase
  ) -> Bbox:
      """
      Bounding box of artist in figure coordinates
      """
      box = artist.get_window_extent(renderer) or ZEROS_BBOX
      return ax.transAxes.inverted().transform_bbox(box)
  
imports: from __future__ import annotations
  import typing
  from .transforms import ZEROS_BBOX
label_desc: Use image node_id 3 for calling a global function with example usage: bbox_in_axes_space(artist, ax, renderer) and returns: ax