_TrameConfig#

class _TrameConfig[source]#

PyVista Trame configuration.

Examples#

Download Python source code | Download Jupyter notebook

Set global trame view parameters.

Attributes#

_TrameConfig.default_mode

Return or set the default mode of the Trame backend.

_TrameConfig.interactive_ratio

Return or set the interactive ratio for PyVista Trame views.

_TrameConfig.jupyter_extension_available

Return whether the trame_jupyter_extension is detected.

_TrameConfig.jupyter_extension_enabled

Return or set whether to communicate with clients via trame_jupyter_extension.

_TrameConfig.jupyter_server_name

Return or set the trame server name PyVista uses in Jupyter.

_TrameConfig.jupyter_server_port

Return or set the port for the Trame Jupyter server.

_TrameConfig.server_proxy_enabled

Return or set if use of relative URLs is enabled for the Jupyter interface.

_TrameConfig.server_proxy_prefix

Return or set URL prefix when using relative URLs with the Jupyter interface.

_TrameConfig.still_ratio

Return or set the still ratio for PyVista Trame views.

Inherited Methods#

_ConfigBase.from_dict

Create an instance from a dictionary of attribute values.

_ConfigBase.to_dict

Return config parameters as a dictionary.