fix docstring for pylab jpg unittest