plopp.graphics.figure3d#
- plopp.graphics.figure3d(*args, style='scatter', **kwargs)[source]#
Create a figure to represent three-dimensional data from a graph node. By default, this will return a figure built from
FigScatter3d
(see the documentation of this class for a list of available customization arguments).Deprecated since version v24.04.0.
- Parameters:
style (
Literal
['scatter'
], default:'scatter'
) – The type of figure to create.
Examples
Create an input node and attach a figure3d as a view:
>>> da = pp.data.scatter() >>> in_node = pp.Node(da) >>> fig = pp.figure3d(in_node)
With a customization argument to make the color scale logarithmic:
>>> da = pp.data.scatter() >>> in_node = pp.Node(da) >>> fig = pp.figure3d(in_node, norm='log')