larray.ReportSheet.set_item_default_size
- ReportSheet.set_item_default_size(kind, width=None, height=None)
Override the default ‘width’ and ‘height’ values for the given kind of item.
A new value must be provided at least for ‘width’ or ‘height’.
- Parameters
- kindstr
kind of item for which default values of ‘width’ and/or ‘height’ are modified. Currently available kinds are ‘title’ and ‘graph’.
- widthint, optional
new default width value.
- heightint, optional
new default height value.
Examples
>>> report = ExcelReport() >>> report.set_item_default_size('graph', width=450, height=250)