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] 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