Skip to content

Commit b7cec36

Browse files
authored
Merge pull request #32 from Mathics3/fix_ovelaid_graphs
closing pyplot before draw
2 parents fa50659 + ba102df commit b7cec36

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)