From 1664f6981080425c33444ce6ad13c3946c684bb9 Mon Sep 17 00:00:00 2001 From: tqcq Date: Mon, 21 Oct 2024 02:02:54 +0000 Subject: [PATCH] feat: save image --- py/histogram.py | 1 + 1 file changed, 1 insertion(+) diff --git a/py/histogram.py b/py/histogram.py index 49b715b..b9f0038 100755 --- a/py/histogram.py +++ b/py/histogram.py @@ -23,4 +23,5 @@ if __name__ == "__main__": n, bins, patches = ax.hist(x, num_bins, density=False) ax.set_xlabel("Access time [ns]") ax.set_ylabel("proportion of cases") + plt.savefig("access.png") plt.show()