We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36f8461 commit d877207Copy full SHA for d877207
boxtree/visualization.py
@@ -150,8 +150,8 @@ def get_tikz_for_tree(self):
150
r"\def\boxsize%s{%r}" % (int_to_roman(ibox), eh_0 - el_0) # noqa: UP031
151
)
152
lines.append(
153
- r"\dev\boxlevel%s{%r}" % (int_to_roman(ibox), # noqa: UP031
154
- self.tree.box_levels[ibox]))
+ r"\def\boxlevel%s{%r}" % (int_to_roman(ibox), # noqa: UP031
+ int(self.tree.box_levels[ibox])))
155
156
157
r"\def\boxpath#1{(boxl#1) rectangle (boxh#1)}")
0 commit comments