On Wed, Oct 1, 2008 at 12:34 PM, Florian Koelling <[EMAIL PROTECTED]
> wrote:
> Hi Folks!
>
> Is there a way to plot simple x/y Data in matplotlib WITHOUT using the
> "import pylab" command? (in all examples I only saw pylab).
>
> I' working with openbabel(pybel) as well and I've got serious problems
> whenever I use "from pylab import plot" or similar commands -
>
> (if I do, SDF files aren't read out anymore properly...)
>
>
> Thanks alot
If the problem is "namespace pollution" (one package overriding names
defined earlier) then the following should work:
from pylab import plot as pplot (where "pplot" is an unused name)
or
import pylab as p
then use, p.plot() instead of plot()
(this latter method is what I use.)
hth,
gary
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users