Re: [matplotlib-devel] GTK pylab console

2008-07-01 Thread Nicolas Rougier
Hi, I've added some basic support for readline shortcuts: Ctrl-A: start of line Ctrl-E: end of line Ctrl-K: kill from cursor to end of line Ctrl-Y: yank kill buffer Ctrl-L: clear console I've also added an option for displaying the toolbar(2). Usage is now: pycons [--ipython] [--pylab]

Re: [matplotlib-devel] axes_class in add_subplot()?

2008-07-01 Thread Michael Droettboom
Sounds ok to me. One thing to clarify though -- what to do if both "projection" and "axes_class" are provided? Throw an exception? I have a small problem with the name "axes_class" because it is very non-obvious that it corresponds to "projection". Perhaps we should either 1) overload projec

Re: [matplotlib-devel] Latex Documentation build errors - possibly scale_docs

2008-07-01 Thread Sandro Tosi
Hi Chris, > I'm using the svn version of the docs on a debian system with > matplotlib 0.98.1 and sphinx 0.4. here the same with 0.91.2 > Latex hangs ( but can be made to continue by pressing return) at the > following point: > > Underfull \hbox (badness 1) in paragraph at lines 17819--1782

Re: [matplotlib-devel] GTK pylab console

2008-07-01 Thread David Trem
Hi Nicolas, Your pycons is great! I has to correct a small issue in the tar.gz from your website before being able to test pycons: I had to change: "import gtk_console.console as cons" to "import console as cons" in pycons file around line 12. After that I can report pycons is running on my

Re: [matplotlib-devel] Latex Documentation build errors - possibly scale_docs

2008-07-01 Thread Darren Dale
On Tuesday 01 July 2008 08:21:10 am Sandro Tosi wrote: > Hi Chris, > > > I'm using the svn version of the docs on a debian system with > > matplotlib 0.98.1 and sphinx 0.4. > > here the same with 0.91.2 You need to install 0.98.svn to work with the sphinx-based docs. Darren -

Re: [matplotlib-devel] Latex Documentation build errors - possibly scale_docs

2008-07-01 Thread Sandro Tosi
On Tue, Jul 1, 2008 at 14:42, Darren Dale <[EMAIL PROTECTED]> wrote: > On Tuesday 01 July 2008 08:21:10 am Sandro Tosi wrote: >> Hi Chris, >> >> > I'm using the svn version of the docs on a debian system with >> > matplotlib 0.98.1 and sphinx 0.4. >> >> here the same with 0.91.2 > > You need to ins

Re: [matplotlib-devel] GTK pylab console

2008-07-01 Thread Nicolas Rougier
Thanks, I changed the license to a BSD one, hope this is compatible with matplotlib. I also changed the module name from 'gtk_console' to pycons since it makes more sense. I also tried to remove the gtk_console.console (now this is pycons.console) in favor of console but it does not work as exp

Re: [matplotlib-devel] Latex Documentation build errors - possibly scale_docs

2008-07-01 Thread Darren Dale
On Tuesday 01 July 2008 08:44:32 am Sandro Tosi wrote: > On Tue, Jul 1, 2008 at 14:42, Darren Dale <[EMAIL PROTECTED]> wrote: > > On Tuesday 01 July 2008 08:21:10 am Sandro Tosi wrote: > >> Hi Chris, > >> > >> > I'm using the svn version of the docs on a debian system with > >> > matplotlib 0.98.1

Re: [matplotlib-devel] GTK pylab console

2008-07-01 Thread David Trem
Sorry for the trouble, I started testing your "old" pylab wich was provided without the setup script, which led me testing pycons from the pycons folder itself (no setup.py install done). Pycons was actually working fine. However, I encounter problem when closing the console with a graph inside

Re: [matplotlib-devel] GTK pylab console

2008-07-01 Thread John Hunter
On Tue, Jul 1, 2008 at 5:31 AM, Nicolas Rougier <[EMAIL PROTECTED]> wrote: > There is now a installable package (pycons.tgz) available from: > > http://www.loria.fr/~rougier/pycons.html Cool, this is working for me now. Very nice. Two more comments: You must override draw_if_interactive *befor

Re: [matplotlib-devel] GTK pylab console

2008-07-01 Thread John Hunter
On Tue, Jul 1, 2008 at 8:37 AM, David Trem <[EMAIL PROTECTED]> wrote: > Thanks you very much considering my license request! > I don't think there could be license issue with matplotlib since it is > also using a quite permissive license. Could the matplotlib gurus > comment on that? Yes, the BSD

Re: [matplotlib-devel] GTK pylab console

2008-07-01 Thread Fernando Perez
On Tue, Jul 1, 2008 at 6:01 AM, Nicolas Rougier <[EMAIL PROTECTED]> wrote: > > > Thanks, > > I changed the license to a BSD one, hope this is compatible with > matplotlib. I also changed the module name from 'gtk_console' to pycons > since it makes more sense. Beautiful work, and many thanks for t

Re: [matplotlib-devel] axes_class in add_subplot()?

2008-07-01 Thread Jae-Joon Lee
I picked "axes_class" because this is what is used in "subplot_class_factory" function. I rather prefer "axes_class" because, IMO, subclassing of Axes is not only for a new projection. For example, I have a simple subclass of Axes where I have "baseline"-aligned x-ticklabels (instead of "top" align

Re: [matplotlib-devel] GTK pylab console

2008-07-01 Thread Nicolas Rougier
Thanks, corrected. I just forgot the pylab import, it has been corrected as well. Nicolas On Tue, 2008-07-01 at 08:38 -0500, John Hunter wrote: > On Tue, Jul 1, 2008 at 5:31 AM, Nicolas Rougier > <[EMAIL PROTECTED]> wrote: > > > There is now a installable package (pycons.tgz) available from: >

Re: [matplotlib-devel] GTK pylab console

2008-07-01 Thread Nicolas Rougier
The "help()" freeze is not really a freeze since you can type input within the terminal from where you started pycons. I managed to find that the IPython import was responsible for this behavior for some unknown reason. If you remove all reference to IPython in the pycons file, then you got the ex

Re: [matplotlib-devel] GTK pylab console

2008-07-01 Thread Nicolas Rougier
I'm not yet on the ipython-dev but I read the archive to check progress on ipython1 and I get a bit lost with the redesign. The backend/frontend will definitely help to embed ipython. Where can I get the latest version (with wx for example) so I can try to code the GTK one ? Concerning the colors

Re: [matplotlib-devel] GTK pylab console

2008-07-01 Thread Fernando Perez
On Tue, Jul 1, 2008 at 1:34 PM, Nicolas Rougier <[EMAIL PROTECTED]> wrote: > > I'm not yet on the ipython-dev but I read the archive to check progress > on ipython1 and I get a bit lost with the redesign. The backend/frontend > will definitely help to embed ipython. Where can I get the latest > ver