Re: [Matplotlib-users] Problem with events and window resizing

2011-02-07 Thread Jorge Scandaliaris
2011/2/8 Benjamin Root > > > Hmm, interesting observation. There is very little in mpl that limits your > ability to produce elements for plotting (which is probably why you were > getting shrugs from the mailing list...). However, ipython has various > "tricks" for caching mpl elements, and ca

Re: [Matplotlib-users] Problem with events and window resizing

2011-02-07 Thread Benjamin Root
On Mon, Feb 7, 2011 at 7:09 PM, Jorge Scandaliaris wrote: > Jorge Scandaliaris writes: > > < snip > > > So, I modified the lasso_demo, increasing progressively the number > polygons > > drawn. When I reached 10 polygons, I was able to reproduce the > problem. > > It's > > true that this a rat

Re: [Matplotlib-users] Problem with events and window resizing

2011-02-07 Thread Jorge Scandaliaris
Jorge Scandaliaris writes: < snip > > So, I modified the lasso_demo, increasing progressively the number polygons > drawn. When I reached 10 polygons, I was able to reproduce the problem. > It's > true that this a rather large number, but in my code it happens well below > this > number, ma

Re: [Matplotlib-users] segmentation fault..

2011-02-07 Thread Attila Kiss
> > Can you get us a gdb backtrace? > > Type "gdb python" at the prompt, then at the gdb prompt, type "r > /usr/bin/ipython -pylab". After it segfaults, type "bt" to get a > backtrace, and send the output to this list. > > Mike > > On 10/01/2010 07:04 AM, Eric Emsellem wrote: > > Hi > > >

Re: [Matplotlib-users] imshow() with a colorbar?

2011-02-07 Thread Daniel Mader
Thanks a lot Thomas, besides that it should be fig.colorbar(im) instead of ax.colorbar(im) the example works great! Best regards, Daniel 2011/2/7 Eric Firing > On 02/07/2011 10:48 AM, Daniel Mader wrote: > > Hi, > > > > I am trying to add a (configurable) colorbar to a an array which I > > s

Re: [Matplotlib-users] imshow() with a colorbar?

2011-02-07 Thread Eric Firing
On 02/07/2011 10:48 AM, Daniel Mader wrote: > Hi, > > I am trying to add a (configurable) colorbar to a an array which I > simply plot with imshow(). > > Could anyone please help me how to enhance it with a colorbar? Check out the gallery; several examples there use a colorbar. http://matplotlib.

[Matplotlib-users] imshow() with a colorbar?

2011-02-07 Thread Daniel Mader
Hi, I am trying to add a (configurable) colorbar to a an array which I simply plot with imshow(). Could anyone please help me how to enhance it with a colorbar? import scipy,pylab import matplotlib.cm as cm # colormaps import matplotlib.colors as col # colormaps dat = scipy.array([[1,2,3,4],[5,

Re: [Matplotlib-users] Problem with events and window resizing

2011-02-07 Thread Jorge Scandaliaris
Jorge Scandaliaris writes: < snip > > I couldn't come up with a simple example showing the problem. My attempts so > far > ended in working examples. I did find a change in my code that triggers the > problem: My code uses a modified version of the lasso_demo example, contains > two > axes, whe

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Michael Anselmi
On 02/07/2011 11:58 AM, Jouni K. Seppänen wrote: > Jouni Seppänen writes: > >> In the meantime, I will commit a quick workaround that just disables >> the fonts we can't handle instead of aborting with an assert. > > Now committed in revision 8955 (1.0 maintenance branch) and 8956 > (svn trunk).

Re: [Matplotlib-users] issues when saving files - no automatic extension added in dialog

2011-02-07 Thread Eric Firing
On 02/07/2011 05:47 AM, Carlos Grohmann wrote: > Hello all, > > I'm developing a software for Geology, using wxpython for the GUI. > When I want to export any graphics, clicking on the > "save" button on the MPL toolbar, I get a dialog to save the file > (with a default "image.png" filename) and wh

Re: [Matplotlib-users] EMF support?

2011-02-07 Thread Eric Firing
On 02/07/2011 05:21 AM, Carlos Grohmann wrote: > Hello there > > Is there support for exporting graphics as EMF files? > >> From what I've seen it seems to be discontinued. > > best > > Carlos > > > Carlos, There is still a backend_emf.py, but I don't think it was ever complete (for example, it

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Jouni K . Seppänen
Jouni Seppänen writes: >In the meantime, I will commit a quick workaround that just disables >the fonts we can't handle instead of aborting with an assert. Now committed in revision 8955 (1.0 maintenance branch) and 8956 (svn trunk). Please test on your system. Index: lib/matplotlib/dviread.py

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Alex
On 07.02.2011 17:17, Jouni K. Seppänen wrote: > Jouni Seppänen writes: > >> I filed this in the bug tracker: >> https://sourceforge.net/tracker/?func=detail&aid=3175113&group_id=80706&atid=560720 > > I installed TeX Live 2010 on my Mac in order to test this, but > mysteriously, the pdftex.map fil

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Jouni K . Seppänen
Jouni Seppänen writes: > I filed this in the bug tracker: > https://sourceforge.net/tracker/?func=detail&aid=3175113&group_id=80706&atid=560720 I installed TeX Live 2010 on my Mac in order to test this, but mysteriously, the pdftex.map file does not have a line for pbkdo8y. The closest match is

[Matplotlib-users] issues when saving files - no automatic extension added in dialog

2011-02-07 Thread Carlos Grohmann
Hello all, I'm developing a software for Geology, using wxpython for the GUI. When I want to export any graphics, clicking on the "save" button on the MPL toolbar, I get a dialog to save the file (with a default "image.png" filename) and where I can choose between some file formats. When I select

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Jouni Seppänen
On Feb 7, 2011, at 17:12 , Michael Anselmi wrote: > On 02/07/2011 10:06 AM, Jouni K. Seppänen wrote: >> Can you send me the pdftex.map file off-list? >> >> Thanks for the bug report, > > Certainly. See attached. Thanks. It looks like there is one font for which two encoding files are specifie

[Matplotlib-users] EMF support?

2011-02-07 Thread Carlos Grohmann
Hello there Is there support for exporting graphics as EMF files? >From what I've seen it seems to be discontinued. best Carlos -- Prof. Carlos Henrique Grohmann - Geologist D.Sc. Institute of Geosciences - Univ. of São Paulo, Brazil http://www.igc.usp.br/pessoais/guano http://lattes.cnpq.b

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Jouni K . Seppänen
Michael Anselmi writes: > When trying to save a matplotlib figure as a PDF with `text.usetex = > True' in `matplotlibrc', at some point the `PsfontsMap' function in > `dviread.py' attempts to parse TeX Live 2010's `pdftex.map' file and > fails. Can you send me the pdftex.map file off-list? Than

Re: [Matplotlib-users] Multiple mplot3d figures: new plots display over old ones?

2011-02-07 Thread Paul Leopardi
Hi all, On Sun, 6 Feb 2011 03:54:48 PM Paul Leopardi wrote: > I'm having trouble using multiple figures with mplot3d. I have appended an entire example script, below. The script incrementally plots 3 curves, one in each of 3 figure windows. The trouble is, once Figure 2 has finished plotting, th