code: def test_trame_jupyter_modes():
      pv.set_jupyter_backend("trame")
  
      pl = pv.Plotter(notebook=True)
      pl.add_mesh(pv.Cone())
      widget = pl.show(jupyter_backend="server", return_viewer=True)
      assert isinstance(widget, Widget)
      assert not pl.suppress_rendering
      assert not pl._closed
  
      pl = pv.Plotter(notebook=True)
      pl.add_mesh(pv.Cone())
      widget = pl.show(jupyter_backend="trame", return_viewer=True)
      assert isinstance(widget, Widget)
      assert not pl.suppress_rendering
      assert not pl._closed
  
      pl = pv.Plotter(notebook=True)
      pl.add_mesh(pv.Cone())
      widget = pl.show(jupyter_backend="client", return_viewer=True)
      assert isinstance(widget, Widget)
      assert pl.suppress_rendering
      assert not pl._closed
  
imports: import os
  from IPython.display import IFrame
  import numpy
  import pytest
  import pyvista
  from pyvista import examples
label_desc: Use image node_id 7 for calling a global function with example usage: test_trame_jupyter_modes() without return types