Re: [Matplotlib-users] pcolor getting slow

2009-05-28 Thread Eric Firing
jinbo wang wrote: Hi dear users, Recently I found pcolor took tremendously longer to draw a figure than contour or imshow. I am wondering if anyone had the same experience, or anyone knows why? Thank you very much! Yes, pcolor is inherently very slow, but flexible. Imshow is very fast,

[Matplotlib-users] latest pylab matplotlib not working on OSX and python 2.6.2

2009-05-28 Thread Zorg 421
Hello matplotlib users, Using the source tarball on sourceforge (0.98.5.3), having pyqt-4.4.4 working, pyobjc-2.2b2 too (for GUI), but no pygtk at all, pylab does not work (a pylab based script simply display nothing, not even create a window). Embedding in QT4 works fine. even when using

[Matplotlib-users] Question about gridlines

2009-05-28 Thread Pellegrini Eric
Dear all, When writing: f = figure() ... gl = f.gca().get_xgridlines() I always get a list of gridlines independantly of the fact that they are actually drawn or not. Is there an attribute or a method that could inform me whether the gridlines are actually displayed or not ? I

Re: [Matplotlib-users] Printing in wx

2009-05-28 Thread Stefanie Lück
Hi Chris: Thanks for your answer! I try the printing_in_wx.py with Python 2.5, MPlot 0.8 and wxPython 2.8.7.1. and its just crashes after I want to print or preview (unfortunately without any error message) and closes Python. Here's an example of my program: # -*- coding: latin1 -*- import

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-05-28 Thread Darren Dale
On Thu, May 28, 2009 at 7:55 AM, Ole Streicher ole-usenet-s...@gmx.netwrote: Hi again, is there no idea on this topic? Does the update work for you as it should? I am really busy with other things, and can't offer suggestions unless you post a short, simple, standalone script that

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-05-28 Thread Drain, Theodore R
Ole wrote: My interpretation of this is: - the FigureCanvas gets the first resize event and repaints itself (*) - during the repaint it gets the second resize event - since it is already in the repaint process, the second request is ignored (or queued) and returns immediately - this leads to the

[Matplotlib-users] computer modern

2009-05-28 Thread Nicolas Pourcelot
Hi, is there any way to use Computer Modern in any text in matplotlib ? In http://matplotlib.sourceforge.net/users/customizing.html, I read the following : #font.serif : Bitstream Vera Serif, New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus Roman

Re: [Matplotlib-users] mathtext : overrightarrow

2009-05-28 Thread Michael Droettboom
Handling this like an accent is trivial, and handled with the patch below (which I will commit to SVN). Handling this in such a way that the length of the arrow changes based on the size of the underlying text is less straightforward and will take some time to implement. Cheers, Mike Index:

Re: [Matplotlib-users] latest pylab matplotlib not working on OSX and python 2.6.2

2009-05-28 Thread Zorg 421
Oh, removing .matplotlib/matplotlibrc solved this issue. The content of matplotlibrc was really simple, though: -- font.size : 8.0 # # The figure subplot parameters. All dimensions are fraction of the # figure width or height # #figure.subplot.left: 0.125 # the left side of the