>>>>> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes:
Eric> arrow 1/50th the width of the plot. Change the window Eric> width, and the arrow length changes along with it. Zoom, Eric> and it does not change, however. In all cases, the arrow Eric> direction remains constant, regardless of window or view Eric> limit manipulations. (This is all because of John's Eric> transform magic--it is a little hard to understand at first, Eric> but it certainly provides wonderful functionality.) Hey someone said something nice about transforms! Eric, I haven't had a chance to try this code out but I did read through it and it looks very nice. A small comment: fig.dpi is already a Value, so I don't think you want + elif self.units == 'inches': + dpi = ax.figure.dpi.get() + dx = T.Value(dpi) because that is copy semantics and you probably want reference semantics + elif self.units == 'inches': + dx = ax.figure.dpi That way if someone changes the figure dpi. Or maybe I'm missing something and you really want copy. fig.dpi.set(72.) all of your transforms are automagically updated. Is there any reason not to commit this to svn? It seems to live in parallel with the existing quiver, so shouldn't cause anyone any grief. JDH JDH _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel