[matplotlib-devel] [ANN] FEMTEC: Trac on open source scientific software

2011-01-30 Thread Gael Varoquaux
Hi list, This is just a note that an extra track at FEMTEC, a conference for computational methods in engineering and science, is open for open source scientific software. The organisers have a taste for Python, so if you want to submit a paper on numerical methods with Python, this is an

[matplotlib-devel] [Ann] EuroScipy 2011 - Call for papers

2011-01-20 Thread Gael Varoquaux
= Announcing EuroScipy 2011 = - The 4th European meeting on Python in Science - **Paris, Ecole Normale Supérieure, August 25-28 2011** We are happy to announce

Re: [matplotlib-devel] Backend for Pyside

2011-01-18 Thread Gael Varoquaux
On Tue, Jan 18, 2011 at 11:13:47PM -0700, Jed Ludlow wrote: Please forgive me if I'm raising a heretical question with this since I understand the�topic of competing Qt bindings for Python gets a little touchy in and of itself. [...] Has there been any additional discussion

Re: [matplotlib-devel] A small fix for backend specification...

2010-08-25 Thread Gael Varoquaux
On Wed, Aug 25, 2010 at 02:57:50PM -0700, Fernando Perez wrote: [1] teaser for the curious: http://fperez.org/tmp/ipython_qt_pylab.png. All code is in the 'newkernel' github branch. Special credits to Evan Patterson from Enthought, the Qt brains behind the magic. Freeking awesome! Go go

[matplotlib-devel] EuroScipy abstract submission deadline extended

2010-05-17 Thread Gael Varoquaux
Given that we have been able to turn on registration only very late, the EuroScipy conference committee is extending the deadline for abstract submission for the 2010 EuroScipy conference. On Thursday May 20th, at midnight Samoa time, we will turn off the abstract submission on the conference

[matplotlib-devel] [sympy] EuroScipy abstract submission deadline extended

2010-05-16 Thread Gael Varoquaux
Given that we have been able to turn on registration only very late, the EuroScipy conference committee is extending the deadline for abstract submission for the 2010 EuroScipy conference. On Thursday May 20th, at midnight Samoa time, we will turn off the abstract submission on the conference

[matplotlib-devel] EuroScipy is finally open for registration

2010-05-13 Thread Gael Varoquaux
Registration for EuroScipy http://www.euroscipy.org//conference/euroscipy2010 is finally open To register, go to the website http://www.euroscipy.org//conference/euroscipy2010, create an account, and you will see a /‘register to the conference’/ button on the left. Follow it to a page

Re: [matplotlib-devel] [Numpy-discussion] Announcing toydist, improving distribution and packaging situation

2010-01-03 Thread Gael Varoquaux
On Sun, Jan 03, 2010 at 03:05:54AM -0800, Nathaniel Smith wrote: What I do -- and documented for people in my lab to do -- is set up one virtualenv in my user account, and use it as my default python. (I 'activate' it from my login scripts.) The advantage of this is that easy_install (or pip)

Re: [matplotlib-devel] [Numpy-discussion] Announcing toydist, improving distribution and packaging situation

2009-12-29 Thread Gael Varoquaux
On Tue, Dec 29, 2009 at 11:34:44PM +0900, David Cournapeau wrote: Buildout, virtualenv all work by sandboxing from the system python: each of them do not see each other, which may be useful for development, but as a deployment solution to the casual user who may not be familiar with python, it

Re: [matplotlib-devel] [SciPy-dev] Announcing toydist, improving distribution and packaging situation

2009-12-28 Thread Gael Varoquaux
On Mon, Dec 28, 2009 at 02:29:24PM -0500, Neal Becker wrote: Perhaps this could be useful: http://checkinstall.izto.org/ Yes, checkinstall is really cool. However, I tend to prefer things with no magic that I don't have to sandbox to know what they are doing. This is why I am also happy to hear

[matplotlib-devel] Typo in matplotlib/image.py

2009-12-24 Thread Gael Varoquaux
Line 157 of image.py, there is a typo: Index: matplotlib/image.py === --- matplotlib/image.py (revision 8036) +++ matplotlib/image.py (working copy) @@ -144,7 +144,7 @@ sy = dyintv/viewlim.height numrows, numcols =

Re: [matplotlib-devel] Typo in matplotlib/image.py

2009-12-24 Thread Gael Varoquaux
On Thu, Dec 24, 2009 at 03:53:29PM -1000, Eric Firing wrote: It looks like someone already has, as part of additional changes. SVN is now at 8052, and I don't see the problem in either the maintenance branch or the trunk. Indeed, my mistake. I thought that I had svn uped, but seems like

[matplotlib-devel] [Ann] EuroScipy 2010

2009-12-13 Thread Gael Varoquaux
== Announcing EuroScipy 2010 == --- The 3rd European meeting on Python in Science --- **Paris, Ecole Normale Supérieure, July 8-11 2010** We are happy

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread Gael Varoquaux
On Mon, Nov 09, 2009 at 08:21:30AM -0800, Andrew Straw wrote: Hi All, I have addressed what I think is a long-standing wart: zorder is mostly ignored for imshow(). (See e.g. http://old.nabble.com/Re%3A--Matplotlib-users--imshow-zorder-tt19047314.html#a19047314 ) The question is

Re: [matplotlib-devel] default q shortcut?

2009-10-21 Thread Gael Varoquaux
On Wed, Oct 21, 2009 at 09:23:54AM +0200, Georg Brandl wrote: Hi, one thing I missed when I switched from Gnuplot to matplotlib was that I can't press q to close a window but have to use the window manager; in one environment I work in that means I have to use the mouse to close a window. I

[matplotlib-devel] Can't save pdfs with MPL devel under Jaunty

2009-08-30 Thread Gael Varoquaux
It must be me being stupid build MPL under the latest Ubuntu (has it become harder lately? I have this impression), but I can't save pdfs with a development version of MPL: /home/varoquau/dev/matplotlib/lib/matplotlib/backends/backend_pdf.py in module() 42 from matplotlib.transforms import

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-30 Thread Gael Varoquaux
On Sat, Aug 29, 2009 at 10:45:31PM -0500, John Hunter wrote: I've tried to apply your code properly. Because it was not a patch, but a simple code file submission (and the original files have changed since your submission) and because I did not write the original ginput code, it was touch

Re: [matplotlib-devel] Can't save pdfs with MPL devel under Jaunty

2009-08-30 Thread Gael Varoquaux
On Sun, Aug 30, 2009 at 01:35:47PM +0300, Jouni K. Seppänen wrote: Gael Varoquaux gael.varoqu...@normalesup.org writes: ImportError: /home/varoquau/dev/matplotlib/lib/matplotlib/ttconv.so: undefined symbol: _ZN14TTStreamWriter7putcharEi Does anybody know what I am doing wrong? I just

Re: [matplotlib-devel] writing plain text to multi page pdf

2009-08-27 Thread Gael Varoquaux
On Thu, Aug 27, 2009 at 04:57:55PM -0500, John Hunter wrote: One of my colleagues want to use PdfPages to create several mpl figures in one pdf document. It would be nice to be able to write some text in there directly. One could use the matplotlib.text.Text and add it to your figure, and

Re: [matplotlib-devel] kwdoc processing with decorators

2009-08-13 Thread Gael Varoquaux
On Thu, Aug 13, 2009 at 10:12:23AM -0400, Darren Dale wrote: I appreciate how much time has gone into the patch, but this impacts so much code I think it is important to really nail the implementation. I think everything should be rolled up into a single high level decorator if possible. I

Re: [matplotlib-devel] kwdoc processing with decorators

2009-08-13 Thread Gael Varoquaux
On Thu, Aug 13, 2009 at 10:52:24AM -0400, Darren Dale wrote: I am aware of functools.wraps and have used it myself. So far we are only modifying and returning the original function, not a wrapped version of the original, so functools.wraps is not necessary. OK, as I suspected, I was not

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-13 Thread Gael Varoquaux
On Thu, Aug 13, 2009 at 09:30:22AM -0600, Jeff Whitaker wrote: Ariel Rokem wrote: Resending with CC to list: D'oh. I forgot to do that. OK - now I went back and ran: env ARCHFLAGS='-arch i386' python setup.py install That also went with no hitches Then, in Python: import

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-13 Thread Gael Varoquaux
On Tue, Aug 11, 2009 at 07:53:29PM -0400, Jack Sankey wrote: Sorry for spamming, but I have another addition to BlockingMouseInput.add_click, that fixes the problem of the graphics jumping around while ginputting. This makes it much easier to zoom in on an imshow() plot and click a

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-13 Thread Gael Varoquaux
On Thu, Aug 13, 2009 at 11:54:56AM -0500, Dave Peterson wrote: That depends. When doing a python setup.py install where setup.py's setup() function is imported from setuptools instead of distutils, then the setuptools install command deactivates any other eggs in the python

Re: [matplotlib-devel] [IPython-dev] [Enthought-Dev] Ctypes based prototype of PyOS_InputHook for wx 2.8 and 2.9

2009-07-17 Thread Gael Varoquaux
On Fri, Jul 17, 2009 at 02:13:08PM -0600, Ondrej Certik wrote: so I also reduced the sleep in #3 from 0.05 to 0.01 and then #3 is absolutely smooth for me and also pasting to ipython is immediate e.g. this looks like a perfect solution to me. Polling at 100Hz is a horrendous solution from a

Re: [matplotlib-devel] [IPython-dev] IPython proposal: getting rid of ipython -pylab\-wthread\etc.

2009-07-16 Thread Gael Varoquaux
On Thu, Jul 16, 2009 at 08:28:11PM +0300, Ville M. Vainio wrote: On Thu, Jul 16, 2009 at 8:20 PM, Gael Varoquauxgael.varoqu...@normalesup.org wrote: Would it be possible for IPython to expose both solutions for a while (say 6 month to a year), so that we all have time to adapt? You can

Re: [matplotlib-devel] [IPython-dev] IPython proposal: getting rid of ipython -pylab\-wthread\etc.

2009-07-16 Thread Gael Varoquaux
On Thu, Jul 16, 2009 at 10:38:56AM -0700, Brian Granger wrote: But, at some point, we will have to say if you want the old threaded shells, you will have to use an older version of IPython.� We just have to figure out what the transition looks like. As long as the packages sitting

Re: [matplotlib-devel] [IPython-dev] IPython proposal: getting rid of ipython -pylab\-wthread\etc.

2009-07-16 Thread Gael Varoquaux
On Thu, Jul 16, 2009 at 10:45:04AM -0700, Brian Granger wrote: Obviously, the creation of the IApp object should be put into the GUI toolkit initialization code in mpl/mayavi/etc.� I will work with Robin to get a version of wx posted that has the patched applied so people can begin

Re: [matplotlib-devel] [IPython-dev] IPython proposal: getting rid of ipython -pylab\-wthread\etc.

2009-07-16 Thread Gael Varoquaux
On Thu, Jul 16, 2009 at 01:36:21PM -0700, Brian Granger wrote: What versions of what GUI toolkits do we realistically need to support moving forward (today and beyond)?� By this, I mean that: unsupported = older versions of GUIs toolkits that will have to use older versions of

Re: [matplotlib-devel] [IPython-dev] IPython proposal: getting rid of ipython -pylab\-wthread\etc.

2009-07-16 Thread Gael Varoquaux
On Thu, Jul 16, 2009 at 02:34:01PM -0700, Brian Granger wrote: Yes, 2.8 is latest stable, so we should support it.� How many people would complain if 2.6 were not supported?� I take it that all of ETS is 2.8 based? ETS works better on wx 2.8, but it also works on 2.6, with small bugs.

Re: [matplotlib-devel] Ctypes based prototype of PyOS_InputHook for wx 2.8 and 2.9

2009-07-16 Thread Gael Varoquaux
On Thu, Jul 16, 2009 at 03:26:23PM -0700, Brian Granger wrote: I am attaching a working ctypes based prototype of a module that allows wx to be used interactively from *both* python and ipython.� It uses PyOS_InputHook and has been tested on wx 2.8 and 2.9 (trunk) on Mac OS X

Re: [matplotlib-devel] [IPython-dev] [Enthought-Dev] Ctypes based prototype of PyOS_InputHook for wx 2.8 and 2.9

2009-07-16 Thread Gael Varoquaux
On Thu, Jul 16, 2009 at 11:27:51PM -0600, Ondrej Certik wrote: and I didn't notice any speed difference --- e.g. it's as slow as regular mayavi with ipython -wthread. :) Nice, nice! Test the volume_slicer example, with latest release, please. That should be a good test. Gaël

[matplotlib-devel] [ANN] Announcing the SciPy conference schedule

2009-07-15 Thread Gael Varoquaux
The SciPy conference committee is pleased to announce the schedule of the conference: http://conference.scipy.org/schedule This year’s program is very rich. In order to limit the number of interesting talks that we had to turn down, we decided to reduce the length of talks. Although this results

Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-11 Thread Gael Varoquaux
On Sat, Jul 11, 2009 at 08:10:23AM -1000, Eric Firing wrote: OK, I tried again in svn 7256. I think this is a little cleaner. More diagnostic information could still be added to the exception messages if this is going to be a continuing problem. It seems to work for me in all the

Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-11 Thread Gael Varoquaux
On Sat, Jul 11, 2009 at 12:49:03PM -0500, John Hunter wrote: Can you do an 'import wxversion; print wxversion.__file__', so that we understand better why you are getting these warnings. In [1]: import wxversion In [2]: print wxversion.__file__

Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-11 Thread Gael Varoquaux
On Sat, Jul 11, 2009 at 12:38:13PM -0500, John Hunter wrote: If I can speak for the typical user, these kinds of warnings are usually annoying and not that helpful. I am a naive wx user -- I installed it many moons ago from a binary when I installed python and haven't thought about it since.

Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-11 Thread Gael Varoquaux
On Sat, Jul 11, 2009 at 08:18:25AM -1000, Eric Firing wrote: Thank you for the testing and reporting. I don't normally use wx and I am not willing to fiddle with multiple versions of it, so I am working almost blind on this. I use wx a lot, and with MPL embedded in other programs, so I am

[matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-10 Thread Gael Varoquaux
It seems that matplotlib needs the following patch for wxPython 2.8 (traceback hard to replicate, as you need to import wx before importing matplotlib): Index: lib/matplotlib/backends/backend_wx.py === ---

Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-10 Thread Gael Varoquaux
On Fri, Jul 10, 2009 at 08:12:14AM -1000, Eric Firing wrote: Gael Varoquaux wrote: It seems that matplotlib needs the following patch for wxPython 2.8 (traceback hard to replicate, as you need to import wx before importing matplotlib): Index: lib/matplotlib/backends/backend_wx.py

Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-10 Thread Gael Varoquaux
On Fri, Jul 10, 2009 at 09:41:30AM -1000, Eric Firing wrote: OK, but right now MPL is broken with my version of wxversion, which is the one shipped by default in Ubuntu. So it is broken for a lot of user. Are you sure? Could you be pulling in some other wxversion? The only other person

Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-10 Thread Gael Varoquaux
On Fri, Jul 10, 2009 at 11:05:24PM +0200, Gael Varoquaux wrote: Committed to svn. Please check it. Certainly does work betters. Actually, I beg your pardon, but it does not really work: if you have 2.6 and 2.8 installed, it will still import 2.6, which is not what you want. Here is a patch

[matplotlib-devel] crazy ideas for MPL (was: scipy conference)

2009-07-01 Thread Gael Varoquaux
On Wed, Jul 01, 2009 at 08:39:30AM -0500, John Hunter wrote: Anyone interested? And if so, feel free to suggest topics or weigh in on some I listed. Actually, I have something I would like to discuss, but never really could pull myself together to do it. I don't have time right now, but I am

[matplotlib-devel] SciPy abstract submission deadline extended

2009-06-27 Thread Gael Varoquaux
Greetings, The conference committee is extending the deadline for abstract submission for the Scipy conference 2009 one week. On Friday July 3th, at midnight Pacific, we will turn off the abstract submission on the conference site. Up to then, you can modify the already-submitted abstract, or

[matplotlib-devel] [ANN] SciPy 2009 conference opened up for registration

2009-06-19 Thread Gael Varoquaux
We are finally opening the registration for the SciPy 2009 conference. It took us time, but the reason is that we made careful budget estimations to bring the registration cost down. We are very happy to announce that this year registration to the conference will be only $150, sprints $100, and

[matplotlib-devel] [Correction] Re: [ANN] SciPy 2009 conference opened up for registration

2009-06-19 Thread Gael Varoquaux
Please excuse me for incorrect information in my announcement: On Fri, Jun 19, 2009 at 04:01:58PM +0200, Gael Varoquaux wrote: We are very happy to announce that this year registration to the conference will be only $150, sprints $100, and students get half price! This should read

Re: [matplotlib-devel] mplot3d update

2009-06-08 Thread Gael Varoquaux
On Mon, Jun 08, 2009 at 10:30:09AM -0700, Fernando Perez wrote: Reinier, I'm sure if you ping Gael he'd be happy to share some thoughts with you, he's very interested in code reusability (he may be on this list for all I know, but I did CC him just to be safe). I am around. :) Have a look at

Re: [matplotlib-devel] traits?

2009-05-18 Thread Gael Varoquaux
On Mon, May 18, 2009 at 10:41:22PM -0400, Darren Dale wrote: I had tried to work things out so mpl would only install traits if traits wasn't already installed, or if the installed version had also been provided by mpl. That turned out to be insufficient to avoid the problems [...]

[matplotlib-devel] Colormaps modifying inplace the input argument?

2009-04-19 Thread Gael Varoquaux
It seems that the colormaps are now modifying inplace the input arguments: resting ~ $ ipython -pylab Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49) Type copyright, credits or license for more information. IPython 0.9.1 -- An enhanced Interactive Python. ? - Introduction and overview

[matplotlib-devel] [patch] fix for sphinxext on recent versions of sphinx

2009-03-27 Thread Gael Varoquaux
Here is a patch to fix a trivial problem I am having using the plot directive under recent versions of sphinx (0.6b1). Ga�l Index: lib/matplotlib/sphinxext/plot_directive.py === --- lib/matplotlib/sphinxext/plot_directive.py

Re: [matplotlib-devel] File format for plots

2009-03-02 Thread Gael Varoquaux
On Mon, Mar 02, 2009 at 01:49:38PM -0600, Ryan May wrote: Other than the automatic regeneration from latex, what you want sounds like what we already have: small python scripts. In general, I'm completely amazed by how many people want to develop a new markup/script language to

Re: [matplotlib-devel] plot directive in reST tutorials

2009-02-16 Thread Gael Varoquaux
On Mon, Feb 16, 2009 at 01:26:40PM -0500, Michael Droettboom wrote: The official version of the plot directive should IMO end up either in Sphinx or matplotlib repository. It's probably OK to require matplotlib SVN version to build Scipy docs for a while... I think it makes the most sense

Re: [matplotlib-devel] Sphinx custom extension mess, and patches

2009-02-16 Thread Gael Varoquaux
On Tue, Feb 17, 2009 at 12:17:17AM +0100, Georg Brandl wrote: I'm all for it. In the case of autosummary, I'm guilty of not getting it in sooner. This will change soon. In other cases, I don't even know of the extension, probably because those who write it deem it as too project-specific to

Re: [matplotlib-devel] Interactive wx/pylab with no threads (PyOS_InputHook)

2009-02-08 Thread Gael Varoquaux
On Sun, Feb 08, 2009 at 04:08:31PM -0800, Brian Granger wrote: * In the current matplotlib backend wx.Yield() is called in a way that is not safe as far as protecting against recursive calls to Yield. I think it should be called in this way: app = wx.GetApp() if app is not None:

Re: [matplotlib-devel] Doc changes

2008-12-17 Thread Gael Varoquaux
On Wed, Dec 17, 2008 at 12:25:12PM -0600, John Hunter wrote: Thanks again, sorry that was such a bear. Hopefully the plot directive emerges stronger from the carnage. Talking about that, last time I looked, the plot directive, and the other MPL sphinx extension were not in the matplotlib

Re: [matplotlib-devel] Automated test harness discussion...

2008-12-16 Thread Gael Varoquaux
On Tue, Dec 16, 2008 at 09:12:24AM -0800, Drain, Theodore R wrote: Continued from: requesting permission to remove traits and configobj... Gael, There might be ways to handle these problems. A lot of depends on what we're trying to test. I agree that if we take the example scripts, run

Re: [matplotlib-devel] error installing matplotlib-0.98.5

2008-12-14 Thread Gael Varoquaux
On Sun, Dec 14, 2008 at 07:30:19AM -0800, fraka6 wrote: I have experienced the same problem with easy_install on ubuntu-8.4.10 but it is working with aptitude, so I have done : sudo aptitude install python-matplotlib Yes, but unfortunately, not every OS has a good packaging system like

Re: [matplotlib-devel] error installing matplotlib-0.98.5

2008-12-14 Thread Gael Varoquaux
On Sun, Dec 14, 2008 at 07:33:57PM -0800, fraka6 wrote: It is a little annoying because I wast thinking of using Extension module from distutils.core to create my library setup.py that seems to use easy_install. AFAIK, Extension doesn't need setuptools (setuptools is the libraryy providing

Re: [matplotlib-devel] requesting permission to remove traits and configobj

2008-12-11 Thread Gael Varoquaux
On Thu, Dec 11, 2008 at 01:37:01PM -0800, Andrew Straw wrote: Prabhu Ramachandran has also done similar things for mayavi2 using VTK's image comparison (see compare_image_with_saved_image in https://svn.enthought.com/enthought/browser/Mayavi/trunk/integrationtests/mayavi/common.py ). Yeah,

Re: [matplotlib-devel] Include python-enthought-traits when building matplotlib + build patch

2008-08-28 Thread Gael Varoquaux
On Thu, Aug 28, 2008 at 08:17:26AM -0500, John Hunter wrote: On Thu, Aug 28, 2008 at 6:19 AM, Sandro Tosi [EMAIL PROTECTED] wrote: Enthought suite is used a lot in scientific area, so mpl and enth almost share their users, so have it enabled would be a plus, but we are mainly interested in

Re: [matplotlib-devel] clabel improvements

2008-07-23 Thread Gael Varoquaux
On Wed, Jul 23, 2008 at 09:14:46AM -0500, John Hunter wrote: Related: while I am digging around in there, now is probably the moment for me to integrate Paul Kienzle's comments on start/stop_event_loop in FigureCanvasBase, etc. I am not sure there is a consensus on this. I am currently

Re: [matplotlib-devel] Progress on interactive backend detection

2008-07-19 Thread Gael Varoquaux
On Sat, Jul 19, 2008 at 07:31:19AM +0200, Gael Varoquaux wrote: - show starts a mainloop and is blocking even if there are not windows open. This basically leads to a deadlock where the user cannot interrupt the mainloop. This can probably be easily fixed, and I'll look

Re: [matplotlib-devel] Any short plan for a new release (0.98.2 for real or 0.98.3)?

2008-07-18 Thread Gael Varoquaux
On Fri, Jul 18, 2008 at 07:36:03AM +0200, Gael Varoquaux wrote: On Thu, Jul 17, 2008 at 08:55:59AM -0500, John Hunter wrote: I think we could do a 0.98.3 release. I am right now implementing a wx frontend to ipython, and I can see in the near future a score of people complaining that from

Re: [matplotlib-devel] Any short plan for a new release (0.98.2 for real or 0.98.3)?

2008-07-18 Thread Gael Varoquaux
On Fri, Jul 18, 2008 at 09:15:16AM -0500, John Hunter wrote: ipython Shell.py already hacks wx, gtk, and tk to make sure mpl's mainloop is not going to cause any problems (eg IPython.Shell.hijack_wx). Is there something about the new ipython wx frontend design that requires a different

Re: [matplotlib-devel] Any short plan for a new release (0.98.2 for real or 0.98.3)?

2008-07-18 Thread Gael Varoquaux
On Fri, Jul 18, 2008 at 07:57:25PM +0200, Gael Varoquaux wrote: OK, now what is the way forward. We need to provide the advanced-user for a good control on the backend. We need to provide a way that simply works without changing anything. The same code should run in ipython -pylab, idle

[matplotlib-devel] Matplotlib and latest numpy

2008-07-18 Thread Gael Varoquaux
Hi, Am I wrong, or does matploib not build with current numpy svn? Here is the error message I am getting: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/varoquau/dev/numpy/trunk/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include

Re: [matplotlib-devel] Matplotlib and latest numpy

2008-07-18 Thread Gael Varoquaux
On Sat, Jul 19, 2008 at 01:25:51AM +0200, Gael Varoquaux wrote: Am I wrong, or does matploib not build with current numpy svn? OK, Fernando told me that matplotlib builds fine with latest numpy on his box so Ienquired a bit more. The problem is that the build of matplotlib tries to include

[matplotlib-devel] Progress on interactive backend detection

2008-07-18 Thread Gael Varoquaux
I have implemented a prototype of interactive backend detection. As I proposed earlier, I added an extra rc parameter 'backend_fallback' that allows pyplot to inspect sys.modules on load and try to redirect interactive backends to the appropriate ones. I am attaching a patch, not for inclusion,

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread Gael Varoquaux
On Thu, Jul 17, 2008 at 04:41:36PM +0200, David M. Kaplan wrote: Attached is a new version of the patch that includes ginput, waitforbuttonpress and clabel changes. It is already quite functional, but there are a couple of issues that need improving that I would like to solicit comments on.

Re: [matplotlib-devel] Any short plan for a new release (0.98.2 for real or 0.98.3)?

2008-07-17 Thread Gael Varoquaux
On Thu, Jul 17, 2008 at 08:55:59AM -0500, John Hunter wrote: I think we could do a 0.98.3 release. I am right now implementing a wx frontend to ipython, and I can see in the near future a score of people complaining that from pylab import *; show() crashes it because it calls the wrong

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread Gael Varoquaux
On Thu, Jul 17, 2008 at 04:55:42PM -0400, Paul Kienzle wrote: On Thu, Jul 17, 2008 at 09:44:48PM +0200, David M. Kaplan wrote: Another option would be to create a start_event_loop function like Paul suggested and overload that function in those backends that aren't interactive so that it

[matplotlib-devel] Schedule for the SciPy08 conferencez

2008-07-06 Thread Gael Varoquaux
We have received a large number of excellent contributions for papers for the SciPy 2008 conference. The program committee has had to make a difficult selection and we are happy to bring to you a preliminary schedule: Thursday = **8:00** Registration/Breakfast **8:55** Welcome (Travis

Re: [matplotlib-devel] examples in the axes docs

2008-06-26 Thread Gael Varoquaux
On Thu, Jun 26, 2008 at 01:50:29PM -0500, John Hunter wrote: I noticed Michael just made a commit adding plot directive examples in the doc strings. I think this is a great idea, and very cool, since the html docs for a given function will not only link to a complete code example, but also

[matplotlib-devel] Student sponsorship for the SciPy08 conference

2008-06-26 Thread Gael Varoquaux
We are delighted to announce that the Python Software Foundation has answered our call and is providing sponsoring to the SciPy08 conference. We will use this money to sponsor the registration fees and travel for up to 10 college or graduate students to attend the conference. The PSF did not

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread Gael Varoquaux
On Wed, Jun 11, 2008 at 02:01:59PM -0400, Michael Droettboom wrote: There does seem to be a recent convergence around Sphinx in the Scipy world, and matplotlib seems to be forging ahead a little bit (maybe that's just my impression from being in the middle of matplotlib more so than other

Re: [matplotlib-devel] [Enthought-dev] Python novice stumped by ImportError

2008-06-09 Thread Gael Varoquaux
On Mon, Jun 09, 2008 at 12:04:58PM -0400, Darren Dale wrote: Gael, maybe the following situation caused the trouble: 1) user downloads mpl source 2) builds matplotlib - traits now exists in the temproary build directory 3) installs enthought traits 4) installs matplotlib - traits would not

Re: [matplotlib-devel] [Enthought-dev] Python novice stumped by ImportError

2008-06-09 Thread Gael Varoquaux
On Mon, Jun 09, 2008 at 06:41:08AM -0400, Darren Dale wrote: I think we would rather make traits an external dependency, if it could be easily installed as a separate package by a novice python user. Would it be possible for http://code.enthought.com/projects/traits/ to list specific

Re: [matplotlib-devel] [Enthought-dev] Python novice stumped by ImportError

2008-06-08 Thread Gael Varoquaux
On Sun, Jun 08, 2008 at 06:13:24PM -0400, Darren Dale wrote: Matplotlib's setup scripts are designed to avoid this problem. There are three conditions under which we install traits: 1) Traits is not installed 2) A previous version of traits is installed, but it is a version installed by

Re: [matplotlib-devel] Problem checking if masked arrays are finite in transforms.py

2008-04-24 Thread Gael Varoquaux
Hum, a quite common discussion (we have had it at the nipy sprint, for instance). My feeling is that you want to avoid depending on SVN versions, unless there is a huge gain. The reason is that you loose tester and potential contributors. In addition it makes it harder to get the whole stack in a

Re: [matplotlib-devel] future of mpl documentation

2008-03-25 Thread Gael Varoquaux
On Tue, Mar 25, 2008 at 06:04:41PM -0500, bryce hendrix wrote: How stable is the API? We (Enthought) use endo, a custom tool build on top of docutils, to generate our docs currently. We have talked about changing tools in the past, but the need to extend the tools to understand Traits has

Re: [matplotlib-devel] ginput-like function for an arbitrary blocking function

2008-03-17 Thread Gael Varoquaux
On Mon, Mar 10, 2008 at 11:22:26PM -0400, Jae-Joon Lee wrote: I mostly work in an interactive shell (ipython), and if I simply call a blocking function (like raw_input) from the prompt, it also blocks the event loop of the matplotlib gui backend (it happens for GtkAgg, but not for TKAgg. I'm

Re: [matplotlib-devel] ginput-like function for an arbitrary blocking function

2008-03-10 Thread Gael Varoquaux
On Mon, Mar 10, 2008 at 07:09:03PM -0400, Jae-Joon Lee wrote: I often need to take an input from other sources (I mean, other than matplotlib itself, e.g., raw_input). I don't think running a blocking function, such as a raw_input, without freezing the figure canvas has been easy in

Re: [matplotlib-devel] ginput-like function for an arbitrary blocking function

2008-03-10 Thread Gael Varoquaux
On Mon, Mar 10, 2008 at 07:09:03PM -0400, Jae-Joon Lee wrote: I often need to take an input from other sources (I mean, other than matplotlib itself, e.g., raw_input). I don't think running a blocking function, such as a raw_input, without freezing the figure canvas has been easy in

Re: [matplotlib-devel] A good, interactive plotting package

2008-02-13 Thread Gael Varoquaux
On Wed, Feb 13, 2008 at 11:04:13AM -0500, Paul Kienzle wrote: Is there anybody outside of enthought who are deploying applications based on TraitsUI for Windows/Mac/Linux? I would love to hear about successful examples before committing to more dependencies in our own applications. I, in

Re: [matplotlib-devel] A good, interactive plotting package

2008-02-10 Thread Gael Varoquaux
On Sun, Feb 10, 2008 at 09:41:34AM -0600, John Hunter wrote: It is likely we will support enthought traits for matplotlob figures in the not too distant future -- at that point, many of the plot elements will have UI dialogs for customization, at least for certain backends (Qt and WX most

Re: [matplotlib-devel] ginput: blocking call for mouse input

2008-02-07 Thread Gael Varoquaux
On Thu, Feb 07, 2008 at 11:31:11AM -0500, Paul Kienzle wrote: There are two ways to do this in wx. One is to use eventloop.Dispatch() which waits until the next available event: [...] The other is to trigger a loop.Exit() from the click callback. [...] Very nice. I am impressed.

Re: [matplotlib-devel] ginput: blocking call for mouse input

2008-02-05 Thread Gael Varoquaux
On Tue, Feb 05, 2008 at 07:16:59PM -0500, Paul Kienzle wrote: How about giving flush_events() an until=condition and timeout=n keywords so that flush_events becomes: if timeout 0: set timer event which triggers out_of_time while get next event: process event

Re: [matplotlib-devel] ginput: blocking call for mouse input

2008-02-02 Thread Gael Varoquaux
On Thu, Jan 31, 2008 at 04:41:41PM +0100, Gael Varoquaux wrote: If this seems like a good organization to you, I'll wait for a new patch and then contribute that. Give me a few days, but it will come. Here is the new patch. I added visual feedback when accumulating points. I hope

Re: [matplotlib-devel] 3d support

2008-02-01 Thread Gael Varoquaux
On Fri, Feb 01, 2008 at 02:47:21PM -0800, Mathew Yeates wrote: I looked into VTK and it certainly has good performance and good navigation but another steep learning and probably overkill for interacting with simple 3d plots. Anyone have any thoughts on this? We are working on making

Re: [matplotlib-devel] ginput: blocking call for mouse input

2008-01-31 Thread Gael Varoquaux
On Thu, Jan 31, 2008 at 08:20:37AM -0600, John Hunter wrote: As you know, this has been a much requested feature, I know. I have wanted it pretty badly. and the hard part is to get something working across backends, which it looks like you've done. Looks like it works OK. I would appreciate

Re: [matplotlib-devel] ginput: blocking call for mouse input

2008-01-29 Thread Gael Varoquaux
() Cheers, Gaël On Wed, Jan 30, 2008 at 03:05:13AM +0100, Gael Varoquaux wrote: Hi all, A while ago (a year or so), I was looking for a ginput-like function with matplotlib. For those who don't know what I am talking about, it is a blocking call that can be used in a script to ask the user

[matplotlib-devel] ginput: blocking call for mouse input

2008-01-29 Thread Gael Varoquaux
Hi all, A while ago (a year or so), I was looking for a ginput-like function with matplotlib. For those who don't know what I am talking about, it is a blocking call that can be used in a script to ask the user to enter coordinnate by clicking on the figure. This is incredibly handy, as it allows

Re: [matplotlib-devel] moving to the transforms branch

2008-01-08 Thread Gael Varoquaux
On Tue, Jan 08, 2008 at 04:49:00PM -0500, Michael Droettboom wrote: I don't think UR DOIN IT WRONG is an entirely correct assessment, however. Much of this change can be considered refactoring wrt to the high-level public API. Refactoring is often defined (in test driven development) as

Re: [matplotlib-devel] merging sympy plotting stuff with matplotlib

2008-01-03 Thread Gael Varoquaux
On Mon, Dec 31, 2007 at 12:40:26AM +0100, Ondrej Certik wrote: I think there should be just one 3D plotting library in Python and imho matplotlib should do it. However, we need: * it should be pure python * fast and interactive 3D stuff * needs to work out of the box on linux, mac os x,

Re: [matplotlib-devel] modifying TConfig

2007-12-13 Thread Gael Varoquaux
On Thu, Dec 13, 2007 at 09:30:44AM +0100, Gael Varoquaux wrote: On Wed, Dec 12, 2007 at 06:39:02PM -0700, Fernando Perez wrote: On second thought though: __str__ is the one meant for 'human consumption', while __repr__ is deliberately meant to be much more machine-like. Basically the idea

Re: [matplotlib-devel] modifying TConfig

2007-12-13 Thread Gael Varoquaux
On Thu, Dec 13, 2007 at 09:31:03AM -0500, Darren Dale wrote: It is possible to save the current settings to a file, so only those that deviate from the default are written to the file. By putting the comments on the same line as the data, you encourage users to comment their config files

Re: [matplotlib-devel] modifying TConfig

2007-12-13 Thread Gael Varoquaux
On Thu, Dec 13, 2007 at 03:14:23PM -0800, Christopher Barker wrote: I'm not up on the details of this specific issue, but in general, the idea that: __repr__ is precise and complete __str__ is pretty and readable is a good one. Guys, I agree with all this. It's not about the theory, but

Re: [matplotlib-devel] New flags in IPython, of interest to matplotlib users

2007-12-12 Thread Gael Varoquaux
On Wed, Dec 12, 2007 at 01:36:01AM -0700, Fernando Perez wrote: You can now do this as well: tlon[~] ipython -wthread -pylab --nobanner In [1]: matplotlib.rcParams['backend'] Out[1]: 'WXAgg' Hurray, mayavi and pylab can now easily live together. Thanks heaps Fernando. Gaël

[matplotlib-devel] modifying TConfig

2007-12-12 Thread Gael Varoquaux
Hi, I definetely don't like the fact that .__repr__() and repr() are used all over TConfig for eg storing to file. First of all I would like to modify __repr__ for a TConfig class to give a more synthetic view. I propose to change the current .__repr__() method to .tostring() and to implement a

Re: [matplotlib-devel] Insight on dealing with configuration

2007-12-11 Thread Gael Varoquaux
On Mon, Dec 10, 2007 at 08:23:57AM -0500, Darren Dale wrote: Hi Gael, On Monday 10 December 2007 3:58:48 am Gael Varoquaux wrote: I am about to start a configuration file for mayavi's mlab, and I am strongly considering mimicking matplotlib's way of doing things. I am almost sold

Re: [matplotlib-devel] Insight on dealing with configuration

2007-12-11 Thread Gael Varoquaux
On Tue, Dec 11, 2007 at 07:14:11PM -0500, Darren Dale wrote: RcParamsWrapper was created so we could get matplotlib working with the new config object without a massive rewrite of the entire library. The intention is to use the object-oriented interface internally, and to encourage users to

  1   2   >