Skip to content

Commit e6d3890

Browse files
committed
Forgot to add a file
1 parent 9f4ee49 commit e6d3890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pySDC/helpers/plot_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def newfig(textwidth, scale, ratio=0.6180339887):
125125

126126

127127
def savefig(filename, save_pdf=True, save_pgf=True, save_png=True):
128-
if save_pgf and find_executable('latex'):
128+
if save_pgf and shutil.which('latex'):
129129
plt.savefig('{}.pgf'.format(filename), bbox_inches='tight')
130130
if save_pdf:
131131
plt.savefig('{}.pdf'.format(filename), bbox_inches='tight')

0 commit comments

Comments
 (0)