changes to html format in realm.py

This commit is contained in:
Dipti
2021-01-22 14:57:03 -08:00
committed by Jed Reynolds
parent fee1a51fa4
commit 85736c769d

View File

@@ -1809,7 +1809,7 @@ class L4CXProfile(LFCliBase):
fig = df.plot().get_figure()
fig.savefig(report_file)
if output_format == 'html':
print('Shivams function')
df.to_html(report_file)
if output_format == 'df':
return df
supported_formats = ['csv', 'json', 'stata', 'pickle']