-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Open
Labels
Description
Some connectionstyle can not work!!!
See code below:
fig, ax = plt.subplots(1, 1, figsize=(7.2, 7.2))
start = (0.1, 0.1)
end = (0.5, 0.5)
connectionstyle='arc3, rad=1'
#connectionstyle='angle,angleA=-90,angleB=10,rad=5' #this not working
ax.annotate("",
xy=end, xycoords='data',
xytext=start, textcoords='data',
arrowprops=dict(#arrowstyle="->, head_length=1, head_width=1",
width=10,headwidth=30,
color="0.5",
shrinkA=5, shrinkB=5,
patchA=None,
patchB=None,
connectionstyle=connectionstyle,
),)
This code snipet works fine. However, if I change connectionstyle
to "angle,angleA=-90,angleB=10,rad=5", it just does not work. Not sure what is wrong.
matplotlib version: 3.0.3