[matplotlib-devel] default "q" shortcut?

2009-10-21 Thread Georg Brandl
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 made a custom key handler that does the following: try:

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 > wind

[matplotlib-devel] Problem with negative numbers in EPS files

2009-10-21 Thread Thomas Robitaille
Hi, Running the simple attached test.py script creates a very simple test.eps. Converting this to a pdf file with ps2pdf causes the negative numbers to disappear (except the minus sign). Of course, the PDF backend can be used from the start, but there are situations (e.g. typesetting with

Re: [matplotlib-devel] Problem with negative numbers in EPS files

2009-10-21 Thread Michael Droettboom
See my feedback in the bug report. Mike Thomas Robitaille wrote: > Hi, > > Running the simple attached test.py script creates a very simple > test.eps. Converting this to a pdf file with ps2pdf causes the > negative numbers to disappear (except the minus sign). Of course, the > PDF backend can

Re: [matplotlib-devel] error with basemap and pdf

2009-10-21 Thread Jouni K . Seppänen
Could somebody test that script with current trunk (rev. 7899)? I don't have basemap installed, but I think my latest change might shake out the bug. -- Jouni K. Seppänen http://www.iki.fi/jks -- Come build with us! The

Re: [matplotlib-devel] error with basemap and pdf

2009-10-21 Thread Jeff Whitaker
Jouni K. Seppänen wrote: > Could somebody test that script with current trunk (rev. 7899)? I don't > have basemap installed, but I think my latest change might shake out the > bug. > > Jouni: That test script now crashes with: Traceback (most recent call last): File "testpdf.py", line 28, in

[matplotlib-devel] Should Path objects have an initial MOVETO? (was: error with basemap and pdf)

2009-10-21 Thread Jouni K . Seppänen
Jeff Whitaker writes: > Jouni: That test script now crashes with: > > File "/Users/jwhitaker/lib/python/matplotlib/backends/backend_pdf.py", > line 1214, in pathOperations > raise ValueError, 'Path lacks initial MOVETO' > ValueError: Path lacks initial MOVETO I think this confirms my sus