Commit 1deb0df3 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'add_svg' into 'NIFTy_5'

Add svg as allowed output format for nifty plots

See merge request ift/nifty-dev!110
parents 0669c952 bdbb2923
......@@ -75,7 +75,7 @@ def _makeplot(name):
plt.close()
return
extension = os.path.splitext(name)[1]
if extension in (".pdf", ".png"):
if extension in (".pdf", ".png", ".svg"):
plt.savefig(name)
plt.close()
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment