[Matplotlib-users] Student sponsorship for the SciPy08 conference

2008-06-26 Thread Gael Varoquaux
We are delighted to announce that the Python Software Foundation has answered our call and is providing sponsoring to the SciPy08 conference. We will use this money to sponsor the registration fees and travel for up to 10 college or graduate students to attend the conference. The PSF did not provi

[Matplotlib-users] Linking non framework Tcl/Tk on Mac OS X

2008-06-26 Thread Adam Mercer
Hi I'm trying to track down a problem present in MacPorts Matplotlib build and the TkAgg backend. It appears that Matplotlib is linking against the system Tcl/Tk in /System/Library/Frameworks and not the non-framework Tcl/Tk installed by MacPorts, as to be expected this is causing segfaults when t

Re: [Matplotlib-users] matplotlib have "point in a polygon" test?

2008-06-26 Thread David Goldsmith
Excellent, thanks! Just reinforces my belief that in Python, if you need to do something, chances are the Python tool for it already exists in the Public Domain! I love Python! DG --- On Thu, 6/26/08, David Warde-Farley <[EMAIL PROTECTED]> wrote: > From: David Warde-Farley <[EMAIL PROTECTED]

Re: [Matplotlib-users] matplotlib have "point in a polygon" test?

2008-06-26 Thread David Warde-Farley
On 26-Jun-08, at 11:37 PM, David Goldsmith wrote: > Hi! Does matplotlib have already implemented a method to return > true/false according as a provided point is inside a provided > polygon? Thanks! In [15]: help matplotlib.nxutils ---> help(matplotlib.nxutils) Help on module matplotli

[Matplotlib-users] matplotlib have "point in a polygon" test?

2008-06-26 Thread David Goldsmith
Hi! Does matplotlib have already implemented a method to return true/false according as a provided point is inside a provided polygon? Thanks! DG - Check out the new SourceForge.net Marketplace. It's the best plac

Re: [Matplotlib-users] alpha blending with vector graphics

2008-06-26 Thread John Hunter
On Thu, Jun 26, 2008 at 8:26 PM, Sasha Gutfraind <[EMAIL PROTECTED]> wrote: > pylab.scatter([1],[1],s=1000,c='g',alpha=1.0) > pylab.scatter([1],[1],s=10,c='b',alpha=0.2) > pylab.scatter([1],[1],s=100,c='r',alpha=0.5) > pylab.savefig('foo.svg') > > > I suspect a bug (my MPL version is '0.98pre'): >

[Matplotlib-users] alpha blending with vector graphics

2008-06-26 Thread Sasha Gutfraind
I'm trying to produce a vector graphics image with alpha blending, however, the two backends I tried do not work. Specifically, the image has the right blending when doing pylab.show(), but savefig() produces an opaque output. Here is sample code (for the SVG backend. PDF backend has the same pro

Re: [Matplotlib-users] plot3d

2008-06-26 Thread John Hunter
On Thu, Jun 26, 2008 at 11:31 AM, Ben Axelrod <[EMAIL PROTECTED]> wrote: > I am new to MatPlotLib and I saw in the archives that 3d plotting is no > longer supported in version 0.98. This seems like a major feature drop to > me. > I would really like to use this feature. Does anyone know what mu

[Matplotlib-users] plot3d

2008-06-26 Thread Ben Axelrod
I am new to MatPlotLib and I saw in the archives that 3d plotting is no longer supported in version 0.98. This seems like a major feature drop to me. I would really like to use this feature. Does anyone know what must be done to get this working again? Thanks, -Ben ---

Re: [Matplotlib-users] R: Bug: mad interference between matplotlib and openbabel

2008-06-26 Thread Florian Koelling
Yip! I updated my code to "pylab.plot()" and so on. Currently I use the following versions: * the actual matplotlib 0.98 - the old 0.87.7 (installed via synaptics had a memory leak) * the stable openbabel release 2.1.1 (beta available...) *numpy 1.1.0 (actual version; compiled from source) *py

Re: [Matplotlib-users] Bug: mad interference between matplotlib and openbabel

2008-06-26 Thread John Hunter
On Thu, Jun 26, 2008 at 7:04 AM, Florian Koelling <[EMAIL PROTECTED]> wrote: > Thanks for your fast replies! As suggested I removed all "from import*" > statements. I used "import pylab" and "import pylab as p" statements but > it do s not work either. :-@ It was a good guess. You have a software

Re: [Matplotlib-users] histogram hatching

2008-06-26 Thread Michael Droettboom
Thanks for pointing this out. This is now fixed in SVN. Cheers, Mike izak marais wrote: > The vertical and horizontal hatch styles are swapped. According to > the docs: > | - vertical > - - horizontal > but '|' gives horizontal and '-' vertical patterns. The reaming styles > appea

Re: [Matplotlib-users] Bug: mad interference between matplotlib and openbabel

2008-06-26 Thread Florian Koelling
Thanks for your fast replies! As suggested I removed all "from import*" statements. I used "import pylab" and "import pylab as p" statements but it do s not work either. :-@ Could you recommend other "easy to handle " python plotting libs? Thanx! Darren Dale wrote: > > > On Thu, Jun 26, 2008 a

Re: [Matplotlib-users] Bug: mad interference between matplotlib and openbabel

2008-06-26 Thread Manuel Metz
Hi Florian, you should try "import pylab" or "import pylab as P". "from pylab import *" might overwrite some functions or methods ... if a pylab function/method has the same name as one in a module imported with * before. See the following example: #file a.py def foo(): print "I'm a" #

[Matplotlib-users] Bug: mad interference between matplotlib and openbabel

2008-06-26 Thread Florian Koelling
Hi folks! I' m working on a code to identify ligand's information from pdb crystal structures. For this purpose I use the openbabel package. I' m encoding the ligand's information in smarts. For checking if the smarts are assigned correctly I 'm writing a sdf file (to control whether the featur

Re: [Matplotlib-users] histogram hatching

2008-06-26 Thread izak marais
The vertical and horizontal hatch styles are swapped. According to the docs: | - vertical - - horizontal but '|' gives horizontal and '-' vertical patterns. The reaming styles appear to work correctly. - Original Message From: John Hunter <[EMAIL PROTECTED]> To: izak ma

Re: [Matplotlib-users] plot() linewidth parameter behaviour

2008-06-26 Thread David Warde-Farley
On 26-Jun-08, at 4:13 AM, David Warde-Farley wrote: > Hi all, > > I'm making multiple calls to the plot() command, actually plotting > parallel horizontal lines, and using a consistent 'linewidth' > parameter, but for some reason I get different line widths each time > (or the same for a couple).

[Matplotlib-users] plot() linewidth parameter behaviour

2008-06-26 Thread David Warde-Farley
Hi all, I'm making multiple calls to the plot() command, actually plotting parallel horizontal lines, and using a consistent 'linewidth' parameter, but for some reason I get different line widths each time (or the same for a couple). I assumed it was some sort of wonky behaviour caused by

[Matplotlib-users] getting scatter x-data?

2008-06-26 Thread Paul Hartley
When I draw a Line2D instance (using plot()), I have set up an interactive way of clicking on one of the points to return the x-coordinate of the point. There might be a simpler way to do it, but the way I figured out is: def on_pick(self, event): # called when clicking on a Line2D point