Skip to content

Commit

Permalink
closing pyplot before dray
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatera committed Aug 4, 2024
1 parent 8d5f1da commit ba102df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymathics/graph/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ba102df

Please sign in to comment.