Commit bdbb2923 authored by Philipp Arras's avatar Philipp Arras
Browse files

Add svg as allowed output format for nifty plots

parent 94d60caa
...@@ -75,7 +75,7 @@ def _makeplot(name): ...@@ -75,7 +75,7 @@ def _makeplot(name):
plt.close() plt.close()
return return
extension = os.path.splitext(name)[1] extension = os.path.splitext(name)[1]
if extension in (".pdf", ".png"): if extension in (".pdf", ".png", ".svg"):
plt.savefig(name) plt.savefig(name)
plt.close() plt.close()
else: else:
Supports Markdown
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