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

Skip to content

Commit 493d414

Browse files
committed
Fixed a bug in the call to ps2eps in backend_ps.py
svn path=/trunk/matplotlib/; revision=1946
1 parent 66b45f5 commit 493d414

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/backends/backend_ps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ def print_figure(self, outfile, dpi=72,
11651165
command = 'pdftops -level2 "%s" "%s"'% (pdffile, psfile)
11661166
os.system(command)
11671167
os.remove(pdffile)
1168-
command = '/usr/local/bin/ps2eps -l "%s"'% psfile
1168+
command = 'ps2eps -l "%s"'% psfile
11691169
stdin, stderr = os.popen4(command)
11701170
verbose.report(stderr.read(), 'helpful')
11711171
shutil.move(epsfile, outfile)

0 commit comments

Comments
 (0)