Is it possible to make multiple lines of text inside a title/legend label in pylab?
Yes, just use the \n escape sequence inside it.
element = pylab.plot(range(100))
pylab.legend([element],[ "first line \n second line"])
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With