We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 300a776 + 9b527bf commit 2587b1cCopy full SHA for 2587b1c
pyrtl/helperfuncs.py
@@ -698,10 +698,10 @@ def _currently_in_jupyter_notebook():
698
def _print_netlist_latex(netlist):
699
""" Print each net in netlist in a Latex array """
700
from IPython.display import display, Latex # pylint: disable=import-error
701
- out = r'\n\\begin{array}{ \| c \| c \| l \| }\n'
702
- out += r'\n\hline\n'
703
- out += r'\\hline\n'.join(str(n) for n in netlist)
704
- out += r'\hline\n\\end{array}\n'
+ out = '\n\\begin{array}{ \\| c \\| c \\| l \\| }\n'
+ out += '\n\\hline\n'
+ out += '\\hline\n'.join(str(n) for n in netlist)
+ out += '\\hline\n\\end{array}\n'
705
display(Latex(out))
706
707
0 commit comments