Skip to content
Snippets Groups Projects
Unverified Commit 8c9df6ee authored by Wouter Deconinck's avatar Wouter Deconinck Committed by GitHub
Browse files

fix: use shell to write .matplotlibrc

parent 1bc85cfe
No related branches found
No related tags found
No related merge requests found
......@@ -101,11 +101,14 @@ exec ddsim \
rule matplotlibrc:
output:
".matplotlibrc",
run:
with open(output[0], "wt") as fp:
fp.write("backend: Agg\n")
shell:
"""
cat > {output} <<EOF
backend: Agg
# interactive mode prevents plt.show() from blocking
fp.write("interactive : True\n")
interactive: True
EOF
"""
rule org2py:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment