From 139cfb7756aa6c01d547c0a88cac939c6e88e926 Mon Sep 17 00:00:00 2001 From: Brandon Amos Date: Sat, 12 Dec 2015 16:30:16 -0500 Subject: [PATCH] tsne: Print where file is saved to. --- util/tsne.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/util/tsne.py b/util/tsne.py index c8352b2..ad9d11b 100755 --- a/util/tsne.py +++ b/util/tsne.py @@ -45,4 +45,7 @@ for c, i, target_name in zip(colors, plt.scatter(X_r[y == i, 0], X_r[y == i, 1], c=c, label=target_name) plt.legend() -plt.savefig("{}/tsne.pdf".format(args.workDir)) + +out = "{}/tsne.pdf".format(args.workDir) +plt.savefig(out) +print("Saved to: {}".format(out))