code: def test_plotter_image_before_show():
      plotter = pv.Plotter()
      with pytest.raises(AttributeError, match="not yet been set up"):
          plotter.image
  
imports: import os
  import numpy
  import pytest
  import vtk
  import pyvista
  from pyvista.core.errors import MissingDataError, PyVistaDeprecationWarning
  from pyvista.plotting import _plotting
  from pyvista.plotting.errors import RenderWindowUnavailable
  from pyvista.plotting.utilities.gl_checks import uses_egl
label_desc: Use image node_id 1 for calling a global function with example usage: test_plotter_image_before_show() without return types