more in logging

This commit is contained in:
Benjamin Bertrand 2016-11-26 17:34:51 +03:00
parent 8340a58cc8
commit 205c2d1dd8

View File

@ -32,7 +32,7 @@ def includegraphics(fig_ax, document_path="./", fig_path="fig/",
path_to_file.mkdir_p() path_to_file.mkdir_p()
fig.savefig(path_to_file/filename) fig.savefig(path_to_file/filename)
logger.info("Graphique sauvé à {}".format(path_to_file)) logger.info("Graphique {} sauvé à {}".format(filename, path_to_file))
return "\includegraphics[scale={sc}]{{{f}}}".format(sc = scale, return "\includegraphics[scale={sc}]{{{f}}}".format(sc = scale,
f=Path(fig_path)/filename) f=Path(fig_path)/filename)