Re: [Matplotlib-users] from pylab import nx?

2008-05-07 Thread Alan G Isaac
from pylab import nx ...but this import errors for me. On Wed, 7 May 2008, New2Python apparently wrote: > I have the same issue, is there a fix to this I'm on the run, but let me guess that you can replace this with import numpy as nx Cheers, Alan Isaac ---

Re: [Matplotlib-users] from pylab import nx?

2008-05-07 Thread New2Python
Hi All, I have the same issue, is there a fix to this Michael Droettboom-3 wrote: > > Eric Firing wrote: >> Chris Withers wrote: >> >>> Hi All, >>> >>> A few of the units demos include the lines: >>> >>> from pylab import nx >>> >>> ...but this import errors for me. >>> >>> Why is that? >>

Re: [Matplotlib-users] from pylab import nx?

2008-03-21 Thread Michael Droettboom
Chris Withers wrote: > Michael Droettboom wrote: >> The "backend_driver.py" example runs a number of other examples using >> a number of different backends. That's been a reasonably successful >> set of regression and coverage tests. It's not perfect, but it's a >> start. There are also some

Re: [Matplotlib-users] from pylab import nx?

2008-03-21 Thread Chris Withers
Michael Droettboom wrote: > The "backend_driver.py" example runs a number of other examples using a > number of different backends. That's been a reasonably successful set > of regression and coverage tests. It's not perfect, but it's a start. > There are also some lower-level unit tests for

Re: [Matplotlib-users] from pylab import nx?

2008-03-21 Thread Michael Droettboom
Chris Withers wrote: > Eric Firing wrote: > >> If you are referring to scripts in the matplotlib/examples/ subdirectory >> then you must have a version in which some of those scripts had not been >> brought up to date with the rest of matplotlib. >> > > You should turn them into unit tes

Re: [Matplotlib-users] from pylab import nx?

2008-03-20 Thread Chris Withers
Eric Firing wrote: > If you are referring to scripts in the matplotlib/examples/ subdirectory > then you must have a version in which some of those scripts had not been > brought up to date with the rest of matplotlib. You should turn them into unit tests as well as examples. I'm about to try a

Re: [Matplotlib-users] from pylab import nx?

2008-03-18 Thread Michael Droettboom
Eric Firing wrote: > Chris Withers wrote: > >> Hi All, >> >> A few of the units demos include the lines: >> >> from pylab import nx >> >> ...but this import errors for me. >> >> Why is that? >> > > If you are referring to scripts in the matplotlib/examples/ subdirectory > then you must hav

Re: [Matplotlib-users] from pylab import nx?

2008-03-18 Thread Eric Firing
Chris Withers wrote: > Hi All, > > A few of the units demos include the lines: > > from pylab import nx > > ...but this import errors for me. > > Why is that? If you are referring to scripts in the matplotlib/examples/ subdirectory then you must have a version in which some of those scripts h

Re: [Matplotlib-users] from pylab import nx?

2008-03-18 Thread Zane Selvans
Chris Withers wrote: Hi All, A few of the units demos include the lines: from pylab import nx ...but this import errors for me. Not sure if this is relevant, but NX is a frequently used shorthand for the NetworkX graph/network analysis package from Los Alamos National Labs: https://networ

[Matplotlib-users] from pylab import nx?

2008-03-18 Thread Chris Withers
Hi All, A few of the units demos include the lines: from pylab import nx ...but this import errors for me. Why is that? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk -