From ba102df4e8713441480ad9f0a6a964c4015b30ba Mon Sep 17 00:00:00 2001 From: mmatera Date: Sat, 3 Aug 2024 23:38:31 -0300 Subject: [PATCH] closing pyplot before dray --- pymathics/graph/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymathics/graph/format.py b/pymathics/graph/format.py index 24c0899..edbe44e 100644 --- a/pymathics/graph/format.py +++ b/pymathics/graph/format.py @@ -35,7 +35,7 @@ def format_graph(G, **options) -> str: global node_size global cached_pair - + pyplot.close() pyplot.switch_backend("AGG") cached_pair = None