Hello again, and thanks.
I did not have a chance to look at this until now but using arc instead of
angle worked out great.
2010/3/24 Jae-Joon Lee
> You should not use "angle" style if you change the x,y position (this
> is due to the algorithm of how the line connecting two points are
> create
You should not use "angle" style if you change the x,y position (this
is due to the algorithm of how the line connecting two points are
create).
Try something like below instead.
if foo:
if theta - foo < 10:
print >>sys.stderr, "Overlapping, offsetting a little bit"
Hello again, and thank you very much for the answer, suddenly it all got
much clearer to me. The only 'issue' I am having is (from screenshot) what
happens to the line pointing to Logs when I try to offset it a little bit on
the Y axis. It looks like either the angleA or angleB is wrong, but I don'
This should be doable using the annotation. Here is a simple cook-up I
just did. it uses a naive algorithm to place the labels, but I guess
it gives you an idea how things work.
a screenshot is attached.
Regards,
-JJ
from pylab import *
# make a square figure and axes
figure(1, figsize=(6,6))
Hello,
I am having some issues generating pie charts, when some of the slices
become very small, their labels
will draw on top of each other, making it impossible to distinguish between
them. And I am trying to avoid using a legend.
Does anyone know if there is a way to properly position labels o