From: Andre W. <wo...@us...> - 2007-08-06 08:37:10
|
Hi, On 06.08.07, BK wrote: > It's indeed very simple and after seeing your solution and looking again > at the 'list' class I feel a little stupid for not figuring it out > myself. I don't know about other scipy users (if there are any others > using PyX, after all scipy comes with its own plotting module > 'matplotlib') but for me it's exactly what I needed. Well, I do know that there are scipy users on that list. You're not alone ... :-) > Rather than renaming the old 'list' class you could add the above class > as something like a 'vector' or 'array' class. Hmmm. Ok, both could be done. Still, even after a few days, I still very much like the idea of using lists and points as the new names. It would be nice to get some feedback from others (users and developers ... :-) ). André > > While I kind of dislike the above notation (d[0] and d[1] are > > completely independed) and thus I focused on "points" in > > pyx.graph.data.list, why not just add the lists class to PyX as well? > > Maybe the name is not perfect. Well, "list" was not a good idea at > > all ... I could think of renaming the old "list" to "points" and > > adding the "lists" class as shown above. I know that'll break quite > > some code and we could add some deprecated "list = points" to > > pyx.graph.data ... -- by _ _ _ Dr. André Wobst / \ \ / ) wo...@us..., http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript and PDF figures (_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/ |