Hi there,
I might have found a bug which seems fixed by the attached patch.
The bug is in the FancyBBoxPatch class, which I encountered unsuccessfully
trying to minimize the padding of a fancy box around a small text.
In lieu of a testcase I submit the skeleton of a command causing troubles:
plt.annotate('{0}%'.format(100),xytext=(1,1),xy=(2,2),
arrowprops=dict(arrowstyle='->',
connectionstyle=connstyle,
color='b'
),
bbox=dict(facecolor='white',boxstyle='round',bounds=(1,1,1,1)),
color='b')
I can;t now recall the bug and I shifted away from FancyBBox and trying to
minimize the padding. In any case, I hope it helps.
Regards,
Janis
0001-BF-fix-for-FancyBBoxPatch-argument-unpacking-test.patch (736 Bytes)