[matplotlib-devel] organization of traited config system

2007-07-26 Thread Darren Dale
I am working on reorganizing our config system to work with Fernando's tconfig, and I could use some advice. Currently, a lot of the configuration code lives in __init__.py and rcsetup.py. I am thinking of a layout like this: matplotlib/lib/matplotlib/ __init__ ... config/

Re: [matplotlib-devel] Mathtext improvements (merging into trunk)

2007-07-26 Thread Jouni K . Seppänen
It seems that the improvements finally allow users to mix mathtext with ordinary text, as in 'foo $a=b^c+d$ bar', which I believe has been requested a lot. This is really cool, but I think it causes another backward incompatibility: you could use dollar signs in text strings (except if you wanted a

Re: [matplotlib-devel] Mathtext improvements (merging into trunk)

2007-07-26 Thread Darren Dale
On Thursday 26 July 2007 5:54:18 pm Jouni K. Seppänen wrote: > It seems that the improvements finally allow users to mix mathtext with > ordinary text, as in 'foo $a=b^c+d$ bar', which I believe has been > requested a lot. This is really cool, but I think it causes another > backward incompatibilit

Re: [matplotlib-devel] Mathtext improvements (merging into trunk)

2007-07-26 Thread John Hunter
On 7/26/07, Darren Dale <[EMAIL PROTECTED]> wrote: > > where Math is a wrapper object that signals to "text" that its contents > > are to be passed to the mathtext interpreter. > > I would like to voice my opinion against this idea. I think the backward > imcompatibility will be rare, and does not

Re: [matplotlib-devel] Mathtext improvements (merging into trunk)

2007-07-26 Thread Darren Dale
On Thursday 26 July 2007 9:05:41 pm Fernando Perez wrote: > [ That was meant for the list, sorry ] > > On 7/26/07, John Hunter <[EMAIL PROTECTED]> wrote: > > I'm on the fence as to how to handle this case. The majority of our > > users will think of $ as the US currency symbol, and will have never

Re: [matplotlib-devel] Mathtext improvements (merging into trunk)

2007-07-26 Thread Fernando Perez
[ That was meant for the list, sorry ] On 7/26/07, John Hunter <[EMAIL PROTECTED]> wrote: > I'm on the fence as to how to handle this case. The majority of our > users will think of $ as the US currency symbol, and will have never > heard of TeX. Option 1 is to educate them, and require them t

Re: [matplotlib-devel] Mathtext improvements (merging into trunk)

2007-07-26 Thread Fernando Perez
On 7/26/07, Darren Dale <[EMAIL PROTECTED]> wrote: > On Thursday 26 July 2007 9:05:41 pm Fernando Perez wrote: > > This sounds to me like a good case for Guido's mantra of NOT putting > > keywords in functions and instead just making two separate functions. > > Why not just > > > > text(x,y,"This

Re: [matplotlib-devel] organization of traited config system

2007-07-26 Thread Eric Firing
Darren Dale wrote: > I am working on reorganizing our config system to work with Fernando's > tconfig, and I could use some advice. Currently, a lot of the configuration > code lives in __init__.py and rcsetup.py. I am thinking of a layout like > this: > > matplotlib/lib/matplotlib/ > __ini

Re: [matplotlib-devel] organization of traited config system

2007-07-26 Thread Fernando Perez
On 7/26/07, Darren Dale <[EMAIL PROTECTED]> wrote: > On Thursday 26 July 2007 10:30:34 am Ted Drain wrote: > > Darren, > > Well it wasn't one of your questions but... > > > > Why do you need an api file at all? Why not have config be a python > > package and let config/__init__.py take care of imp

Re: [matplotlib-devel] organization of traited config system

2007-07-26 Thread Darren Dale
On Thursday 26 July 2007 10:39:22 am Tom Holroyd (NIH/NIMH) [E] wrote: > Are traits going to be a dependency that I have to download and install, or > will all the traits stuff be bundled with mpl? I should also have mentioned, for those of you not following the older thread: the new system is so

Re: [matplotlib-devel] organization of traited config system

2007-07-26 Thread Tom Holroyd (NIH/NIMH) [E]
Are traits going to be a dependency that I have to download and install, or will all the traits stuff be bundled with mpl? -- Tom Holroyd, Ph.D. "The fundamentally misconceived nature versus nurture debate should be abandoned: child development is inextricably both." -- Louann Brizendine --

Re: [matplotlib-devel] organization of traited config system

2007-07-26 Thread Eric Firing
Darren Dale wrote: > On Thursday 26 July 2007 10:39:22 am Tom Holroyd (NIH/NIMH) [E] wrote: >> Are traits going to be a dependency that I have to download and install, or >> will all the traits stuff be bundled with mpl? > > That hasn't been determined yet. Does your config system run with the ol

Re: [matplotlib-devel] organization of traited config system

2007-07-26 Thread Fernando Perez
On 7/26/07, Darren Dale <[EMAIL PROTECTED]> wrote: > On Thursday 26 July 2007 10:39:22 am Tom Holroyd (NIH/NIMH) [E] wrote: > > Are traits going to be a dependency that I have to download and install, or > > will all the traits stuff be bundled with mpl? > > That hasn't been determined yet. Just a

Re: [matplotlib-devel] organization of traited config system

2007-07-26 Thread Darren Dale
On Thursday 26 July 2007 10:39:22 am Tom Holroyd (NIH/NIMH) [E] wrote: > Are traits going to be a dependency that I have to download and install, or > will all the traits stuff be bundled with mpl? That hasn't been determined yet. --

Re: [matplotlib-devel] organization of traited config system

2007-07-26 Thread Darren Dale
On Thursday 26 July 2007 10:30:34 am Ted Drain wrote: > Darren, > Well it wasn't one of your questions but... > > Why do you need an api file at all? Why not have config be a python > package and let config/__init__.py take care of importing > everything? The __init__ file of a package is respons

Re: [matplotlib-devel] organization of traited config system

2007-07-26 Thread Ted Drain
Darren, Well it wasn't one of your questions but... Why do you need an api file at all? Why not have config be a python package and let config/__init__.py take care of importing everything? The __init__ file of a package is responsible for configuring the api of a package so it seems redunden

Re: [matplotlib-devel] organization of traited config system

2007-07-26 Thread Darren Dale
On Thursday 26 July 2007 02:29:26 pm Eric Firing wrote: > Darren Dale wrote: > > On Thursday 26 July 2007 10:39:22 am Tom Holroyd (NIH/NIMH) [E] wrote: > >> Are traits going to be a dependency that I have to download and install, > >> or will all the traits stuff be bundled with mpl? > > > > That h