Skip to content

Commit ba102df

Browse files
committed
closing pyplot before dray
1 parent 8d5f1da commit ba102df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymathics/graph/format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def format_graph(G, **options) -> str:
3535

3636
global node_size
3737
global cached_pair
38-
38+
pyplot.close()
3939
pyplot.switch_backend("AGG")
4040
cached_pair = None
4141

0 commit comments

Comments
 (0)