On Saturday, June 4, 2011, Eric Firing <efir...@hawaii.edu> wrote: > On 06/04/2011 06:05 AM, Benjamin Root wrote: >> On Sat, Jun 4, 2011 at 9:09 AM, Phil Elson <philipel...@hotmail.com >> <mailto:philipel...@hotmail.com>> wrote: >> >> >> The first line of code on the page >> http://matplotlib.sourceforge.net/devel/add_new_projection.html suggests >> that it is possible to give the projection directly to >> mpl.pyplot.plot but >> this does not work for me. >> >> Should this functionality exist? I am aware that the pyplot.plot >> function is >> autogenerated by boilerplate.py, but I am a little weary of >> modifying that. >> >> Any help gratefully received. >> >> >> Hmm, this doesn't seem 100% logically correct. I think the only case >> where this would work correctly is if the plot command would also >> trigger the creation of a new axes object. If the axes object already >> exists, then I seriously doubt this would work as advertised. Is that >> the case with your code? >> >> Ben Root > > Ben, > > The first paragraph of that doc page needs repair. Trivially, there are > two references to set_xscale. The problem pointed out above is more > serious. plot() has no facility for handling a projection kwarg, and I > don't think it would make sense to try to add one. pyplot functions > that accept the projection kwarg are axes, subplot, and subplots. > > Do you want to fix the paragraph, or should I? >
I can take a look at it tonight. > Independently, I want to redo the FAQ discussion of draw(), show(), and > interactive versus non-interactive mode. It is possible that this topic > needs more attention elsewhere as well, but I want to start with the FAQ. > > Eric > Agreed, these are some fundamental functions and probably be set apart in a "getting started" section, maybe? Ben Root ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel