Small fixes

This commit is contained in:
Felipe S. Prado
2016-08-23 08:39:19 +02:00
parent 064c4b61bf
commit c3805dfd74

View File

@@ -75,7 +75,7 @@ def memory_utilisation_window(connection, tracePath):
outputFile = "Output file is {0}".format(OUTPUT_FILE)
'''import matplotlib.pyplot as plt
import matplotlib.pyplot as plt
import numpy as np
from matplotlib.backends.backend_pdf import PdfPages
@@ -101,7 +101,7 @@ def memory_utilisation_window(connection, tracePath):
pdf = PdfPages(OUTPUT_FILE)
pdf.savefig()
pdf.close()
plt.close()'''
plt.close()
return outputFile
@@ -135,7 +135,7 @@ def power_window(connection, tracePath):
OUTPUT_FILE = 'power_' + basename + '.pdf'
outputFile = "\n" + "Output file is {0}".format(OUTPUT_FILE)
'''import matplotlib.pyplot as plt
import matplotlib.pyplot as plt
from matplotlib.backends.backend_pdf import PdfPages
plt.plot(time, power)
@@ -145,7 +145,7 @@ def power_window(connection, tracePath):
pdf = PdfPages(OUTPUT_FILE)
pdf.savefig()
pdf.close()
plt.close()'''
plt.close()
return outputFile
# @plot