P.S.
I have found that I can mitigate the problem by changing the axes: changing,
ax = pylab.axes([0.1, 0.1, 0.8, 0.8])
to
ax = pylab.axes([0.2, 0.2, 0.6, 0.6])
shrinks almost everything towards the center, meaning that some things no
longer get cut off.
(But this is at the expense of a smaller overall picture, that isn't doing
quite the same job graphically.)
This offers a partial workaround, but it's nowhere near so good as it would
be to move the labels inward so they don't get cut off (while keeping the
pie graph at a preferred size for the graph itself).
On Tue, Aug 5, 2008 at 10:42 AM, Mathieu Leplatre <[EMAIL PROTECTED]>wrote:
> On Tue, Aug 5, 2008 at 12:21 PM, Jonathan Hayward,
> http://JonathansCorner.com <[EMAIL PROTECTED]>
> wrote:
> > The pie chart sometimes cuts off even relatively short labels that extend
> > beyond the edge of the image (.1, .1, .8, .8).
> >
> > What is the best way to dodge labels getting cut off, or is there not
> much
> > of a good way?
> >
> > TIA,
>
> I think I am facing a similar problem. I would like to auto-adjust the
> chart frame.
>
> For example, doing this, the title is cropped :
>
> import pylab
> pylab.plot([1,2,3])
> pylab.title('Big One', fontsize=72)
> pylab.show()
>
--
-- Jonathan Hayward, [EMAIL PROTECTED]
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com
++ Would you like to curl up with one of my hardcover books?
++ You can now get my books from http://CJSHayward.com
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users