On Thu, May 21, 2009 at 7:47 PM, Eric Firing <efir...@hawaii.edu> wrote: > Andrew Straw wrote: >> I've implemented initial support for "dropped spines". This is motivated >> by the ability to draw figures that look like >> http://jeb.biologists.org/cgi/content/full/211/3/341/FIG7 . I'm >> attaching the patches and an image created by the new example.
> It looks like that nicely addresses a frequent request. Great! I > haven't looked closely enough yet to see how it all works, but one > immediate suggestion is that the adjust_spines function in your example > looks like something that should be modified a bit and turned into an > axes method with the usual pyplot wrapper. That is a fine point, of > course, that can be deferred. > > It looks like the offset is defined as positive outward from center of > the plot. Are negative values allowed, so the spine goes through the > middle of the plot, for example? Hey Andrew -- this is really excellent. The lack of support for spine placement is one of the things that has been mentally holding me back from releasing mpl as 1.0, so by all means commit it. I did read through the patch, and it looks like a clean implementation so I don't have any specific suggestions. I would like to see a 'xcenter'or 'ycenter' (or whatver name works best) option in addition to the 'left', 'right', 'top' and 'bottom' so we can easily support things like Mathematica/Sage style spines http://webscripts.softpedia.com/scriptScreenshots/SAGE-Screenshots-27855.html Do you think you could add this fairly easily? Also, it would be nice to have some simple configuration options, perhaps a few default themes, so one could easily switch between them, and probably rc support for a default theme. The theme might specify both the spine placement as well as the tick in/out/center placement. None of this needs to go in ahead of the initial commit though. Thanks! JDH ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel