Re: [Matplotlib-users] Problem with PatchCollection and FancyArrowPatch?

2013-01-31 Thread Jae-Joon Lee
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

[Matplotlib-users] Problem with PatchCollection and FancyArrowPatch?

2013-01-30 Thread Skipper Seabold
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: