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