Skip to content

Commit d877207

Browse files
committed
Fix typos in get_tikz_for_tree
1 parent 36f8461 commit d877207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boxtree/visualization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def get_tikz_for_tree(self):
150150
r"\def\boxsize%s{%r}" % (int_to_roman(ibox), eh_0 - el_0) # noqa: UP031
151151
)
152152
lines.append(
153-
r"\dev\boxlevel%s{%r}" % (int_to_roman(ibox), # noqa: UP031
154-
self.tree.box_levels[ibox]))
153+
r"\def\boxlevel%s{%r}" % (int_to_roman(ibox), # noqa: UP031
154+
int(self.tree.box_levels[ibox])))
155155

156156
lines.append(
157157
r"\def\boxpath#1{(boxl#1) rectangle (boxh#1)}")

0 commit comments

Comments
 (0)