Hi,
I figured out a bug in the FancyArrow class (sorry, I didn't track it down, yet). Might be related to my strange axes limits ?

Please have a look at the attached example. As you can see, in the lower panel the head is not rendered correctly.

I used the lates svn, revision 4730.

Manuel


BTW: When building matplotlib I get a lot of warnings:
[.....]
src/image.cpp: In member function ‘Py::Object Image::buffer_rgba(const Py::Tuple&)’: src/image.cpp:266: warning: deprecated conversion from string constant to ‘char*’
[.....]

import pylab
from matplotlib.patches import FancyArrow

pylab.subplot(221)
fa = FancyArrow(1.85,-9, 0.1, 0.0, head_length=0.02, head_width=0.28)
pylab.gca().add_patch(fa)
pylab.xlim(1.75,2.7)
pylab.ylim(-3,-12)


pylab.subplot(223)
fa = FancyArrow(1.85,-9, 0.1, 0.5, head_length=0.02, head_width=0.28)
pylab.gca().add_patch(fa)
pylab.xlim(1.75,2.7)
pylab.ylim(-3,-12)

pylab.show()

<<inline: fancyarrowbug.png>>

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to