Permalink
Browse files

backend_pgf: closing subprocess differently, eliminates some py3 warn…

…ings
  • Loading branch information...
pwuertz
pwuertz committed Aug 22, 2012
1 parent 834faf7 commit 138d55dad6e99799481f202f4ba993b301c0e628
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/matplotlib/backends/backend_pgf.py
@@ -282,8 +282,8 @@ def __del__(self):
if rcParams.get("pgf.debug", False):
print "deleting LatexManager"
try:
- self.latex.terminate()
- self.latex.wait()
+ self.latex_stdin_utf8.close()
+ self.latex.communicate()
except:
pass
try:

0 comments on commit 138d55d

Please sign in to comment.