FancyArrowPatch behaves quite differently from normal patches.
Most importantly, the path must be reevaluated during the drawing time, so
a normal PatchCollection, which evaluate the paths during the instance
creation, won't work. i.e., you need a new Collection class.
Below is a very incomplete
Hi,
Trying to figure out why these two do not create the same plot. Bug or user
error?
import matplotlib.pyplot as plt
from matplotlib.patches import FancyArrowPatch
from matplotlib.collections import PatchCollection
def correct_patch(pos):
fig, ax = plt.subplots()
for src, dst in pos: