Skip to content

Commit

Permalink
Fix conversion to string.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Nov 2, 2024
1 parent e1e832a commit 84f60bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v7/latex/latex/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def recombine_as_text(self, reescape=True):

def __str__(self):
"""Generate textual representation."""
return "TikzPicture(" + self.args + "; " + repr(self.formula) + ")"
return "TikzPicture(" + str(self.args) + "; " + repr(self.formula) + ")"

def visit(self, visitor, *args, **kw):
"""Process with TreeVisitor object. Passes ``args`` and ``kw`` to the corresponding method of ``visitor``."""
Expand Down

0 comments on commit 84f60bc

Please sign in to comment.