class_docstr: PyVista wrapping of trame ``VtkRemoteView`` for server rendering.
  
  This will connect to a PyVista plotter and stream the server-side
  renderings.
  
  Parameters
  ----------
  plotter : pyvista.Plotter
      The PyVista Plotter to display in the output view.
  
  interactive_ratio : int, optional
      Image size scale factor while interacting. Increasing this
      value will give higher resulotuion images during interaction
      events at the cost of performance. Use lower values (e.g.,
      ``0.5``) to increase performance while interacting.
      Defaults to 1.
  
  still_ratio : int, optional
      Image size scale factor while not interacting (still).
      Increasing this value will give higher resulotuion images
      when not interacting with the scene. Defaults to 1.
  
  namespace : str, optional
      The namespace for this view component. A default value is
      chosen based on the ``_id_name`` of the plotter.
  
  **kwargs : dict, optional
      Any additional keyword arguments to pass to
      ``trame.widgets.vtk.VtkRemoteView``.
  
  Notes
  -----
  For optimal rendering results, you may want to have the same
  value for ``interactive_ratio`` and ``still_ratio`` so that
  the entire rendering is not re-scaled between interaction events.
docstr: Create a trame remote view from a PyVista Plotter.
docstr_tok: ["Create","a","trame","remote","view","from","a","PyVista","Plotter","."]
code: def __init__(
      self,
      plotter,
      interactive_ratio=None,
      still_ratio=None,
      namespace=None,
      **kwargs,
  ):  # numpydoc ignore=PR01,RT01
      """Create a trame remote view from a PyVista Plotter."""
      _BasePyVistaView.__init__(self, plotter)
      if namespace is None:
          namespace = f"{plotter._id_name}"
      if interactive_ratio is None:
          interactive_ratio = plotter._theme.trame.interactive_ratio
      if still_ratio is None:
          still_ratio = plotter._theme.trame.still_ratio
      VtkRemoteView.__init__(
          self,
          self._plotter().render_window,
          interactive_ratio=interactive_ratio,
          still_ratio=still_ratio,
          __properties=[("still_ratio", "stillRatio")],
          ref=f"view_{plotter._id_name}",
          namespace=namespace,
          **kwargs,
      )
      self._post_initialize()
  
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 1 to create a new PyVistaRemoteView object from inherited base classes: VtkRemoteView, _BasePyVistaView with example: obj = PyVistaRemoteView(plotter, interactive_ratio, still_ratio, namespace)