code: def test_draw_mpl_supports_qfuncs():
      """Test that draw_mpl works with non-QNode quantum functions."""
  
      def qfunc(x):
          qml.RX(x, 0)
  
      fig, ax = qml.draw_mpl(qfunc)(1.1)
  
      assert isinstance(fig, mpl.figure.Figure)
      assert isinstance(
          ax, mpl.axes._axes.Axes
      )  # pylint:disable=protected-access
      assert len(ax.patches) == 1
      assert len(ax.lines) == 1
      assert len(ax.texts) == 2
      assert ax.texts[0].get_text() == "0"
      assert ax.texts[1].get_text() == "RX"
      plt.close()
  
imports: import pytest
  import pennylane
label_desc: Use image node_id 6 for calling a global function with example usage: test_draw_mpl_supports_qfuncs() without return types