fix fancy-style annotation causing an exception when the connecting path #566
Conversation
fix fancy-style annotation causing an exception when the connecting path
|
@leejjoon: I received this private e-mail from Rolf Barinka, and I think you may be the most appropriate person to address it. |
|
Michael, can you contact Rolf Barinka and ask if he/she can send an example script that reproduces this error? |
|
@leejjoon: Hello, this is Rolf Barinka. The code that brings the exception is part of a complex application, and it is hard to seperate. I put some prints into patches.py and bezier.py: def find_bezier_t_intersecting_with_closedpath(bezier_point_at_t, inside_closedpath, Now some parts of my script, that raise the exception: def pol2kar(w, r): def pfeil(ax, r,v, col, xM=0, yM=0): r = [220, 222, 226] we need an Axes object "ax" and a color "col"this brings the exception:pfeil(ax, r, v, col) This was the output: |
…oo close. This addresses matplotlib#566. Initial patch submitted by Rolf Barinka.
|
Rolf, please test with my proposed change above. Let us know if things work okay in your side. |
|
Hello Yes, things work okay for me. Jae-Joon Lee schrieb Folgendes am 2012-08-21 20:58:
Freundliche Grüße |
…oo close. This addresses matplotlib#566. Initial patch submitted by Rolf Barinka.
This issue is originally reported by brenbarn@brenbarn.net on the user mailing list.
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg22443.html
This happens when the connecting path is too short compared to the arrow head length.
The patch fixes this problem.