code: def test_draggable_in_subfigure():
      fig = plt.figure()
      # Put annotation at lower left corner to make it easily pickable below.
      ann = (
          fig.subfigures()
          .add_axes([0, 0, 1, 1])
          .annotate("foo", (0, 0))
      )
      ann.draggable(True)
      fig.canvas.draw()  # Texts are non-pickable until the first draw.
      MouseEvent("button_press_event", fig.canvas, 1, 1)._process()
      assert ann._draggable.got_artist
  
imports: from collections import namedtuple
  import io
  import numpy
  from numpy.testing import assert_allclose
  import pytest
  from matplotlib.testing.decorators import check_figures_equal, image_comparison
  import matplotlib.pyplot
  import matplotlib.patches
  import matplotlib.lines
  from matplotlib.backend_bases import MouseButton, MouseEvent
  from matplotlib.offsetbox import AnchoredOffsetbox, AnnotationBbox, AnchoredText, DrawingArea, HPacker, OffsetBox, OffsetImage, PaddedBox, TextArea, VPacker, _get_packed_offsets
label_desc: Use image node_id 22 for calling a global function with example usage: test_draggable_in_subfigure() without return types