From cdf1823bf6ba33581ff009fe7a24792bc5fb8d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kn=C3=BCttel?= Date: Thu, 18 Jan 2018 11:27:06 +0100 Subject: [PATCH] fixed uncleared canvas --- mathbot/rendering.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mathbot/rendering.py b/mathbot/rendering.py index eab229f..a001d78 100644 --- a/mathbot/rendering.py +++ b/mathbot/rendering.py @@ -34,6 +34,7 @@ def get_png(tex): buf.seek(0) + plt.clf() return buf