Skip to content

Commit 8b01378

Browse files
authored
Merge pull request #231 from larsoner/ioff
BUG: Set ioff to avoid immediate close
2 parents 3886eea + 68812af commit 8b01378

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mprof.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,7 @@ def xlim_type(value):
726726
print("matplotlib is needed for plotting.")
727727
print(e)
728728
sys.exit(1)
729+
pl.ioff()
729730

730731
profiles = glob.glob("mprofile_??????????????.dat")
731732
profiles.sort()

0 commit comments

Comments
 (0)