Support all Table options

This commit is contained in:
Oleksii Shevchuk 2018-09-21 22:56:50 +03:00
parent e6a5665f73
commit 736660110d
1 changed files with 2 additions and 2 deletions

View File

@ -533,8 +533,8 @@ class PupyModule(object):
def newline(self, lines=1): def newline(self, lines=1):
self._message(NewLine(lines)) self._message(NewLine(lines))
def table(self, data, header=None, caption=None, truncate=False): def table(self, data, header=None, caption=None, truncate=False, legend=True, vspace=0):
data = Table(data, header, caption) data = Table(data, header, caption, legend, vspace)
if truncate: if truncate:
data = TruncateToTerm(data) data = TruncateToTerm(data)
self._message(data) self._message(data)