Skip to content

Commit be16d88

Browse files
committed
Add lime on text tutorial; fix bug in display part of highlight_text
1 parent 6b09fe7 commit be16d88

File tree

4 files changed

+14140
-1
lines changed

4 files changed

+14140
-1
lines changed

dianna/visualization/text.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def highlight_text(explanation,
2727
print(output, file=output_html_file)
2828

2929
if show_plot:
30-
display(HTML, output)
30+
display(HTML(output))
3131

3232

3333
def _create_html(original_text, explanation, max_opacity):

0 commit comments

Comments
 (0)