Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jpn--/larch
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed Feb 9, 2017
2 parents 6e2418c + 1c12f20 commit a5c036e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions py/model_reporter/art.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,10 @@ def xml(self, table_attrib=None, headlevel=2):
def _repr_html_(self):
return self.__xml__().tostring().decode()

def to_html(self, filename, **kwargs):
with XHTML(filename, **kwargs) as f:
f << self.__xml__()

def to_xlsx(self, workbook, worksheet_name=None, r_top=0, c_left=0,
freeze_panes=True, hide_gridlines=True,
metahead=None, buffercol=True):
Expand Down

0 comments on commit a5c036e

Please sign in to comment.