Closed
Description
Bug report
Bug summary
joinstyle
is not respected for FancyArrowPatch
(either the path or the arrow heads)
Code for reproduction
import matplotlib as mpl
import matplotlib.pyplot as plt
# high dpi so you can see the difference
fig, ax = plt.subplots(dpi=600)
# iterate through styles
for i, js in enumerate(("miter", "round", "bevel"), start=1):
arrow_head = mpl.patches.ArrowStyle.CurveFilledAB(head_length=4, head_width=2)
connection = mpl.patches.ConnectionStyle.Bar(fraction=0, angle=-90)
double_arrow = mpl.patches.FancyArrowPatch((0.1 * i, 1 - 0.1), (1 - 0.1, 0.1 * i), linewidth=2,
arrowstyle=arrow_head, connectionstyle=connection, joinstyle=js)
ax.add_patch(double_arrow)
Actual outcome
Expected outcome
Different join styles for each line (including arrow heads)
Matplotlib version
- Operating system: Windows 10
- Matplotlib version: 3.0.2
- Matplotlib backend (
print(matplotlib.get_backend())
): Qt5Agg - Python version:
Python 3.7.2 (default, Feb 21 2019, 17:35:59) [MSC v.1915 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.2.0 -- An enhanced Interactive Python. Type '?' for help.
I installed with the default conda
channel.
Metadata
Metadata
Assignees
Labels
No labels