[matplotlib-devel] rcparams/traits

2007-07-24 Thread Fernando Perez
Hi all, if anyone is still following, please update the tconfig work. Run ipython -wthread %run mpltest.py mplconf2.tconf.edit_traits() Edit to your heart's content. You can then save changes via mplconf2.write() Cheers, f ps - the auto-generated file now has all class docstrings as comme

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread John Hunter
On 7/24/07, Fernando Perez <[EMAIL PROTECTED]> wrote: > Hi all, > > if anyone is still following, please update the tconfig work. Run > > ipython -wthread > %run mpltest.py > mplconf2.tconf.edit_traits() > > Edit to your heart's content. I am not running in wthred, but I think there may be an imp

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread Darren Dale
On Tuesday 24 July 2007 5:20:40 am Fernando Perez wrote: > Hi all, > > if anyone is still following, please update the tconfig work. Run > > ipython -wthread > %run mpltest.py > mplconf2.tconf.edit_traits() > > Edit to your heart's content. I can't get edit_traits() working on my machine, but I c

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread Darren Dale
On Tuesday 24 July 2007 7:57:37 am John Hunter wrote: > On 7/24/07, Fernando Perez <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > if anyone is still following, please update the tconfig work. Run > > > > ipython -wthread > > %run mpltest.py > > mplconf2.tconf.edit_traits() > > > > Edit to your hea

[matplotlib-devel] texmanager.py:137

2007-07-24 Thread Nils Wagner
Hi all, Is there a way to suppress the warning /usr/local/lib64/python2.5/site-packages/matplotlib/texmanager.py:137: UserWarning: No LaTeX-compatible font found for the sans-serif font family in rcParams. Using default. warnings.warn('No LaTeX-compatible font found for the %s font family in rc

Re: [matplotlib-devel] [Enthought-dev] rcParams and validation

2007-07-24 Thread Dave Peterson
Replying to this, even though I replied to a later message to enthought-dev, since this one is also cc'd to matplotlib-devel Darren Dale wrote: > On Sunday 22 July 2007 02:10:50 pm John Hunter wrote: > >> On 7/22/07, Dave Peterson <[EMAIL PROTECTED]> wrote: >> >>> Just uploaded a new

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread Fernando Perez
On 7/24/07, Darren Dale <[EMAIL PROTECTED]> wrote: > On Tuesday 24 July 2007 5:20:40 am Fernando Perez wrote: > > Hi all, > > > > if anyone is still following, please update the tconfig work. Run > > > > ipython -wthread > > %run mpltest.py > > mplconf2.tconf.edit_traits() > > > > Edit to your hea

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread Fernando Perez
On 7/24/07, Darren Dale <[EMAIL PROTECTED]> wrote: > On Tuesday 24 July 2007 7:57:37 am John Hunter wrote: > > On 7/24/07, Fernando Perez <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > > if anyone is still following, please update the tconfig work. Run > > > > > > ipython -wthread > > > %run m

Re: [matplotlib-devel] mpl1 draft

2007-07-24 Thread Ken McIvor
On Jul 23, 2007, at 7:18 PM, Peter Wang wrote: On Jul 19, 2007, at 10:42 PM, Ken McIvor wrote: Code readability is also a concern to me -- the experience of reading mpl1.py suggests to me that newcomers might find traits a bit too "voodoo". I'm confident that the same thing could be ac

Re: [matplotlib-devel] mpl1 draft

2007-07-24 Thread Gael Varoquaux
On Tue, Jul 24, 2007 at 10:31:05AM -0500, Ken McIvor wrote: > In retrospect, I should've been clearer about my objection to using > traits in mpl1. I don't have any problem with enthought.traits in an > abstract sense -- it seems like an excellent solution to the problems > of attribute vali

Re: [matplotlib-devel] texmanager.py:137

2007-07-24 Thread Darren Dale
On Tuesday 24 July 2007 9:38:43 am Nils Wagner wrote: > Hi all, > > Is there a way to suppress the warning > > /usr/local/lib64/python2.5/site-packages/matplotlib/texmanager.py:137: > UserWarning: No LaTeX-compatible font found for the sans-serif font > family in rcParams. Using default. > warnin

Re: [matplotlib-devel] texmanager.py:137

2007-07-24 Thread Darren Dale
On Tuesday 24 July 2007 12:05:15 pm Darren Dale wrote: > On Tuesday 24 July 2007 9:38:43 am Nils Wagner wrote: > > Hi all, > > > > Is there a way to suppress the warning > > > > /usr/local/lib64/python2.5/site-packages/matplotlib/texmanager.py:137: > > UserWarning: No LaTeX-compatible font found fo

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread Darren Dale
On Tuesday 24 July 2007 11:29:22 am Fernando Perez wrote: > On 7/24/07, Darren Dale <[EMAIL PROTECTED]> wrote: > > On Tuesday 24 July 2007 5:20:40 am Fernando Perez wrote: > > > Hi all, > > > > > > if anyone is still following, please update the tconfig work. Run > > > > > > ipython -wthread > > >

Re: [matplotlib-devel] New matplotlib-checkins mailing list

2007-07-24 Thread Edin Salkovic
On 7/16/07, Edin Salkovic <[EMAIL PROTECTED]> wrote: > 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 Following Jouni K. Seppänen's sugges

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread Fernando Perez
On 7/24/07, Darren Dale <[EMAIL PROTECTED]> wrote: > On Tuesday 24 July 2007 11:29:22 am Fernando Perez wrote: > > Bummer. It's nice to see that GUI for the whole of MPL running ;) > > I know, I really wanted to see this. Are you using traits from > http://code.enthought.com/enstaller/eggs/source

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread Darren Dale
Hi Fernando, On Tuesday 24 July 2007 1:34:47 pm Fernando Perez wrote: > Just so we save time, would you mind just coding up the failure as a test? It is attached. Here is the output on my machine: copying mplrc.conf to mplrc_copy.conf loading from mplrc_copy.conf Backend loaded from file: Qt4Ag

Re: [matplotlib-devel] mpl1 draft

2007-07-24 Thread Ken McIvor
On Jul 24, 2007, at 10:46 AM, Gael Varoquaux wrote: > > AFAIK chaco is based on this approach. Not as such. Chaco uses traits for its high-level plot objects but the rendering system, Kiva, does not appear to use traits all. mpl1.py is using traits to maintain pre-calculated affine transform

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread Fernando Perez
On 7/24/07, Darren Dale <[EMAIL PROTECTED]> wrote: > Hi Fernando, > > On Tuesday 24 July 2007 1:34:47 pm Fernando Perez wrote: > > Just so we save time, would you mind just coding up the failure as a test? > > It is attached. Here is the output on my machine: Great, thanks. Please update. My com

[matplotlib-devel] mpl1 + chaco

2007-07-24 Thread Chris Barker
Peter Wang wrote: > On Jul 19, 2007, at 5:31 PM, Christopher Barker wrote: >> OK. I have to ask -- why aren't we all just using Chaco? > Most of ETS is being developed, tested, and run on Windows, Mac, and > Linux every day. Ah, great to know -- that was decidedly not the case the last time I

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread Darren Dale
On Tuesday 24 July 2007 5:49:27 pm Fernando Perez wrote: > On 7/24/07, Darren Dale <[EMAIL PROTECTED]> wrote: > > creating RecursiveConfManager with no_mplrc.conf, which does not exist > > calling RecursiveConfigManagers write() method > > Here are the contents of no_mplrc.conf: > > > > > > I might

Re: [matplotlib-devel] mpl1 + chaco

2007-07-24 Thread Darren Dale
On Tuesday 24 July 2007 6:43:03 pm Chris Barker wrote: > Sorry to play devil's advocate here, but the question remains -- MPL > developers (John, primarily, I suppose): > > Why not dump MPL1, and work on a nice pylab-like front end to Chaco, > while giving the "love" to the Kiva PS, PDF, SVG back-e

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread Fernando Perez
On 7/24/07, Darren Dale <[EMAIL PROTECTED]> wrote: > Thank you for all you have already done, Fernando. My pleasure. I hope this will be useful for all of us, and that we can offer to users unified mechanisms for dealing with the various pieces of the 'scientific python toolkit' puzzle. > I tri

Re: [matplotlib-devel] mpl1 + chaco

2007-07-24 Thread Chris Barker
Darren Dale wrote: > I need to create plots for qt4 projects at my lab, and I > have grown really accustomed to the quality of mpl's eps So we need QT and EPS. > output when usetex is enabled. Ah! and some good math implementation -- What does Chaco do for that? I know I took part in a discu

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread Darren Dale
On Tuesday 24 July 2007 7:28:59 pm Fernando Perez wrote: > On 7/24/07, Darren Dale <[EMAIL PROTECTED]> wrote: [...] > > Would it be possible to provide some more context for bad > > sections or keys? [...] > now the exception message reads: > > > TConfigInvalidKeyError: ConfigObj with filename: 'm

Re: [matplotlib-devel] mpl1 + chaco

2007-07-24 Thread Peter Wang
On Jul 24, 2007, at 7:31 PM, Chris Barker wrote: >> output when usetex is enabled. > > Ah! and some good math implementation -- What does Chaco do for > that? I > know I took part in a discussion about it on a Chaco list a few years > back -- at the time I argued that you're never going to do

Re: [matplotlib-devel] rcparams/traits

2007-07-24 Thread Fernando Perez
On 7/24/07, Darren Dale <[EMAIL PROTECTED]> wrote: > On Tuesday 24 July 2007 7:28:59 pm Fernando Perez wrote: > :) That should be plenty of information. One comment: if you load mplrc2.conf, > which includes an mplrc.conf with a bogus key, the error indicates the bad > key is in mplrc2.conf. Is th

Re: [matplotlib-devel] mpl1 + chaco

2007-07-24 Thread Gael Varoquaux
On Tue, Jul 24, 2007 at 05:31:17PM -0700, Chris Barker wrote: > > output when usetex is enabled. > Ah! and some good math implementation -- What does Chaco do for that? I > know I took part in a discussion about it on a Chaco list a few years > back -- at the time I argued that you're never g

Re: [matplotlib-devel] mpl1 + chaco

2007-07-24 Thread Bill Baxter
On 7/25/07, Gael Varoquaux <[EMAIL PROTECTED]> wrote: > On Tue, Jul 24, 2007 at 05:31:17PM -0700, Chris Barker wrote: > > > output when usetex is enabled. > > > Ah! and some good math implementation -- What does Chaco do for that? I > > know I took part in a discussion about it on a Chaco list a

Re: [matplotlib-devel] mpl1 + chaco

2007-07-24 Thread Chris Barker
Peter Wang wrote: >> Ah! and some good math implementation -- What does Chaco do for >> that? > We've also had this discussion internally a bit. It usually > concludes with us wishing that someone would just port jsmath to > Python, or implement Knuth's TeX layout rules in Python. :) It lo

Re: [matplotlib-devel] mpl1 + chaco

2007-07-24 Thread Bill Baxter
On 7/25/07, Chris Barker <[EMAIL PROTECTED]> wrote: > Peter Wang wrote: > > We've also had this discussion internally a bit. It usually > > concludes with us wishing that someone would just port jsmath to > > Python, or implement Knuth's TeX layout rules in Python. :) > > It looks like jsmath uses

Re: [matplotlib-devel] mpl1 + chaco

2007-07-24 Thread Gael Varoquaux
On Wed, Jul 25, 2007 at 03:25:36PM +0900, Bill Baxter wrote: > > Well I want TeX. I want to be able to do my TeX hacks on my figures. And > > I do believe there is a lot of work to be done before you can do better > > than TeX. > What kind of TeX hacks do you want to use on figures? My TeX hacks