Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/357.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 如何将matplotlib.patches.FancyRowPatch的尾部宽度设置为零?_Python_Matplotlib - Fatal编程技术网

Python 如何将matplotlib.patches.FancyRowPatch的尾部宽度设置为零?

Python 如何将matplotlib.patches.FancyRowPatch的尾部宽度设置为零?,python,matplotlib,Python,Matplotlib,有没有办法将FancyRowPatch的尾部宽度设置为零?设置ArrowStyle的tail\u width关键字没有达到预期效果。我也不清楚这个关键字的单位是什么。我在地图上找不到描述。我想可能是轴点 MWE: IIUC,您可以尝试使用楔形样式来实现您想要的效果,例如 arrowstyle='wedge,tail_width=50,shrink_factor=0.5' 尾巴宽度为零是否意味着你不想要尾巴?是的,但将宽度设置为零是我能想到的唯一方法。像arrowstyle='wedge,ta

有没有办法将FancyRowPatch的尾部宽度设置为零?设置
ArrowStyle
tail\u width
关键字没有达到预期效果。我也不清楚这个关键字的单位是什么。我在地图上找不到描述。我想可能是轴点

MWE:


IIUC,您可以尝试使用楔形样式来实现您想要的效果,例如

arrowstyle='wedge,tail_width=50,shrink_factor=0.5' 

尾巴宽度为零是否意味着你不想要尾巴?是的,但将宽度设置为零是我能想到的唯一方法。像
arrowstyle='wedge,tail\u width=40,shrink\u factor=0.5'
这样的东西怎么样?啊,这主意不错!不过我还是不知道这些单位应该是什么。。我不明白为什么没有提到这一点
arrowstyle='wedge,tail_width=50,shrink_factor=0.5'