When I call pyplot.title(\'some string\') it throws the exception, \'str\' object is not callable\'. I copied the following from the matplotlib onl
pyplot.title(\'some string\')
\'str\' object is not callable\'
I had the same problem. The code was fine, but in the interpreter, I had previoulsy used incorrect xlabel() calls. re-starting the interpreter (close and reopen it) was enough for me, no need to reinstall all python/matplotlib !