Is it possible to make multiple lines of text inside the header / legend label in pylab?
Yes, just use the escape sequence \ n inside.
element = pylab.plot(range(100)) pylab.legend([element],[ "first line \n second line"])