Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d579266

Browse files
committed
backend_ps: remove one not needed str casting
1 parent 79d71cc commit d579266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_ps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def gs_version(self):
8080
pass
8181

8282
from matplotlib.compat.subprocess import Popen, PIPE
83-
s = Popen([str(self.gs_exe), "--version"], stdout=PIPE)
83+
s = Popen([self.gs_exe, "--version"], stdout=PIPE)
8484
pipe, stderr = s.communicate()
8585
if six.PY3:
8686
ver = pipe.decode('ascii')

0 commit comments

Comments
 (0)