code: def test_multiline_eqnarray():
      text = (
          r"\begin{eqnarray*}"
          r"foo\\"
          r"bar\\"
          r"baz\\"
          r"\end{eqnarray*}"
      )
  
      fig = plt.figure(figsize=(1, 1))
      fig.text(
          0.5,
          0.5,
          text,
          usetex=True,
          horizontalalignment="center",
          verticalalignment="center",
      )
  
imports: from tempfile import TemporaryFile
  import numpy
  from packaging.version import parse
  import pytest
  import matplotlib
  from matplotlib import dviread
  from matplotlib.testing import _has_tex_package
  from matplotlib.testing.decorators import check_figures_equal, image_comparison
  from matplotlib.testing._markers import needs_usetex
  import matplotlib.pyplot
label_desc: Use image node_id 5 for calling a global function with example usage: test_multiline_eqnarray() without return types