Small fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user