You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request for Fancy Arrow: allow arrow head and connector to have separate line attributes #3624
I like that annotations let me place arrows whose shape stay the same when I resize the axes, yet the positions of the arrows move with the axes.
However, I would like to be able to specify a different line attributes for the arrow head and the connector (arrow line). Specifically, I want to have a zero line width for the arrow head and a non-zero line width for the connector. Perhaps the user could specify things like the line width, line style, and line color in the connectorstyle string. For example:
@breedlun@tacaswell Regarding the issue here, doesn't the FancyArrow allow you to modify the arrow head's width and/or length independently? Can you also provide another example perhaps?
@KanwarGill, I would rather stick with annotate because it allows me to specify coordinates in multiple coordinate systems. Annotation also lets me keep the arrow the same shape, even as I resize the figure or axes.
@tacaswell's suggestion produces a line without an arrowhead. I was requesting the ability to independently control the line width for the arrowhead and the connector. I still want to have a patch for the arrowhead, just no line around the perimeter of the patch. Sorry if that wasn't clear from my original post.
@KanwarGill, yes, that is an example of what I was requesting. I was also requesting the ability to have different line styles and colors, but I would certainly be happy with only different line widths.
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
Activity
KanwarGill commentedon Mar 17, 2016
@breedlun @tacaswell Regarding the issue here, doesn't the
FancyArrowallow you to modify the arrow head's width and/or length independently? Can you also provide another example perhaps?FYI @samriddhikaushik
tacaswell commentedon Mar 17, 2016
Couldn't this be effectively done by
breedlun commentedon Mar 18, 2016
@KanwarGill, I would rather stick with annotate because it allows me to specify coordinates in multiple coordinate systems. Annotation also lets me keep the arrow the same shape, even as I resize the figure or axes.
@tacaswell's suggestion produces a line without an arrowhead. I was requesting the ability to independently control the line width for the arrowhead and the connector. I still want to have a patch for the arrowhead, just no line around the perimeter of the patch. Sorry if that wasn't clear from my original post.
KanwarGill commentedon Mar 21, 2016
@breedlun Is this a good example of what you want?
fyi @samriddhikaushik @zqliang
breedlun commentedon Mar 22, 2016
@KanwarGill, yes, that is an example of what I was requesting. I was also requesting the ability to have different line styles and colors, but I would certainly be happy with only different line widths.
tacaswell commentedon Mar 22, 2016
#6054 is vaguely related (touching same section of code) and you might be interested in #6117
github-actions commentedon Oct 9, 2023
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!