plopp.graphics.imagefigure#
- plopp.graphics.imagefigure(*args, **kwargs)[source]#
Create a figure to represent two-dimensional data from one or more graph node(s). :rtype:
FigureLike
New in version 24.04.0.
Examples
Create an input node and attach an
imagefigure
as a view:>>> da = pp.data.data2d() >>> in_node = pp.Node(da) >>> fig = pp.imagefigure(in_node)
With a customization argument to make the color scale logarithmic:
>>> da = pp.data.data2d() >>> in_node = pp.Node(da) >>> fig = pp.imagefigure(in_node, norm='log')