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 at 5:51 AM, Florian Koelling > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > 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 features are placed correctly). > > This part works fine - but I get into deep trouble when I try to plot > simple count statistics of my smarts, when I use the "from pylab > import*" , or "from pylab import matplotlib" statements (trouble > appears > just after IMPORTING - I do not use a pylab function in this state of > the program yet): > > > Avoid all use of "from package import *". When you import *, strange > things can happen, since one import can overwrite things from a > previous import. Try "import pylab" or "import pylab as plt", that way > all the pylab functionality remains in its own namespace and cant be > overwritten, and can't overwrite anything else. Finally, "from pylab > import matplotlib" won't work, matplotlib is a top-level package. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users