Michael Droettboom wrote:
> Manuel Metz wrote:
>> 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.
> 
> It appears to be stretching the arrow to fit in the rectangle defined by 
> its points.  Doesn't seem to be the right transformation.  However, it 
> looks as if it's been that way for a long time.  Was this working for 
> you at one time and then it broke, or is this your first attempt with 
> FancyArrow?  None of the matplotlib examples use FancyArrow.  Maybe it's 
> deprecated...?

No, it did not work before. I first wanted to use pylab.arrow, but then 
the head of the arrow was very, very long streched -> so I switched to 
FancyArrow, because it allowed me to draw a "nice & normal" arrow-head 
-- until I decided to not draw it parallel to the coordinate axis :-(

>> 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*’
>> [.....]
> 
> If you're using Python < 2.5 in conjunction with a recent gcc, that 
> would be expected, but most likely benign.  Python 2.5 changed the type 
> of those arguments to "const char *" to avoid this warning.

Ah, I see - thanks for the info.

Cheers,
   Manuel

-------------------------------------------------------------------------
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