scistag.vislog.visual_table_logger.VisualLogTableContext

class VisualLogTableContext(builder)[source]

Bases: VisualLogElementContext

Automatically adds the beginning and ending of a table to the log

Parameters

builder (VisualLogBuilder) – The builder object with which we write to the log

Methods

add_row

Adds a new row context to the table.

close

Can be called to explicitly finish the current element

Attributes

__dict__

__doc__

__module__

__weakref__

list of weak references to the object (if defined)

add_row(content=None)[source]

Adds a new row context to the table.

Return type

Union[‘VisualLogRowContext’, None]

Returns

The row context object

close()

Can be called to explicitly finish the current element