[Matplotlib-users] Matplotlib and pycairo

2011-02-05 Thread Charles Roduit
Dear all, I want to generate a pdf with some text and graphics. Since I use matplotlib to make plot through the graphical user interface, I want to embed these graphs directly into a cairo (or pangocairo) instance. But I cannot manage. I send a small example. If you can help me import

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

2011-02-05 Thread Jorge Scandaliaris
Jorge Scandaliaris jorgesmbox-ml@... writes: snip The symptoms are that the interaction (keys and mouse clicks) works OK as long as I don't resize the window. Once I do this, the interaction is gone. What happens when the window is resized, that could be related to what I experience.

Re: [Matplotlib-users] Trouble with imshow

2011-02-05 Thread Eric Firing
On 02/04/2011 02:03 PM, Christoph Gohlke wrote: [...] How about these changes to color.py (attached). This avoids copies, uses in-place operations, and calculates single precision when normalizing small integer and float32 arrays. Similar could be done for LogNorm. Do masked arrays support

[Matplotlib-users] Warning: formlayout requires PyQt4 v4.3

2011-02-05 Thread vcgarcia
Hey all, I try to create a .exe file using py2exe, but this error shows up when i try to run the created file .exe: Traceback (most recent call last): File ModeloPitzer.py, line 2, in module File zipextimporter.pyo, line 82, in load_module File matplotlib\pyplot.pyo, line 95, in module

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

2011-02-05 Thread Paul Leopardi
Hi all, I'm having trouble using multiple figures with mplot3d. Once each new figure is plotted, the plots from new figure is also displayed in all of the old figures. For example, once the plot for figure 2 has finished, the plot fo figure 1 is replaced by a copy of the plot for figure 2, and