add_table#
- AnsysReport.add_table(title, content, formatting=None, col_widths=None)#
Add a new table from a list of data. Data shall be a list of list where every line is either a row or a column.
- Parameters:
- title
str
Table title.
- content
list
of
list
Table content.
- formatting
list
,optional
List of formatting elements for the table rows. The length of the formatting has to be equal to the length of content. Every element is a list of two elements (color, background_color). Color is a RGB list.
- col_widths
list
,optional
List of column widths.
- title