-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
status: needs clarificationIssues that need more information to resolve.Issues that need more information to resolve.
Description
Bug summary
I was trying to create a FancyArrow
with a butt, but changing the capstyle
has no effect. I guess this is related to #13641?
Code for reproduction
import matplotlib.pyplot as plt
from matplotlib.patches import FancyArrow
fig, ax = plt.subplots()
for i, cs in enumerate(['butt', 'round', 'projecting']):
arrow = FancyArrow(0, 0+i, 1, 0, width=0.1, capstyle=cs)
ax.add_patch(arrow)
ax.relim()
ax.autoscale_view()
fig.show()
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
Metadata
Metadata
Assignees
Labels
status: needs clarificationIssues that need more information to resolve.Issues that need more information to resolve.