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