Re: [Matplotlib-users] py2exe and matplotlib errors when executing exe

2010-05-17 Thread Christoph Gohlke
This is probably the docstring problem mentioned at the bottom of . -- Christoph On 5/17/2010 4:07 PM, New2Python wrote: > > Hi All, > > I hope someone can help, I have run into a few problems when trying to > execute an exe file created when I use py2

[Matplotlib-users] py2exe and matplotlib errors when executing exe

2010-05-17 Thread New2Python
Hi All, I hope someone can help, I have run into a few problems when trying to execute an exe file created when I use py2exe with matplotlib. I have python2.5, matplotlib v0.99.1 and py2exe from GUI2Exe v0.5.0 optimisation is python -OO the files compile correctly however when I execute the exe I

[Matplotlib-users] matplotlib font in cairo

2010-05-17 Thread copyrights
Hallo, I'm try to use MathTextParser output for cairo in my wxpython gui. Works well under ubunutu linux (maybe dublicated font) but fails under windows (screenshot: http://www.ubuntu-pics.de/bild/62985/auswahl_017_RC86gk.png ). How to tell cairo to use the font file from mpl-data? Here some c

Re: [Matplotlib-users] pcolor shading=interp change interpolation method?

2010-05-17 Thread Eric Firing
On 05/17/2010 06:32 AM, Reckoner wrote: > Hi, > > Using the following > > >>> pcolor(x,y,z,shading='interp') > > is it possible to change the interpolation method used? I noticed that > there are set_interpolation methods for images created using > > In [83]: h = imshow( z) > > In [84]: h.set_inte

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 48, Issue 23

2010-05-17 Thread Alan G Isaac
On 5/17/2010 11:31 AM, Sandy Ydnas wrote: > it gets stuck in all tested by me IDE inclusing Komodo,pythonxy http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show hth, Alan Isaac -- _

Re: [Matplotlib-users] Formatting X-axis

2010-05-17 Thread Malte Dik
Hi, > Is there any API to draw the lines between the labels? > I guess its not possible with this tool. You could use the ticks' properties (one of their children is a matplotlib.lines.Line2D instance which you could modify to your wishes). The second possibility is see is you put a box with on

[Matplotlib-users] pcolor shading=interp change interpolation method?

2010-05-17 Thread Reckoner
Hi, Using the following >>> pcolor(x,y,z,shading='interp') is it possible to change the interpolation method used? I noticed that there are set_interpolation methods for images created using In [83]: h = imshow( z) In [84]: h.set_interpolation? Type: instancemethod Base Class: S

Re: [Matplotlib-users] Formatting X-axis

2010-05-17 Thread rajtendulkar
Is there any API to draw the lines between the labels? I guess its not possible with this tool. -- View this message in context: http://old.nabble.com/Formatting-X-axis-tp28579609p28585415.html Sent from the matplotlib - users mailing list archive at Nabble.com. ---

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 48, Issue 23

2010-05-17 Thread John Hunter
> Wingware is only example that commerciale soft can not solve this problem > never, What does >>> matplotlib.get_backend() report? According to http://www.wingware.com/doc/howtos/matplotlib they are assuming TkAgg. You may also want to read the suggestions at http://matplotlib.sourceforg

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 48, Issue 23

2010-05-17 Thread Sandy Ydnas
Mike, Wingware is only example that commerciale soft can not solv ethis problem never, it gets stuck in all tested by me IDE inclusing Komodo,pythonxy,... is is general problem if Matplotlib even staertd in book as I mentined previoulsy it is impossible after show() to cont

Re: [Matplotlib-users] FW: Matplotlib-users Digest, Vol 48, Issue 19

2010-05-17 Thread Michael Droettboom
Personally, I don't use Wingware, so I don't know any specifics about using matplotlib in that environment. You could try asking this question on a Wingware-related mailing list. Mike Sandy Ydnas wrote: > > > Hello friends, > > no body can answer on first obvious question of Matplotlib???

[Matplotlib-users] align title of subplot with ylabel

2010-05-17 Thread hettling
Dear all, I'm struggling with the following problem plotting my data: I have a figure with two panels next to each other, which I want to label 'A' and 'B'. I want to left-justify my panel labels, but not to the box that contains the plot, but to the y-axis label. I played around with 'text()' an

[Matplotlib-users] FW: Matplotlib-users Digest, Vol 48, Issue 19

2010-05-17 Thread Sandy Ydnas
Hello friends, no body can answer on first obvious question of Matplotlib???! Sandy > From: matplotlib-users-requ...@lists.sourceforge.net > Subject: Matplotlib-users Digest, Vol 48, Issue 19 > To: matplotlib-users@lists.sourceforge.net > Date: Thu, 13 May 2010 18:18:52 +

Re: [Matplotlib-users] imshow memory problem

2010-05-17 Thread Michael Droettboom
On Linux, I only see about an extra 24kb being used when the canvas is added to a window vs. not adding it (i.e. commenting out the window.add(canvas) line). In general, here's the memory usage to be expected from imshow (if it's a floating-point, not-rgb(a) array as you have here): The origin

[Matplotlib-users] imshow memory problem

2010-05-17 Thread Tomáš Faragó
Hello, I am writing a GUI using GTK+ library. I have a question about axes class imshow method memory consumtion. If I pass the imshow an array, the resulting memory consuption is approximatelly 46 times greater than the array size. If I do not add the canvas to a window (in a code below), the m

Re: [Matplotlib-users] Licence Question

2010-05-17 Thread John Hunter
On Mon, May 17, 2010 at 8:28 AM, Craig Lyndon wrote: > Hi All, > > Im new to matplotlib, and I love it, but I have a question about the > Licence agreement. > I am wanting to develop a commercial closed source application for my > company using python and matplotlib. > > I have tried reading the L

[Matplotlib-users] Licence Question

2010-05-17 Thread Craig Lyndon
Hi All, Im new to matplotlib, and I love it, but I have a question about the Licence agreement. I am wanting to develop a commercial closed source application for my company using python and matplotlib. I have tried reading the Licence agreement, but have trouble understanding it. Could someone p

Re: [Matplotlib-users] Formatting numbers with exponent with matplotlib

2010-05-17 Thread Darren Dale
On Mon, May 17, 2010 at 6:04 AM, Ralph Kube wrote: > Hello folks. > I am trying to teach pylab to use latex to write numbers with an > exponent in the plot legend. > So far my plot labels are formatted with scientific notation, where > I use the format operate: > > import pylab > ra_list,b = data

[Matplotlib-users] crop white space of image

2010-05-17 Thread Ruben Moor
Hello, I plot views of 3D data without axis. The plotting results usually in plenty of surrounding white space. Is there an easy way to get rid of it (easy meaning without having to keep track of the spacial extension of my 3D data) ? Thanks in advance, Ruben -

[Matplotlib-users] Formatting numbers with exponent with matplotlib

2010-05-17 Thread Ralph Kube
Hello folks. I am trying to teach pylab to use latex to write numbers with an exponent in the plot legend. So far my plot labels are formatted with scientific notation, where I use the format operate: import pylab ra_list,b = data pylab.plot(ra_list,b, label='Ra = ' + "{0:4.2e}".format(ra_list[i])