Show Options#
VerticesShowOption#
vedo#
c
Color in {rgb, RGB, str of (hex, name), int}
allowed types: ( str, tuple, list, int)
alpha
Transparency in range [0, 1].
allowed types: ( float, int)
data_name
Name of vertex_data to show. Object must have vertex_data with the same name.
allowed types: ( str,)
vertex_ids
Show ids of vertices
allowed types: ( bool,)
element_ids
Show ids of elements
allowed types: ( bool,)
lighting
Lighting options {‘default’, ‘metallic’, ‘plastic’, ‘shiny’, ‘glossy’, ‘ambient’, ‘off’}
allowed types: ( str,)
cmap
Colormap for vertex_data plots.
allowed types: ( str,)
vmin
Minimum value for cmap
allowed types: ( float, int)
vmax
Maximum value for cmap
allowed types: ( float, int)
cmap_alpha
Colormap Transparency in range [0, 1].
allowed types: ( float, int)
scalarbar
Scalarbar describing cmap. At least an empty dict or dict with following items are accepted: {title: str, pos: tuple, title_yoffset: int, font_size: int, nlabels: int, c: str, horizontal: bool, use_alpha: bool, label_format: str}. Setting bool will add a default scalarbar
allowed types: ( bool, dict)
scalarbar3d
3D scalarbar describing cmap. At least an empty dict or dict with following items are accepted: {title: str, pos: tuple, size: list, title_font: str, title_xoffset: float, title_yoffset: float, title_size: float, title_rotation: float, nlabels: int, label_font:str, label_size: float, label_offset: float, label_rotation: int, label_format: str, draw_box: bool, above_text: str, below_text: str, nan_text: str, categories: list}
allowed types: ( bool, dict)
arrow_data
Name of vertex_data to plot as arrow. Corresponding data should be at least 2D. If you want more control over arrows, consider creating edges using gus.create.edges.from_data().
allowed types: ( str,)
arrow_data_scale
Scaling factor for arrow data.
allowed types: ( float, int)
arrow_data_color
Color for arrow data. Can be either cmap name or color. For cmap, colors are based on the size of the arrows.
allowed types: ( str, tuple, list, int)
axes
Configure a specific axes with options. Expect dict(), but setting True will set a default axes. For full options, see https://vedo.embl.es/autodocs/content/vedo/addons.html#vedo.addons.Axes
allowed types: ( bool, dict)
r
Radius of vertices in units of pixels.
allowed types: ( int,)
labels
Places a label/description str at the place of vertices.
allowed types: ( numpy.ndarray, tuple, list)
label_options
Label kwargs to be passed during initialization.Valid keywords are: {scale: float, xrot: float, yrot: float, zrot: float, ratio: float, precision: int, italic: bool, font: str, justify: str, c: (str, tuple, list, int), alpha: float}. As further hint, justify takes ‘-’ joined combination of {center, mid, right, left, top, bottom}.
allowed types: ( dict,)
EdgesShowOption#
vedo#
c
Color in {rgb, RGB, str of (hex, name), int}
allowed types: ( str, tuple, list, int)
alpha
Transparency in range [0, 1].
allowed types: ( float, int)
data_name
Name of vertex_data to show. Object must have vertex_data with the same name.
allowed types: ( str,)
vertex_ids
Show ids of vertices
allowed types: ( bool,)
element_ids
Show ids of elements
allowed types: ( bool,)
lighting
Lighting options {‘default’, ‘metallic’, ‘plastic’, ‘shiny’, ‘glossy’, ‘ambient’, ‘off’}
allowed types: ( str,)
cmap
Colormap for vertex_data plots.
allowed types: ( str,)
vmin
Minimum value for cmap
allowed types: ( float, int)
vmax
Maximum value for cmap
allowed types: ( float, int)
cmap_alpha
Colormap Transparency in range [0, 1].
allowed types: ( float, int)
scalarbar
Scalarbar describing cmap. At least an empty dict or dict with following items are accepted: {title: str, pos: tuple, title_yoffset: int, font_size: int, nlabels: int, c: str, horizontal: bool, use_alpha: bool, label_format: str}. Setting bool will add a default scalarbar
allowed types: ( bool, dict)
scalarbar3d
3D scalarbar describing cmap. At least an empty dict or dict with following items are accepted: {title: str, pos: tuple, size: list, title_font: str, title_xoffset: float, title_yoffset: float, title_size: float, title_rotation: float, nlabels: int, label_font:str, label_size: float, label_offset: float, label_rotation: int, label_format: str, draw_box: bool, above_text: str, below_text: str, nan_text: str, categories: list}
allowed types: ( bool, dict)
arrow_data
Name of vertex_data to plot as arrow. Corresponding data should be at least 2D. If you want more control over arrows, consider creating edges using gus.create.edges.from_data().
allowed types: ( str,)
arrow_data_scale
Scaling factor for arrow data.
allowed types: ( float, int)
arrow_data_color
Color for arrow data. Can be either cmap name or color. For cmap, colors are based on the size of the arrows.
allowed types: ( str, tuple, list, int)
axes
Configure a specific axes with options. Expect dict(), but setting True will set a default axes. For full options, see https://vedo.embl.es/autodocs/content/vedo/addons.html#vedo.addons.Axes
allowed types: ( bool, dict)
lw
Width of edges (lines) in pixel units.
allowed types: ( int,)
as_arrows
Show edges as arrows.
allowed types: ( bool,)
head_radius
Radius of arrow head. Applicable if as_arrows is True
allowed types: ( float, int)
head_length
Length of arrow head. Applicable if as_arrows is True
allowed types: ( float, int)
shaft_radius
Radius of arrow shaft. Applicable if as_arrows is True
allowed types: ( float, int)
FacesShowOption#
vedo#
c
Color in {rgb, RGB, str of (hex, name), int}
allowed types: ( str, tuple, list, int)
alpha
Transparency in range [0, 1].
allowed types: ( float, int)
data_name
Name of vertex_data to show. Object must have vertex_data with the same name.
allowed types: ( str,)
vertex_ids
Show ids of vertices
allowed types: ( bool,)
element_ids
Show ids of elements
allowed types: ( bool,)
lighting
Lighting options {‘default’, ‘metallic’, ‘plastic’, ‘shiny’, ‘glossy’, ‘ambient’, ‘off’}
allowed types: ( str,)
cmap
Colormap for vertex_data plots.
allowed types: ( str,)
vmin
Minimum value for cmap
allowed types: ( float, int)
vmax
Maximum value for cmap
allowed types: ( float, int)
cmap_alpha
Colormap Transparency in range [0, 1].
allowed types: ( float, int)
scalarbar
Scalarbar describing cmap. At least an empty dict or dict with following items are accepted: {title: str, pos: tuple, title_yoffset: int, font_size: int, nlabels: int, c: str, horizontal: bool, use_alpha: bool, label_format: str}. Setting bool will add a default scalarbar
allowed types: ( bool, dict)
scalarbar3d
3D scalarbar describing cmap. At least an empty dict or dict with following items are accepted: {title: str, pos: tuple, size: list, title_font: str, title_xoffset: float, title_yoffset: float, title_size: float, title_rotation: float, nlabels: int, label_font:str, label_size: float, label_offset: float, label_rotation: int, label_format: str, draw_box: bool, above_text: str, below_text: str, nan_text: str, categories: list}
allowed types: ( bool, dict)
arrow_data
Name of vertex_data to plot as arrow. Corresponding data should be at least 2D. If you want more control over arrows, consider creating edges using gus.create.edges.from_data().
allowed types: ( str,)
arrow_data_scale
Scaling factor for arrow data.
allowed types: ( float, int)
arrow_data_color
Color for arrow data. Can be either cmap name or color. For cmap, colors are based on the size of the arrows.
allowed types: ( str, tuple, list, int)
axes
Configure a specific axes with options. Expect dict(), but setting True will set a default axes. For full options, see https://vedo.embl.es/autodocs/content/vedo/addons.html#vedo.addons.Axes
allowed types: ( bool, dict)
lw
Width of edges (lines) in pixel units.
allowed types: ( int,)
lc
Color of edges (lines).
allowed types: ( int, str, tuple, list)
texture
Texture of faces in array, vedo.Picture, vtk.vtkTexture, or path to an image.
allowed types: ( numpy.ndarray, tuple, list, str, <gustaf.helpers.raise_if.ModuleImportRaiser object at 0x7f6f6ea85e80, <gustaf.helpers.raise_if.ModuleImportRaiser object at 0x7f6f6ea85220)
VolumesShowOption#
vedo#
c
Color in {rgb, RGB, str of (hex, name), int}
allowed types: ( str, tuple, list, int)
alpha
Transparency in range [0, 1].
allowed types: ( float, int)
data_name
Name of vertex_data to show. Object must have vertex_data with the same name.
allowed types: ( str,)
vertex_ids
Show ids of vertices
allowed types: ( bool,)
element_ids
Show ids of elements
allowed types: ( bool,)
lighting
Lighting options {‘default’, ‘metallic’, ‘plastic’, ‘shiny’, ‘glossy’, ‘ambient’, ‘off’}
allowed types: ( str,)
cmap
Colormap for vertex_data plots.
allowed types: ( str,)
vmin
Minimum value for cmap
allowed types: ( float, int)
vmax
Maximum value for cmap
allowed types: ( float, int)
cmap_alpha
Colormap Transparency in range [0, 1].
allowed types: ( float, int)
scalarbar
Scalarbar describing cmap. At least an empty dict or dict with following items are accepted: {title: str, pos: tuple, title_yoffset: int, font_size: int, nlabels: int, c: str, horizontal: bool, use_alpha: bool, label_format: str}. Setting bool will add a default scalarbar
allowed types: ( bool, dict)
scalarbar3d
3D scalarbar describing cmap. At least an empty dict or dict with following items are accepted: {title: str, pos: tuple, size: list, title_font: str, title_xoffset: float, title_yoffset: float, title_size: float, title_rotation: float, nlabels: int, label_font:str, label_size: float, label_offset: float, label_rotation: int, label_format: str, draw_box: bool, above_text: str, below_text: str, nan_text: str, categories: list}
allowed types: ( bool, dict)
arrow_data
Name of vertex_data to plot as arrow. Corresponding data should be at least 2D. If you want more control over arrows, consider creating edges using gus.create.edges.from_data().
allowed types: ( str,)
arrow_data_scale
Scaling factor for arrow data.
allowed types: ( float, int)
arrow_data_color
Color for arrow data. Can be either cmap name or color. For cmap, colors are based on the size of the arrows.
allowed types: ( str, tuple, list, int)
axes
Configure a specific axes with options. Expect dict(), but setting True will set a default axes. For full options, see https://vedo.embl.es/autodocs/content/vedo/addons.html#vedo.addons.Axes
allowed types: ( bool, dict)
lw
Width of edges (lines) in pixel units.
allowed types: ( int,)
lc
Color of edges (lines).
allowed types: ( int, str, tuple, list)