Re: [matplotlib-devel] numpification and imports
Tom Holroyd (NIH/NIMH) [E] wrote: [...] > If I say > import matplotlib help(matplotlib) > > (This is with 0.90.0 by the way) > > It basically gives me the help I'd expect for pylab. Oh, and it says > "the" instead of "to". It's a little weird thinking of a library as the > top level with the main interface as a module. I guess the interface is > just another component of the library. Though when I > import pylab help(pylab) > > I get what looks like help for numpy. Perhaps my installation is strange? > I have fixed this. The problem was that when you import pylab, it imports a stub "pylab.py" from site-packages, which in turn imports everything from matplotlib/pylab.py. The matplotlib.pylab docstring does not get transferred to the newly loaded pylab module, however. The solution was to do that transfer explicitly in the pylab.py stub. I also made slight tweaks to the pylab.py and matplotlib.py docstrings to try to clarify the pylab-matplotlib relationship. The matplotlib docstring still blathers on about pylab functions, however; I suspect we should change this to something more unique and helpful, such as a directory of matplotlib submodules and/or an intro to the useful things in matplotlib.__init__.py like rcParams. Eric - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] numpification and imports
On 7/15/07, Eric Firing <[EMAIL PROTECTED]> wrote: \> docstring still blathers on about pylab functions, however; I suspect we > should change this to something more unique and helpful, such as a > directory of matplotlib submodules and/or an intro to the useful things > in matplotlib.__init__.py like rcParams. Verg good idea -- are you volunteering? :-) JDH PS: in other news, I find it ironic that the gmail spell checker, which underlines words it doesn't recognize with a red line (eg rcParams), doesn't recognize the word "gmail" - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] numpification and imports
John Hunter wrote: > On 7/15/07, Eric Firing <[EMAIL PROTECTED]> wrote: > \> docstring still blathers on about pylab functions, however; I suspect we >> should change this to something more unique and helpful, such as a >> directory of matplotlib submodules and/or an intro to the useful things >> in matplotlib.__init__.py like rcParams. > > Verg good idea -- are you volunteering? :-) OK. Eric - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] remove artist from axes?
Hi, I don't see an obvious way to remove a line from an axes object. Shall I add remove_child(h) which searches through all the lists of containers and removes the one that I don't want? For now I will rerender the graph without the missing child. - Paul - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] New matplotlib-checkins mailing list
Hi all, A new matplotlib-checkins mailing list has been created for SVN commit notification. You can subscribe to it by visiting: https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins Cheers, Edin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] sandbox
Hi, I've made some progress on an MPL canvas infrastructure built on top of the contains() methods patch I submitted earlier (and now in svn). I would like to post it to svn so that interested parties can play with it and contribute to the development, but it is not yet ready to be put in the trunk. I was browsing the svn tree looking for a sandbox to put it in, but the closest I found is /matplotlib/branches. Any objections to me putting it into /matplotlib/branches/canvas? Thanks in advance, - Paul - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] remove artist from axes?
On Sun, Jul 15, 2007 at 10:49:13PM -0400, Paul Kienzle wrote: > I don't see an obvious way to remove a line from an axes object. > Shall I add remove_child(h) which searches through all the lists > of containers and removes the one that I don't want? I think that would be very useful. TVTK has something similar, and I use it often. Something to remove the last object added we be great too (I don't know where the reference to the last object added should be stored, but there are many places, and perhaps maybe simply as an attribute of the "remove_last" function. And I suggest that this should not be a method of axes or a figure, but a pylab function. Cheers, Gaƫl - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel