the code
os.environ['MPLCONFIGDIR'] = tempfile.mkdtemp() #So that matplotlib doesnot complain stale file handle
https://github.com/rhshah/iCallSV/blob/a22782a7fadd79e030df35fa39a954021d4b29e5/iCallSV/filterAnnotatedSV.py#L30
is bad because it cause matplot lib to create new tmp dir on every import!!!
the code
os.environ['MPLCONFIGDIR'] = tempfile.mkdtemp() #So that matplotlib doesnot complain stale file handlehttps://github.com/rhshah/iCallSV/blob/a22782a7fadd79e030df35fa39a954021d4b29e5/iCallSV/filterAnnotatedSV.py#L30
is bad because it cause matplot lib to create new tmp dir on every import!!!