Re: [Matplotlib-users] Cross axis arrows

2009-12-03 Thread Jae-Joon Lee
You need to add the patch to the second axes. patch = ConnectionPatch((.5, .5), (.7, .3), 'data', 'data', axesA=ax1, axesB=ax2, zorder=100, arrowstyle='fancy', connectionstyle='Angle3', mutation_scale=1

[Matplotlib-users] Cross axis arrows

2009-12-03 Thread Stephane Raynaud
Hi, how to make this arrow not disappear below the right plot? Here is the code : from matplotlib.patches import * import matplotlib.pyplot as P P.figure(figsize=(5, 3)) ax1 = P.subplot(121) P.plot([0, 1]) ax2 = P.subplot(122) P.plot([