Is it possible to make the x-tick labels span over two lines? Say, if my x-tick labels are
January 2008, February 2008, March 2008
I want them as
January February March
2008 2008 2008
I don't want to rotate them.
After a quick test using the code I found here, it appears that it does indeed work if you just add a newline in your tick label. e.g.
mytics=['January\n2008', 'February\n2008', 'March\n2008']
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