Skip to content

Commit 60567ce

Browse files
committed
fixed bug with zorder of arrows
1 parent e6e990d commit 60567ce

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

spb/backends/matplotlib/renderers/arrow2d.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ def _draw_arrow_2d(renderer, data):
2121
mutation_scale=2,
2222
arrowstyle=arrowstyle,
2323
shrinkA=0, shrinkB=0,
24-
color=next(p._cl)
24+
color=next(p._cl),
25+
# NOTE: this appears to solve this issue:
26+
# https://github.com/Davide-sd/sympy-plot-backends/issues/54
27+
zorder=2
2528
)
2629
kw = p.merge({}, pkw, s.rendering_kw)
2730
arrow = mpatches.FancyArrowPatch((x1, y1), (x2, y2), **kw)

0 commit comments

Comments
 (0)