We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33fe7b4 + 33868b3 commit 1296fd9Copy full SHA for 1296fd9
bench_runner/plot.py
@@ -65,7 +65,9 @@ class Options:
65
plt.close("all")
66
67
if output_filename.suffix == ".svg":
68
- with tempfile.NamedTemporaryFile(delete=False) as tmp:
+ with tempfile.NamedTemporaryFile(
69
+ dir=output_filename.parent, delete=False
70
+ ) as tmp:
71
with open(output_filename) as fd:
72
scour.start(Options(), fd, tmp)
73
output_filename.unlink()
0 commit comments