_TrameConfig#
Examples#
Download Python source code | Download Jupyter notebook
Set global trame view parameters.
>>> import pyvista as pv
>>> pv.global_theme.trame.interactive_ratio = 2
>>> pv.global_theme.trame.still_ratio = 2
Attributes#
Return or set the default mode of the Trame backend. |
|
Return or set the interactive ratio for PyVista Trame views. |
|
Return whether the |
|
Return or set whether to communicate with clients via |
|
Return or set the trame server name PyVista uses in Jupyter. |
|
Return or set the port for the Trame Jupyter server. |
|
Return or set if use of relative URLs is enabled for the Jupyter interface. |
|
Return or set URL prefix when using relative URLs with the Jupyter interface. |
|
Return or set the still ratio for PyVista Trame views. |
Inherited Methods#
Create an instance from a dictionary of attribute values. |
|
Return config parameters as a dictionary. |