8000 backend_pgf: closing subprocess differently, eliminates some py3 warn… · matplotlib/matplotlib@138d55d · GitHub
[go: up one dir, main page]

Skip to content

Commit 138d55d

Browse files
author
pwuertz
committed
backend_pgf: closing subprocess differently, eliminates some py3 warnings
1 parent 834faf7 commit 138d55d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/backends/backend_pgf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ def __del__(self):
282282
if rcParams.get("pgf.debug", False):
283283
print "deleting LatexManager"
284284
try:
285-
self.latex.terminate()
286-
self.latex.wait()
285+
self.latex_stdin_utf8.close()
286+
self.latex.communicate()
287287
except:
288288
pass
289289
try:

0 commit comments

Comments
 (0)
0