From: Norbert N. <Nor...@gm...> - 2007-08-09 19:04:25
|
Hi Eric, thanks for the warning. I had looked into the issue but never got around to start working on it. While you are at it, I would suggest that you split the graphics stuff out of pylab into a separate module (pyplot?) to be used for "interactive plotting". I believe I'm not the only user who likes the stateful plotting functionality (i.e. based on gca(), gcf() etc.) but does not want to import all the matlab-compatibility numerics-functions along. Typically, I prefer the nice and clean numpy stuff to do numerics. I would suggest to create an additional module (e.g. pyplot?) that only contains the stateful plotting routines and a module pylab that simply imports everything from pyplot and mlab. Greetings, Norbert Eric Firing wrote: > I have been gradually numpifying mlab.py; I hope this is not a > duplication of effort with someone else. I have not finished yet (and > have made no commits), and it may still take a while--there are a lot of > things to change, and I am trying to do some cleaning up and > rationalization, not just mechanical numpification. I will probably > commit a mlab1.py version so as to facilitate some extra testing before > making the switch. > > I am trying to simplify and shrink the mlab namespace, with the idea > that if a function exists in modern numpy it should simply be imported > >from there. > > Similarly, after dealing with mlab, I would like to simplify pylab. > Right now, we have a horrible tangle of namespaces in pylab. Cleaning > this up will potentially break user code; if a numpy function formerly > could be referenced with three different names and we knock that down to > one, code using the other two will not work. My guess is that in > practice the amount of breakage will be *very* small and easy for users > to deal with. > > Eric > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > |