-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[Bug]: Capstyle has no effect on FancyArrow #22340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm confused - there are no caps in the arrow patches, so where would you expect those styles to have effect? |
Ooh, ok. But then what is the non-pointy end of the arrow called? I thought that's the cap. But I guess in that case I missunderstood the kwarg. What is it supposed to do instead then / in what case does it have an effect? Also, does that mean I cannot get a |
Fancy Arrow is a patch, and the lines outlining the patch are what have a cap style and join style. Those do not affect the shape of the patch. I don't see that FancyArrow allows different tail shapes, and the head shapes are restricted to width and length. So if you want a different shape, you will have to make a PolygonPatch and pass the path yourself. |
Ah, ok, I get it now, sorry. I also found this |
OK, lets close this, and if you would like to make a feature request, that would be great... |
Bug summary
I was trying to create a
FancyArrow
with a butt, but changing thecapstyle
has no effect. I guess this is related to #13641?Code for reproduction
Actual outcome
Expected outcome
Something similar to this:
Additional information
No response
Operating system
No response
Matplotlib Version
3.5.1
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
pip
The text was updated successfully, but these errors were encountered: