code: def test_textarea_set_text(fig_test, fig_ref):
      ax_ref = fig_ref.add_subplot()
      text0 = AnchoredText("Foo", "upper left")
      ax_ref.add_artist(text0)
  
      ax_test = fig_test.add_subplot()
      text1 = AnchoredText("Bar", "upper left")
      ax_test.add_artist(text1)
      text1.txt.set_text("Foo")
  
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 19 for calling a global function with example usage: test_textarea_set_text(fig_test, fig_ref) without return types