diff --git a/DRAMSys/traceAnalyzer/scripts/plots.py b/DRAMSys/traceAnalyzer/scripts/plots.py index 57087064..d0a52cc3 100755 --- a/DRAMSys/traceAnalyzer/scripts/plots.py +++ b/DRAMSys/traceAnalyzer/scripts/plots.py @@ -236,8 +236,7 @@ def latency_histogram(connection, tracePath, steps): import matplotlib.pyplot as plt from matplotlib.backends.backend_pdf import PdfPages - numberOfBins='auto' - plt.hist(dataArray, bins=numberOfBins, histtype='barstacked', facecolor='green') + plt.hist(dataArray, histtype='bar', facecolor='green') plt.grid(True) plt.xlabel("Access Time [ns]") plt.ylabel("Number of Accesses (Frequency)")