aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/histogram.py (renamed from scripts/matplotlib_histograms.py)6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/matplotlib_histograms.py b/scripts/histogram.py
index 7fae59a..2dd3b6c 100755
--- a/scripts/matplotlib_histograms.py
+++ b/scripts/histogram.py
@@ -48,6 +48,9 @@ def main():
for size, amount in hist.items():
print(size, amount, file=csv_file)
+ if not args.no_ascii:
+ src.chattyparser.plot_hist_ascii(f"{fpath}.hist.txt", hist, calls)
+
if args.interactive:
sizes = []
sizes_smaller_4K = []
@@ -81,8 +84,5 @@ def main():
plt.title("All sizes")
plt.show()
- if not args.no_ascii:
- src.chattyparser.plot_hist_ascii(f"{fpath}.hist.txt", hist, calls)
-
if __name__ == "__main__":
main()