Re: [Matplotlib-users] matplotlib/__init__.py

2008-01-14 Thread Darren Dale
On Monday 14 January 2008 02:27:28 am Tom Johnson wrote: > I was looking at rc_params() and saw > > if not os.path.exists(fname): > message = 'could not find rc file; returning defaults' > ret = dict([ (key, tup[0]) for key, tup in defaultParams.items()]) > warnings.war

Re: [Matplotlib-users] matplotlib/__init__.py : gs version parsing problem

2007-12-05 Thread Darren Dale
On Sunday 02 December 2007 06:55:01 am hjc520070 wrote: > Xavier Gnata wrote: > > Hi, > > > > Quoting matplotlib/__init__.py : > > > > def checkdep_ghostscript(): > > try: > > if sys.platform == 'win32': > > command = 'gswin32c -v' > > else: > > command

Re: [Matplotlib-users] matplotlib/__init__.py : gs version parsing problem

2007-12-05 Thread hjc520070
Xavier Gnata wrote: > > Hi, > > Quoting matplotlib/__init__.py : > > def checkdep_ghostscript(): > try: > if sys.platform == 'win32': > command = 'gswin32c -v' > else: > command = 'gs -v' > stdin, stdout = os.popen4(command) > line

Re: [Matplotlib-users] matplotlib/__init__.py : gs version parsing problem

2007-11-16 Thread John Hunter
On Nov 16, 2007 10:03 AM, Xavier Gnata <[EMAIL PROTECTED]> wrote: > /usr/lib/python2.4/site-packages/matplotlib/image.py in get_extent(self) > 286 sz = self.get_size() > 287 #print 'sz', sz > --> 288 numrows, numcols = sz > 289 if self.or

Re: [Matplotlib-users] matplotlib/__init__.py : gs version parsing problem

2007-11-16 Thread Darren Dale
On Friday 16 November 2007 10:28:25 am Xavier Gnata wrote: > Hi, > > Quoting matplotlib/__init__.py : > > def checkdep_ghostscript(): > try: > if sys.platform == 'win32': > command = 'gswin32c -v' > else: > command = 'gs -v' > stdin, stdout = os.

Re: [Matplotlib-users] matplotlib/__init__.py : gs version parsing problem

2007-11-16 Thread Xavier Gnata
Darren Dale wrote: > On Friday 16 November 2007 10:28:25 am Xavier Gnata wrote: > >> Hi, >> >> Quoting matplotlib/__init__.py : >> >> def checkdep_ghostscript(): >> try: >> if sys.platform == 'win32': >> command = 'gswin32c -v' >> else: >> command = '