ConnectionPath with fancy arrow of length zero produces no plot #3930
Labels
Difficulty: Medium
https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
Milestone
The following code produces no plot:
It works fine if I change the arrowstyle to the default.
With arrowstyle='fancy', I get the following warnings:
/usr/local/lib/python2.7/dist-packages/matplotlib/patches.py:2960: RuntimeWarning: divide by zero encountered in double_scalars
ff = d / (dx * dx + dy * dy) ** .5
/usr/local/lib/python2.7/dist-packages/matplotlib/patches.py:2961: RuntimeWarning: invalid value encountered in double_scalars
x2, y2 = x0 - ff * dx, y0 - ff * dy
The problem is probably with FancyArrow:
running matplotlib 1.4.2
The text was updated successfully, but these errors were encountered: