Re: [Matplotlib-users] wrapping y axis tick labels?

2012-07-23 Thread Jonathan Slavin
You might want to look at the python textwrap module. That can take your labels and automatically wrap them at a certain column width. See (in addition to the official python docs) http://www.doughellmann.com/PyMOTW/textwrap/ Jon On Fri, 2012-07-20 at 23:55 -0400, C M wrote: > How possible woul

Re: [Matplotlib-users] wrapping y axis tick labels?

2012-07-21 Thread Mark Lawrence
On 21/07/2012 05:15, Benjamin Root wrote: > On Fri, Jul 20, 2012 at 10:55 PM, C M wrote: > >> How possible would it be to wrap y axis tick labels after a certain >> text length? I have a horizontal bar plot where some bars' labels are >> too long and therefore cut off. I can scrunch the width of

Re: [Matplotlib-users] wrapping y axis tick labels?

2012-07-20 Thread Benjamin Root
On Fri, Jul 20, 2012 at 10:55 PM, C M wrote: > How possible would it be to wrap y axis tick labels after a certain > text length? I have a horizontal bar plot where some bars' labels are > too long and therefore cut off. I can scrunch the width of the whole > plot to accommodate them, but I'd m

[Matplotlib-users] wrapping y axis tick labels?

2012-07-20 Thread C M
How possible would it be to wrap y axis tick labels after a certain text length? I have a horizontal bar plot where some bars' labels are too long and therefore cut off. I can scrunch the width of the whole plot to accommodate them, but I'd much rather wrap long text and allow a little more space