gerg_plotting.plotting_classes.plotter_3d#

Module Contents#

class gerg_plotting.plotting_classes.plotter_3d.Plotter3D#
add_colorbar(**kwargs)#
bathy: gerg_plotting.data_classes.bathy.Bathy#
abstract close()#
convert_colormap(colormap, over_color=None, under_color=None) numpy.ndarray#

Convert colormap to uint8 color array.

Parameters#

colormapCallable

Function generating colors (matplotlib colormap)

over_colortuple, optional

Color for highest value

under_colortuple, optional

Color for lowest value

Returns#

np.ndarray

Array of RGBA colors scaled to 0-255

data: gerg_plotting.data_classes.data.Data#
export_html(filename)#
figsize: tuple#
get_vars() list#

Get list of object attributes.

Returns#

list

List of attribute names

init_figure()#
plotter: pyvista.Plotter#
abstract save(filename, **kwargs)#
show(**kwargs)#