code: def test_trame_closed_plotter():
      pl = pv.Plotter(notebook=True)
      pl.add_mesh(pv.Cone())
      pl.close()
      with pytest.raises(
          RuntimeError,
          match="The render window for this plotter has been destroyed",
      ):
          PyVistaRemoteLocalView(pl)
  
imports: import os
  from IPython.display import IFrame
  import numpy
  import pytest
  import pyvista
  from pyvista import examples
label_desc: Use image node_id 8 for calling a global function with example usage: test_trame_closed_plotter() without return types