From 84f60bc8fee309f79b8f6ae8990e71ae9c9cbcf3 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 2 Nov 2024 20:56:56 +0100 Subject: [PATCH] Fix conversion to string. --- v7/latex/latex/tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v7/latex/latex/tree.py b/v7/latex/latex/tree.py index 6e75ef4f..aea30714 100644 --- a/v7/latex/latex/tree.py +++ b/v7/latex/latex/tree.py @@ -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``."""