code: def pyvista_initialize(self):
      if self._plotter().render_window is None:
          raise RuntimeError(CLOSED_PLOTTER_ERROR)
      for renderer in self._plotter().renderers:
          if not renderer.camera.is_set:
              renderer.camera_position = renderer.get_default_cam_pos()
              renderer.ResetCamera()
  
imports: import io
  import weakref
  from trame.app import get_server
  from trame.widgets.vtk import VtkLocalView, VtkRemoteLocalView, VtkRemoteView
  from trame_vtk.tools.vtksz2html import write_html
label_desc: Use image node_id 2 for calling the _BasePyVistaView obj's underlying member method code with example usage: obj.pyvista_initialize() without return types