From d764eda58aceece0647fd8243a1f38674ea53c1b Mon Sep 17 00:00:00 2001 From: Andrew Kirillov <20803092+akirillo@users.noreply.github.com> Date: Thu, 12 Aug 2021 17:49:51 -0700 Subject: [PATCH] writing to new figures path in docker container --- .gitignore | 1 + experiments/dutch_auctions/dutch_auctions_experiment.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 6f413107..10020eb2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ stablesims-venv/ .vscode/ *.profraw .DS_Store +figures/* diff --git a/experiments/dutch_auctions/dutch_auctions_experiment.py b/experiments/dutch_auctions/dutch_auctions_experiment.py index 65ace484..9b511263 100644 --- a/experiments/dutch_auctions/dutch_auctions_experiment.py +++ b/experiments/dutch_auctions/dutch_auctions_experiment.py @@ -154,4 +154,4 @@ def run(self): time_range, [stats["num_sales_taken"] for stats in historical_stats] ) axs[3].plot(time_range, [stats["auction_debt"] for stats in historical_stats]) - plt.savefig(f"/figures/{os.getenv('sim')}.png") + plt.savefig(f"/bab-stablesims/figures/{os.getenv('sim')}.png")