On Jul 13, 2012, at 7:57 AM, Benjamin Root <ben.r...@ou.edu> wrote:

> There was talk of this living in mlab or cbook. Is there a preference?
> 
> 
> Neither.  cbook is really meant more for the devs.  Half of it is converter 
> functions that are probably completely unneeded now, while the other half is 
> the callback registry. 

I disagree that cbook is meant for devs. I initially used cbook as a place to 
put neat recipes from the python cookbook. It has grown a bit from there.  The 
stuff that is in there like "is_string_like" is generically useful. 

The converters are used by the rec2* funcs, eg the rec2excel function in the 
exceltools toolkit. I use these extensively. 


> Luckily, the module is called "cbook.py", so one could pretend that it isn't 
> "cookbook" but rather "callback book"...
> 
> Meanwhile, mlab's own documentation says: "Numerical python functions written 
> for compatability with MATLAB
> commands with the same names."  So, unless someone can find out if MATLAB has 
> some sort of equivalent functionality hidden away somewhere, it doesn't 
> belong there either.
> 

Or better, we change the docstring. I think of mlab as a place to put numerical 
or semi-numerical stuff in support of plotting. 


> Not sure where to put it.


mlab is probably the best place. 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to