Not able to plot graph: matplotlib is needed for plotting
I am able to generate *.dat file: vikas@server:~/memory_profiler-0.36$ ./mprof run --python test_sl.py vikas@server:~/memory_profiler-0.36$ ls *.dat mprofile_20151001035123.dat But when I am trying to plot graph then it is saying "matplotlib is needed for plotting" vikas@server:~/memory_profiler-0.36$ ./mprof plot --output=plot.png matplotlib is needed for plotting. Did I miss anything? Function I am profiling is run() which is inside: file_to_be_profiled.py #!/usr/bin/python import time import os, sys, commands from memory_profiler import profile from guppy import hpy @profile def run(): d =