[Matplotlib-users] tex error with colorbar

2014-11-10 Thread Gideon Simpson
If I try to format the text using tex in a figure where a colorbar is
present, I get the following error:

Traceback (most recent call last):

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py",
line 59, in draw_wrapper

draw(artist, renderer, *args, **kwargs)

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/figure.py",
line 1079, in draw

func(*args)

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py",
line 59, in draw_wrapper

draw(artist, renderer, *args, **kwargs)

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axes/_base.py",
line 2092, in draw

a.draw(renderer)

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py",
line 59, in draw_wrapper

draw(artist, renderer, *args, **kwargs)

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axis.py",
line 1116, in draw

renderer)

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axis.py",
line 1068, in _get_tick_bboxes

extent = tick.label2.get_window_extent(renderer)

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/text.py",
line 741, in get_window_extent

bbox, info, descent = self._get_layout(self._renderer)

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/text.py",
line 320, in _get_layout

ismath=ismath)

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py",
line 154, in get_text_width_height_descent

renderer=self)

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/texmanager.py",
line 670, in get_text_width_height_descent

dvifile = self.make_dvi(tex, fontsize)

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/texmanager.py",
line 394, in make_dvi

texfile = self.make_tex(tex, fontsize)

  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/texmanager.py",
line 309, in make_tex

fh.write(s.encode('ascii'))

UnicodeEncodeError: 'ascii' codec can't encode character u'\u2212' in
position 297: ordinal not in range(128)

I am using the MacPorts installation of matplotlib on OS X 10.9.  I can
generate this error by adding the line:
plt.rc('text', usetex=True)

to any example code that has a colorbar, (i.e., griddata_demo.py).  The
consequence of this error is that the figure does not have any text on the
colorbar axis.

-- 
gideon
--
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] mpl 1.0.1 + snow leopard + python 2.7

2011-02-22 Thread Gideon Simpson
Per a suggestion, I downgraded myself to the 32 bit python 2.7.1.  I tried 
installing the 32 bit binaries from the website, but get the following:


Python 2.7.1 (r271:86882M, Nov 30 2010, 09:39:13) 
[GCC 4.0.1 (Apple Inc. build 5494)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylab
Bus error

-gideon


--
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] mpl 1.0.1 + snow leopard + python 2.7

2011-02-22 Thread Gideon Simpson
That's right.  python setup.py build seems to execute without a problem (though 
there were some warnings).  But then I get an architecture issue.

-gideon

On Feb 22, 2011, at 4:54 PM, Darren Dale wrote:

> On Tue, Feb 22, 2011 at 4:21 PM, Gideon Simpson
>  wrote:
>> Here's the ouput I got:
>> 
>> Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34)
>> [GCC 4.2.1 (Apple Inc. build 5664)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> import pylab
>> Traceback (most recent call last):
>>  File "", line 1, in 
>>  File 
>> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pylab.py",
>>  line 1, in 
>>from matplotlib.pylab import *
>>  File 
>> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/pylab.py",
>>  line 220, in 
>>from matplotlib import mpl  # pulls in most modules
>>  File 
>> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/mpl.py",
>>  line 1, in 
>>from matplotlib import artist
>>  File 
>> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py",
>>  line 6, in 
>>from transforms import Bbox, IdentityTransform, TransformedBbox, 
>> TransformedPath
>>  File 
>> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/transforms.py",
>>  line 34, in 
>>from matplotlib._path import affine_transform
>> ImportError: 
>> dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_path.so,
>>  2): no suitable image found.  Did find:
>>
>> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_path.so:
>>  mach-o, but wrong architecture
> 
> So the build went ok then? Or is this the 32-bit matplotlib installer
> with a 64-bit python?


--
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] mpl 1.0.1 + snow leopard + python 2.7

2011-02-22 Thread Gideon Simpson
Here's the ouput I got:

Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34) 
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylab
Traceback (most recent call last):
  File "", line 1, in 
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pylab.py",
 line 1, in 
from matplotlib.pylab import *
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/pylab.py",
 line 220, in 
from matplotlib import mpl  # pulls in most modules
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/mpl.py",
 line 1, in 
from matplotlib import artist
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py",
 line 6, in 
from transforms import Bbox, IdentityTransform, TransformedBbox, 
TransformedPath
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/transforms.py",
 line 34, in 
from matplotlib._path import affine_transform
ImportError: 
dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_path.so,
 2): no suitable image found.  Did find:

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_path.so:
 mach-o, but wrong architecture

-gideon

On Feb 22, 2011, at 2:17 PM, Darren Dale wrote:

> On Tue, Feb 22, 2011 at 1:35 PM, Gideon Simpson
>  wrote:
>> Hi, I have OS X 10.6.6, Python 2.7.1 installed from the binary at 
>> python.org, and I am trying to get mpl 1.0.1 running.  I have no problem 
>> with numpy/scipy, but I seem to be having 32 vs. 64 bit issues with mpl.  I 
>> believe that the binaries online are only 32 bit, yet my installation is 64 
>> bit.  I have tried using the make.osx file, but this has not proved 
>> successful so far.  In part, I am trying to avoid installing duplicate 
>> png/zlib/freetype/... libraries, which seem to be working fine at present.  
>> Has anyone successfully gotten this running from source?  Alternatively, 
>> does anyone have 64 bit binaries?
> 
> Maybe you could post some error messages or build output.
> 
> I am using python-2.7, png/zlib/freetype installed from macports on OS
> X 10.6, and I don't need to use make.osx. I just run python setup.py
> build and it appears to work fine.


--
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] mpl 1.0.1 + snow leopard + python 2.7

2011-02-22 Thread Gideon Simpson
Hi, I have OS X 10.6.6, Python 2.7.1 installed from the binary at python.org, 
and I am trying to get mpl 1.0.1 running.  I have no problem with numpy/scipy, 
but I seem to be having 32 vs. 64 bit issues with mpl.  I believe that the 
binaries online are only 32 bit, yet my installation is 64 bit.  I have tried 
using the make.osx file, but this has not proved successful so far.  In part, I 
am trying to avoid installing duplicate png/zlib/freetype/... libraries, which 
seem to be working fine at present.  Has anyone successfully gotten this 
running from source?  Alternatively, does anyone have 64 bit binaries?
 
-gideon


--
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] bus error on os x 10.6

2010-03-31 Thread Gideon Simpson
I'm using the prebuilt OS X dmg distribution of matplotlib with the mac python 
2.6.4 installation on os x 10.6.3.  I find that if I try to use savefig to pdf 
format, my program terminates with a bus error.  There is no such error if I 
save to eps format.

-gideon


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] os x trouble

2009-08-10 Thread Gideon Simpson

On Aug 9, 2009, at 11:06 AM, Michiel de Hoon wrote:

>
> The error occurs in the first line of _macosx.m, which is
> #include 
> Can you compile anything (with the same compiler flags) that  
> contains this line?
>
Nope.  Got similar errors on a generic piece of code.


> --Michiel
>
> --- On Fri, 8/7/09, Gideon Simpson  wrote:
>
>> From: Gideon Simpson 
>> Subject: [Matplotlib-users] os x trouble
>> To: matplotlib-users@lists.sourceforge.net
>> Date: Friday, August 7, 2009, 12:27 PM
>> With 0.99.0, I'm getting the
>> following error when building from
>> source.  I believe this is the same error I got in
>> earlier versions:
>>
>> gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g
>> -fwrapv -O3 -Wall
>> -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
>> -I/opt/lib/
>> python2.5/site-packages/numpy/core/include
>> -I/sw/lib/freetype219/
>> include -I/usr/local/include -I/usr/include -I/sw/include
>> -I. -I/opt/
>> lib/python2.5/site-packages/numpy/core/include -Isrc
>> -Iagg24/include -
>> I. -I/sw/include/python2.5 -c src/_macosx.m -o
>> build/temp.macosx-10.5-
>> i386-2.5/src/_macosx.o
>> In file included from
>> /System/Library/Frameworks/Foundation.framework/
>> Headers/NSAffineTransform.h:5,
>>
>>   from /System/Library/Frameworks/Foundation.framework/
>>
>> Headers/Foundation.h:13,
>>
>>   from /System/Library/Frameworks/Cocoa.framework/
>> Headers/Cocoa.h:12,
>>
>>   from src/_macosx.m:1:
>> /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:
>>
>> 122: error: expected ‘;’ before ‘__attribute__’
>> In file included from
>> /System/Library/Frameworks/Foundation.framework/
>> Headers/NSGeometry.h:7,
>>
>>   from /System/Library/Frameworks/Foundation.framework/
>>
>> Headers/NSAffineTransform.h:6,
>>
>>   from /System/Library/Frameworks/Foundation.framework/
>>
>> Headers/Foundation.h:13,
>>
>>   from /System/Library/Frameworks/Cocoa.framework/
>> Headers/Cocoa.h:12,
>>
>>   from src/_macosx.m:1:
>> /System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:79:
>>
>> error: expected ‘;’ before ‘__attribute__’
>> /System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:87:
>>
>> error: expected ‘;’ before ‘__attribute__’
>> In file included from
>> /System/Library/Frameworks/Foundation.framework/
>> Headers/Foundation.h:15,
>>
>>   from /System/Library/Frameworks/Cocoa.framework/
>> Headers/Cocoa.h:12,
>>
>>   from src/_macosx.m:1:
>> /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:62:
>>
>> error: expected ‘;’ before ‘__attribute__’
>> /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:66:
>>
>> error: expected ‘;’ before ‘__attribute__’
>> In file included from
>> /System/Library/Frameworks/Foundation.framework/
>> Headers/NSAttributedString.h:5,
>>
>>   from /System/Library/Frameworks/Foundation.framework/
>>
>> Headers/Foundation.h:16,
>>
>>   from /System/Library/Frameworks/Cocoa.framework/
>> Headers/Cocoa.h:12,
>>
>>   from src/_macosx.m:1:
>> /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
>>
>> 345: error: expected ‘;’ before ‘__attribute__’
>> /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
>>
>> 346: error: expected ‘;’ before ‘__attribute__’
>> /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
>>
>> 347: error: expected ‘;’ before ‘__attribute__’
>> /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
>>
>> 348: error: expected ‘;’ before ‘__attribute__’
>> /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
>>
>> 349: error: expected ‘;’ before ‘__attribute__’
>> /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
>>
>> 350: error: expected ‘;’ before ‘__attribute__’
>> /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
>>
>> 352: error: expected ‘;’ before ‘__attribute__’
>> /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
>>
>> 353: error: expected ‘;’ before ‘__attribute__’
>> /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
>>
>> 355: error: expected ‘;’ before ‘__attribute__’
>> /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
>>
>> 356: error: expected ‘;’ before ‘__attribute__’
>> /System/Library/Frameworks

[Matplotlib-users] os x trouble

2009-08-07 Thread Gideon Simpson
With 0.99.0, I'm getting the following error when building from  
source.  I believe this is the same error I got in earlier versions:

gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall  
-Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -I/opt/lib/ 
python2.5/site-packages/numpy/core/include -I/sw/lib/freetype219/ 
include -I/usr/local/include -I/usr/include -I/sw/include -I. -I/opt/ 
lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include - 
I. -I/sw/include/python2.5 -c src/_macosx.m -o build/temp.macosx-10.5- 
i386-2.5/src/_macosx.o
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSAffineTransform.h:5,
  from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:13,
  from /System/Library/Frameworks/Cocoa.framework/ 
Headers/Cocoa.h:12,
  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h: 
122: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSGeometry.h:7,
  from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSAffineTransform.h:6,
  from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:13,
  from /System/Library/Frameworks/Cocoa.framework/ 
Headers/Cocoa.h:12,
  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:79:  
error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:87:  
error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:15,
  from /System/Library/Frameworks/Cocoa.framework/ 
Headers/Cocoa.h:12,
  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:62:  
error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:66:  
error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSAttributedString.h:5,
  from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:16,
  from /System/Library/Frameworks/Cocoa.framework/ 
Headers/Cocoa.h:12,
  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
345: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
346: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
347: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
348: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
349: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
350: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
352: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
353: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
355: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
356: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
357: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
358: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
360: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
361: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
362: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
363: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
364: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSAttributedString.h:6,
  from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:16,
  from /System/Library/Frameworks/Cocoa.framework/ 
Headers/Cocoa.h:12,
  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h: 
45: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h: 
50: error: exp

[Matplotlib-users] different vertical axes scales

2009-05-02 Thread Gideon Simpson
I have two time series, {u_j} and {v_j}, with vastly different scales,  
but all sampled at the same times, {t_j}.  Is there an easy way to  
plot the two on the same figure, with different vertical axes on the  
left and the right?

-gideon


--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] figure width

2009-05-01 Thread Gideon Simpson
Is there a way to construct a figure to have a certain width, setting  
the height proportionally, so that this will be the actual size if I  
then save it as a PNG?

-gideon


--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Floating point exception

2009-05-01 Thread Gideon Simpson
When I try to plot some data, I get:

Floating point exception

How can I track down what's wrong?

-gideon


--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] saving at a specified size

2009-04-08 Thread Gideon Simpson
Is there a way to save a figured at a specified size?
-gideon


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] OS X trouble

2009-03-28 Thread Gideon Simpson
I don't know if this is because I upgraded to the current developement  
version of numpy or not, but I when I tried rebuilding matplotlib, I  
generated the following error:

gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall  
-Wstrict-prototypes -I/opt/lib/python2.5/site-packages/numpy/core/ 
include -I/sw/include/python2.5 -c src/_macosx.m -o build/ 
temp.macosx-10.5-i386-2.5/src/_macosx.o
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSAffineTransform.h:5,
  from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:13,
  from /System/Library/Frameworks/Cocoa.framework/ 
Headers/Cocoa.h:12,
  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h: 
122: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSGeometry.h:7,
  from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSAffineTransform.h:6,
  from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:13,
  from /System/Library/Frameworks/Cocoa.framework/ 
Headers/Cocoa.h:12,
  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:79:  
error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:87:  
error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:15,
  from /System/Library/Frameworks/Cocoa.framework/ 
Headers/Cocoa.h:12,
  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:62:  
error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:66:  
error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSAttributedString.h:5,
  from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:16,
  from /System/Library/Frameworks/Cocoa.framework/ 
Headers/Cocoa.h:12,
  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
345: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
346: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
347: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
348: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
349: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
350: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
352: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
353: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
355: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
356: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
357: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
358: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
360: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
361: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
362: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
363: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
364: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSAttributedString.h:6,
  from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:16,
  from /System/Library/Frameworks/Cocoa.framework/ 
Headers/Cocoa.h:12,
  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h: 
45: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h: 
50: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSHashTable.h:5,
  from /System/Library/

[Matplotlib-users] animating contour, contourf, pcolor, etc.

2009-02-11 Thread Gideon Simpson
If I have a line that I want to animate, I can clearly write:

lineu, = plot(x,u)
draw()

for p in range(0, N):
lineu.set_ydata(u)
draw()

Is there an analogue to set_ydata for things plots like contour,  
contourf, etc.?

-gideon


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] os x backend

2009-02-11 Thread Gideon Simpson
command-w does not seem to close the window.
-gideon


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] contour animation

2009-02-03 Thread Gideon Simpson
Is it possible to do animation with contour plots?  How?
-gideon


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] OS X backend and latex

2009-01-18 Thread Gideon Simpson
Has anyone else noticed that when using latex with the OS X backend,  
figures, while appearing fine on screen, come out poorly when saved as  
images?
-gideon


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] saving figures on OS X

2008-11-12 Thread Gideon Simpson
Both of these issues seem to be resolved by the latest fink packages.
-gideon

On Nov 7, 2008, at 10:13 AM, Gideon Simpson wrote:

> 1.  I find that the eps's generated, for whatever reason, do not
> automatically conform to something that Preview.app can open.  it
> generates the error:
>
> PostScript Conversion Error
> The PostScript file "test.eps" could not be converted to a PDF file.
>
> However, the eps's are fundamentally there.  I can open them in GIMP
> and use ps2pdf on them.
>
> 2.  My fink installed QT4 backend gives an error while trying to save
> a figure as PDF using the GUI.  I get:
>
> [Errno 4] Interrupted system call
>
> Other file formats do not generate this error.
>
>
> -gideon
>
>
> -
> 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


Re: [Matplotlib-users] saving figures on OS X

2008-11-07 Thread Gideon Simpson
yes that seems to work.  there are no errors when i don't use the tex.
-gideon

On Nov 7, 2008, at 1:59 PM, Jouni K. Seppänen wrote:

> Gideon Simpson <[EMAIL PROTECTED]> writes:
>
>> Verbose output attached:
>
> It looks like it is happening in dviread. Just to make sure this is  
> the
> culprit, could you temporarily disable usetex in your matplotlibrc  
> file
> and see if the error goes away?
>
> -- 
> Jouni K. Seppänen
> http://www.iki.fi/jks
>
>
> -
> 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


Re: [Matplotlib-users] saving figures on OS X

2008-11-07 Thread Gideon Simpson

Verbose output attached:


debug.out
Description: Binary data




-gideon

On Nov 7, 2008, at 1:30 PM, Jouni K. Seppänen wrote:


Gideon Simpson <[EMAIL PROTECTED]> writes:


1.  I find that the eps's generated, for whatever reason, do not
automatically conform to something that Preview.app can open.  it
generates the error:

PostScript Conversion Error
The PostScript file "test.eps" could not be converted to a PDF file.


Does anyone know how to debug or trace this internal conversion of
Preview.app?


2.  My fink installed QT4 backend gives an error while trying to save
a figure as PDF using the GUI.  I get:

[Errno 4] Interrupted system call


Could you repeat this with --verbose-debug-annoying and send the  
output

to this list (or open a bug in the sourceforge tracker and attach the
output as a file)?

--
Jouni K. Seppänen
http://www.iki.fi/jks


-
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


[Matplotlib-users] saving figures on OS X

2008-11-07 Thread Gideon Simpson
1.  I find that the eps's generated, for whatever reason, do not  
automatically conform to something that Preview.app can open.  it  
generates the error:

PostScript Conversion Error
The PostScript file "test.eps" could not be converted to a PDF file.

However, the eps's are fundamentally there.  I can open them in GIMP  
and use ps2pdf on them.

2.  My fink installed QT4 backend gives an error while trying to save  
a figure as PDF using the GUI.  I get:

[Errno 4] Interrupted system call

Other file formats do not generate this error.


-gideon


-
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


[Matplotlib-users] GTK warning (OS X fink)

2008-10-26 Thread Gideon Simpson
This might be something wrong with the way fink has built GTK, but the  
following warnings are showing up for me:

/opt/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py: 
72: GtkWarning: Unable to find default local directory monitor type
   gtk.main()
/opt/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py: 
1033: GtkWarning: Unable to find default local directory monitor type
   if self.run() != int(gtk.RESPONSE_OK):

-gideon


-
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


Re: [Matplotlib-users] formatting figures for publciation

2008-09-28 Thread Gideon Simpson
Thanks, but this wasn't quite what I had in mind.  the exportfig m - 
file trims the size of the white bounding box on the figure, in  
addition to saving the image.  Is there an easy way to do that with  
matplotlib?
-gideon

On Sep 27, 2008, at 5:11 AM, Marius 't Hart wrote:

> Yes:
> savefig
>
> On Fri, 2008-09-26 at 18:49 -0400, Gideon Simpson wrote:
>> Is there anything akin to this MATLAB script:
>>
>> http://www.mathworks.com/company/newsletters/digest/june00/export/
>>
>> available for mpl?  or some simple set of commands that will
>> accomplish the same task?
>> -gideon
>>
>>
>> -
>> 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


[Matplotlib-users] formatting figures for publciation

2008-09-26 Thread Gideon Simpson
Is there anything akin to this MATLAB script:

http://www.mathworks.com/company/newsletters/digest/june00/export/

available for mpl?  or some simple set of commands that will  
accomplish the same task?
-gideon


-
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


Re: [Matplotlib-users] help error

2008-07-02 Thread Gideon Simpson
So no one else has seen this bug?  I'm on an OS X 10.5.4 machine with  
fink python 2.5.2 and associated backend packages.  i'm using my own  
builds of numpy/scipy and matplotlib.
-gideon

On Jul 1, 2008, at 11:16 AM, Gideon Simpson wrote:

> matplotlib itself seems to work, in the sense that it makes figures
> and puts the lines in the right places.
>
> however, that error is still showing up if i go to help() then modules
> On Jul 1, 2008, at 11:01 AM, John Hunter wrote:
>
>> On Tue, Jul 1, 2008 at 9:14 AM, Gideon Simpson
>> <[EMAIL PROTECTED]> wrote:
>>
>>> python -c 'import matplotlib; print matplotlib.__file__'
>>> python simple_plot.py --verbose-debug >& run.out\
>>
>> There was no traceback in run.out -- does this mean everything is
>> working for you now?
>>
>> JDH
>
>
> -
> 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


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] help error

2008-07-01 Thread Gideon Simpson
matplotlib itself seems to work, in the sense that it makes figures  
and puts the lines in the right places.

however, that error is still showing up if i go to help() then modules
On Jul 1, 2008, at 11:01 AM, John Hunter wrote:

> On Tue, Jul 1, 2008 at 9:14 AM, Gideon Simpson  
> <[EMAIL PROTECTED]> wrote:
>
>> python -c 'import matplotlib; print matplotlib.__file__'
>> python simple_plot.py --verbose-debug >& run.out\
>
> There was no traceback in run.out -- does this mean everything is
> working for you now?
>
> JDH


-
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


Re: [Matplotlib-users] help error

2008-07-01 Thread Gideon Simpson
pdf.compression   : 6 # integer from 0 to 9
# 0 disables compression (good for debugging)
#pdf.fonttype   : 3 # Output Type 3 (Type3) or Type 42  
(TrueType)

# svg backend params
#svg.image_inline : True   # write raster image data directly into  
the svg file
#svg.image_noscale : False # suppress scaling of raster data  
embedded in SVG
#svg.embed_char_paths : True   # embed character outlines in the  
SVG file

# Set the verbose flags.  This controls how much information
# matplotlib gives you at runtime and where it goes.  The verbosity
# levels are: silent, helpful, debug, debug-annoying.  Any level is
# inclusive of all the levels below it.  If you setting is debug,
# you'll get all the debug and helpful messages.  When submitting
# problems to the mailing-list, please set verbose to helpful or debug
# and paste the output into your report.
#
# The fileo gives the destination for any calls to verbose.report.
# These objects can a filename, or a filehandle like sys.stdout.
#
# You can override the rc default verbosity from the command line by
# giving the flags --verbose-LEVEL where LEVEL is one of the legal
# levels, eg --verbose-helpful.
#
# You can access the verbose instance in your code
#   from matplotlib import verbose.
#verbose.level  : silent  # one of silent, helpful, debug, debug- 
annoying
#verbose.fileo  : sys.stdout  # a log filename, sys.stdout or sys.stderr

On Jul 1, 2008, at 9:33 AM, John Hunter wrote:

> On Tue, Jul 1, 2008 at 8:22 AM, Gideon Simpson  
> <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] python simple_plot.py --verbose-debug  
>> >>run.out
>>
>> $HOME=/Users/gideon
>> CONFIGDIR=/Users/gideon/.matplotlib
>> matplotlib data path /opt/lib/python2.5/site-packages/matplotlib/mpl-
>> data
>> loaded rc file /opt/lib/python2.5/site-packages/matplotlib/mpl-data/
>> matplotlibrc
>
> This is probably your culprit -- please post the
>
> /opt/lib/python2.5/site-packages/matplotlib/mpl-data/matplotlibrc
>
> file


-
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


Re: [Matplotlib-users] help error

2008-07-01 Thread Gideon Simpson
.types',  
'numpy.random.numpy', '_sre', 'numpy.lib.gzip', 'numpy.core.sys',  
'numpy.random', 'numpy.linalg.numpy', '__builtin__', 'locale',  
'numpy.lib.twodim_base', 'numpy.ma.core', 'matplotlib.re',  
'numpy.core.cPickle', 'operator', 'numpy.testing.parametric',  
'numpy.core.arrayprint', 'distutils.string', 'ctypes._ctypes',  
'_heapq', 'ctypes.sys', 'matplotlib.datetime', 'posixpath',  
'numpy.lib.financial', 'numpy.core.multiarray', 'errno',  
'numpy.testing.numpy', '_socket', 'binascii', 'numpy.lib.compiler',  
'sre_constants', 'compiler.cStringIO', '_sha256', 'compiler.os',  
'matplotlib.md5', 'types', 'pytz.sys', 'tokenize', '_ctypes',  
'xml.sax.handler', 'numpy.core.numpy', 'numpy', 'numpy.lib.urlparse',  
'matplotlib.dateutil', 'numpy.core.defmatrix', 'xml.sax.os',  
'cPickle', 'matplotlib.xml', '_codecs', '_locale',  
'matplotlib.traceback', 'numpy.__config__', 'numpy.fft.info',  
'numpy.lib.types', 'pytz', 'matplotlib.pyparsing',  
'compiler.copy_reg', 'gestalt', 'numpy.ma.numpy', 'copy',  
'numpy.core.re', 'socket', '_types', 'numpy.core.fromnumeric',  
'hashlib', 'compiler.future', 'numpy.core.copy_reg',  
'numpy.lib.scimath', 'numpy.fft', 'numpy.lib', 'compiler.dis',  
'posix', 'encodings.aliases', 'matplotlib.fontconfig_pattern',  
'exceptions', 'xml.sax._exceptions', 'pytz.bisect',  
'numpy.core.cStringIO', 'numpy.core.ctypes', 'mimetools',  
'distutils.distutils', 'copy_reg', 'sre_compile', 'xml.sax',  
'compiler.compiler', '_hashlib', '_random', 'parser', 'site',  
'numpy.lib.polynomial', 'numpy._import_tools', 'numpy.glob',  
'zipimport', 'pytz.struct', 'numpy.lib.time', '__main__',  
'compiler.misc', 'numpy.core.records', 'shutil', 'numpy.lib.cPickle',  
'numpy.sys', 'matplotlib.weakref', 'numpy.lib.pydoc',  
'numpy.core._dotblas', 'numpy.testing.traceback', 'strop',  
'compiler.pycodegen', 'numpy.core.numeric', 'numpy.linalg.info',  
'encodings.codecs', 'gettext', 'pytz.datetime', 'heapq',  
'numpy.lib.cStringIO', 'numpy.core', 'numpy.testing.info',  
'matplotlib.rcsetup', 'matplotlib.time', 'pytz.sets',  
'matplotlib.numpy', 'xml.sax.codecs', 'stat', '_ssl',  
'numpy.lib.utils', 'numpy.lib.index_tricks', 'numpy.testing.utils',  
'warnings', 'encodings.types', 'numpy.lib.math', 'glob',  
'numpy.lib.shape_base', 'numpy.core.types', 'numpy.fft.numpy', 'repr',  
'sys', 'numpy.core.warnings', 'numpy.lib.urllib2', 'compiler.types',  
'numpy.core.__builtin__', 'xml.sax.sys', 'numpy.lib.format',  
'numpy.lib.os', 'numpy.ma', 'os.path', 'bz2', 'pytz.gettext',  
'numpy.lib.pprint', 'compiler.symbols', 'sets',  
'matplotlib.distutils', '_weakref', 'numpy.testing.numpytest',  
'difflib', 'distutils.errors', 'urlparse', 'linecache',  
'matplotlib.shutil', 'numpy.lib.function_base', 'numpy.testing.imp',  
'time', 'gzip', 'numpy.lib.machar', 'compiler.marshal',  
'numpy.linalg.linalg', 'compiler.syntax']
Using fontManager instance from /Users/gideon/.matplotlib/ 
fontManager.cache
numerix numpy 1.1.0
backend GTKAgg version 2.6.3
findfont found Bitstream Vera Sans, normal, normal 400, normal, 12.0
findfont returning /opt/lib/python2.5/site-packages/matplotlib/mpl- 
data/fonts/ttf/Vera.ttf
findfont found Bitstream Vera Sans, normal, normal 400, normal, 14.4
findfont returning /opt/lib/python2.5/site-packages/matplotlib/mpl- 
data/fonts/ttf/Vera.ttf

On Jul 1, 2008, at 9:18 AM, John Hunter wrote:

> On Tue, Jul 1, 2008 at 8:13 AM, Gideon Simpson  
> <[EMAIL PROTECTED]> wrote:
>> It's already set to False
>>
>> I've completely blown away my installation, including removing
>> ~/.matplotlib, and this problem is still showing up.
>> -gideon
>>
>
> Please run a test pylab script with --verbose-debug and post the  
> output
>
>> python somefile.py --verbose-debug >> run.out


-
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


Re: [Matplotlib-users] help error

2008-07-01 Thread Gideon Simpson
It's already set to False

I've completely blown away my installation, including removing  
~/.matplotlib, and this problem is still showing up.
-gideon

On Jul 1, 2008, at 7:20 AM, Darren Dale wrote:

> In lib/matplotlib/__init__.py, set NEWCONFIG=False and reinstall.
>
> On Tuesday 01 July 2008 00:02:51 Gideon Simpson wrote:
>> Just tried the 0.98.2, and am still getting:
>>
>> help> modules
>>
>> Please wait a moment while I gather a list of all available  
>> modules...
>>
>> Traceback (most recent call last):
>>   File "", line 1, in 
>>   File "/sw/lib/python2.5/site.py", line 346, in __call__
>> return pydoc.help(*args, **kwds)
>>   File "/sw/lib/python2.5/pydoc.py", line 1636, in __call__
>> self.interact()
>>   File "/sw/lib/python2.5/pydoc.py", line 1654, in interact
>> self.help(request)
>>   File "/sw/lib/python2.5/pydoc.py", line 1670, in help
>> elif request == 'modules': self.listmodules()
>>   File "/sw/lib/python2.5/pydoc.py", line 1791, in listmodules
>> ModuleScanner().run(callback)
>>   File "/sw/lib/python2.5/pydoc.py", line 1842, in run
>> for importer, modname, ispkg in pkgutil.walk_packages():
>>   File "/sw/lib/python2.5/pkgutil.py", line 125, in walk_packages
>> for item in walk_packages(path, name+'.', onerror):
>> s  File "/sw/lib/python2.5/pkgutil.py", line 110, in walk_packages
>> __import__(name)
>>   File "/opt/lib/python2.5/site-packages/matplotlib/config/
>> __init__.py", line 10, in 
>> from mplconfig import rcParams, mplConfig, save_config,  
>> rcdefaults
>>   File "/opt/lib/python2.5/site-packages/matplotlib/config/
>> mplconfig.py", line 486, in 
>> filePriority=True)
>>   File "/opt/lib/python2.5/site-packages/matplotlib/config/
>> tconfig.py", line 567, in __init__
>> self.tconf = configClass(self.fconfCombined,monitor=monitor)
>>   File "/opt/lib/python2.5/site-packages/matplotlib/config/
>> tconfig.py", line 431, in __init__
>> section = v(sec_config,self,monitor=monitor)
>>   File "/opt/lib/python2.5/site-packages/matplotlib/config/
>> tconfig.py", line 391, in __init__
>> raise TConfigInvalidKeyError(m)
>> matplotlib.config.tconfig.TConfigInvalidKeyError: In config defined  
>> in
>> file: '/opt/lib/python2.5/site-packages/matplotlib/mpl-data/
>> matplotlib.conf'
>> Error processing section: figure
>> These keys are invalid : ['autolayout']
>> Valid key names: ['edgecolor', 'facecolor', 'dpi', 'figsize']
>>
>> On Jun 24, 2008, at 10:35 AM, Gideon Simpson wrote:
>>> my .matplotlib folder is empty.  also, my installation otherwise
>>> appears to work.
>>>
>>>
>>> -gideon
>>>
>>> On Jun 24, 2008, at 10:01 AM, John Hunter wrote:
>>>> On Tue, Jun 24, 2008 at 8:27 AM, Gideon Simpson
>>>>
>>>> <[EMAIL PROTECTED]> wrote:
>>>>> I built from source.  I removed my existing installation of
>>>>> matplotlib, but I am still getting the same error.  I had not been
>>>>> using setup.cfg, but edited the template so that the experimental
>>>>> packages were turned off.  I am still getting this error.
>>>>
>>>> Check to see if you have a matplotlibrc file in ~/.matplotlib.  If
>>>> so,
>>>> replace it with the latest one from site-packages/matplotlib/mpl- 
>>>> data
>>>> (or comment out the autolayout line in the one you already have in
>>>> ~/.matplotlib).
>>>>
>>>> Let us know if this works.
>>>>
>>>> JDH
>>>
>>> -
>>> 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
>>
>> -
>> 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
>


-
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


Re: [Matplotlib-users] help error

2008-06-30 Thread Gideon Simpson
Just tried the 0.98.2, and am still getting:

help> modules

Please wait a moment while I gather a list of all available modules...

Traceback (most recent call last):
   File "", line 1, in 
   File "/sw/lib/python2.5/site.py", line 346, in __call__
 return pydoc.help(*args, **kwds)
   File "/sw/lib/python2.5/pydoc.py", line 1636, in __call__
 self.interact()
   File "/sw/lib/python2.5/pydoc.py", line 1654, in interact
 self.help(request)
   File "/sw/lib/python2.5/pydoc.py", line 1670, in help
 elif request == 'modules': self.listmodules()
   File "/sw/lib/python2.5/pydoc.py", line 1791, in listmodules
 ModuleScanner().run(callback)
   File "/sw/lib/python2.5/pydoc.py", line 1842, in run
 for importer, modname, ispkg in pkgutil.walk_packages():
   File "/sw/lib/python2.5/pkgutil.py", line 125, in walk_packages
 for item in walk_packages(path, name+'.', onerror):
   File "/sw/lib/python2.5/pkgutil.py", line 110, in walk_packages
 __import__(name)
   File "/opt/lib/python2.5/site-packages/matplotlib/config/ 
__init__.py", line 10, in 
 from mplconfig import rcParams, mplConfig, save_config, rcdefaults
   File "/opt/lib/python2.5/site-packages/matplotlib/config/ 
mplconfig.py", line 486, in 
 filePriority=True)
   File "/opt/lib/python2.5/site-packages/matplotlib/config/ 
tconfig.py", line 567, in __init__
 self.tconf = configClass(self.fconfCombined,monitor=monitor)
   File "/opt/lib/python2.5/site-packages/matplotlib/config/ 
tconfig.py", line 431, in __init__
 section = v(sec_config,self,monitor=monitor)
   File "/opt/lib/python2.5/site-packages/matplotlib/config/ 
tconfig.py", line 391, in __init__
 raise TConfigInvalidKeyError(m)
matplotlib.config.tconfig.TConfigInvalidKeyError: In config defined in  
file: '/opt/lib/python2.5/site-packages/matplotlib/mpl-data/ 
matplotlib.conf'
Error processing section: figure
These keys are invalid : ['autolayout']
Valid key names: ['edgecolor', 'facecolor', 'dpi', 'figsize']


On Jun 24, 2008, at 10:35 AM, Gideon Simpson wrote:

> my .matplotlib folder is empty.  also, my installation otherwise
> appears to work.
>
>
> -gideon
>
> On Jun 24, 2008, at 10:01 AM, John Hunter wrote:
>
>> On Tue, Jun 24, 2008 at 8:27 AM, Gideon Simpson
>> <[EMAIL PROTECTED]> wrote:
>>> I built from source.  I removed my existing installation of
>>> matplotlib, but I am still getting the same error.  I had not been
>>> using setup.cfg, but edited the template so that the experimental
>>> packages were turned off.  I am still getting this error.
>>
>> Check to see if you have a matplotlibrc file in ~/.matplotlib.  If  
>> so,
>> replace it with the latest one from site-packages/matplotlib/mpl-data
>> (or comment out the autolayout line in the one you already have in
>> ~/.matplotlib).
>>
>> Let us know if this works.
>>
>> JDH
>
>
> -
> 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


-
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


Re: [Matplotlib-users] help error

2008-06-24 Thread Gideon Simpson
my .matplotlib folder is empty.  also, my installation otherwise  
appears to work.


-gideon

On Jun 24, 2008, at 10:01 AM, John Hunter wrote:

> On Tue, Jun 24, 2008 at 8:27 AM, Gideon Simpson  
> <[EMAIL PROTECTED]> wrote:
>> I built from source.  I removed my existing installation of
>> matplotlib, but I am still getting the same error.  I had not been
>> using setup.cfg, but edited the template so that the experimental
>> packages were turned off.  I am still getting this error.
>
> Check to see if you have a matplotlibrc file in ~/.matplotlib.  If so,
> replace it with the latest one from site-packages/matplotlib/mpl-data
> (or comment out the autolayout line in the one you already have in
> ~/.matplotlib).
>
> Let us know if this works.
>
> JDH


-
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


Re: [Matplotlib-users] help error

2008-06-24 Thread Gideon Simpson
I built from source.  I removed my existing installation of  
matplotlib, but I am still getting the same error.  I had not been  
using setup.cfg, but edited the template so that the experimental  
packages were turned off.  I am still getting this error.



-gideon

On Jun 24, 2008, at 7:31 AM, John Hunter wrote:

> On Mon, Jun 23, 2008 at 11:41 PM, Gideon Simpson  
> <[EMAIL PROTECTED]> wrote:
>> I was trying to look up a module, and, after installing matplotlib
>> 0.98.1, I get:
>
>>  File "/opt/lib/python2.5/site-packages/matplotlib/config/
>> tconfig.py", line 391, in __init__
>>raise TConfigInvalidKeyError(m)
>> matplotlib.config.tconfig.TConfigInvalidKeyError: In config defined  
>> in
>> file: '/opt/lib/python2.5/site-packages/matplotlib/mpl-data/
>> matplotlib.conf'
>> Error processing section: figure
>> These keys are invalid : ['autolayout']
>> Valid key names: ['edgecolor', 'facecolor', 'dpi', 'figsize']
>
> This looks like you have the experimental "traited config" turned on,
> and Michael may have not cleaned autolayout from the tconfig defaults
> when he removed it.  Did you build from source or get your package
> from elsewhere.  If building from source, edit setup.cfg next to
> setup.py and make sure that the traited config is off
>
>  ## Experimental config package support, this should only be enabled  
> by
>  ## matplotlib developers, for matplotlib development
>  enthought.traits = False
>  configobj = False
>
> If you got it from elsewhere, let the packager know this should be
> turned off.  And Darren, can you make sure that tconfig is updated
> vis-a-vis the autolayout param removal.
>
> JDH


-
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


[Matplotlib-users] help error

2008-06-23 Thread Gideon Simpson
I was trying to look up a module, and, after installing matplotlib  
0.98.1, I get:

help> modules

Please wait a moment while I gather a list of all available modules...

Traceback (most recent call last):
   File "", line 1, in 
   File "/sw/lib/python2.5/site.py", line 346, in __call__
 return pydoc.help(*args, **kwds)
   File "/sw/lib/python2.5/pydoc.py", line 1636, in __call__
 self.interact()
   File "/sw/lib/python2.5/pydoc.py", line 1654, in interact
 self.help(request)
   File "/sw/lib/python2.5/pydoc.py", line 1670, in help
 elif request == 'modules': self.listmodules()
   File "/sw/lib/python2.5/pydoc.py", line 1791, in listmodules
 ModuleScanner().run(callback)
   File "/sw/lib/python2.5/pydoc.py", line 1842, in run
 for importer, modname, ispkg in pkgutil.walk_packages():
   File "/sw/lib/python2.5/pkgutil.py", line 125, in walk_packages
 for item in walk_packages(path, name+'.', onerror):
   File "/sw/lib/python2.5/pkgutil.py", line 110, in walk_packages
 __import__(name)
   File "/opt/lib/python2.5/site-packages/matplotlib/config/ 
__init__.py", line 10, in 
 from mplconfig import rcParams, mplConfig, save_config, rcdefaults
   File "/opt/lib/python2.5/site-packages/matplotlib/config/ 
mplconfig.py", line 486, in 
 filePriority=True)
   File "/opt/lib/python2.5/site-packages/matplotlib/config/ 
tconfig.py", line 567, in __init__
 self.tconf = configClass(self.fconfCombined,monitor=monitor)
   File "/opt/lib/python2.5/site-packages/matplotlib/config/ 
tconfig.py", line 431, in __init__
 section = v(sec_config,self,monitor=monitor)
   File "/opt/lib/python2.5/site-packages/matplotlib/config/ 
tconfig.py", line 391, in __init__
 raise TConfigInvalidKeyError(m)
matplotlib.config.tconfig.TConfigInvalidKeyError: In config defined in  
file: '/opt/lib/python2.5/site-packages/matplotlib/mpl-data/ 
matplotlib.conf'
Error processing section: figure
These keys are invalid : ['autolayout']
Valid key names: ['edgecolor', 'facecolor', 'dpi', 'figsize']


-
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


Re: [Matplotlib-users] os x 10.5.3 numpy 1.10 error

2008-05-29 Thread Gideon Simpson
Never mind.  I think this may have had to do with something else not  
being installed correctly.  This config (numpy 1.10, apple python  
2.5.1, mpl 0.91.2, /usr/X11 png and freetype) works fine though.

On May 29, 2008, at 9:59 PM, Alan G Isaac wrote:

> On Thu, 29 May 2008, Gideon Simpson apparently wrote:
>> Using apple python, numpy 1.10, I get the following error in
>> matplotlib 0.91.2:
>
> I do not see this.  I have the
> same mpl and np version,
> and same Python version,
> but I'm on Windows.
>
> fwiw,
> Alan Isaac
>
>
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] os x 10.5.3 numpy 1.10 error

2008-05-29 Thread Gideon Simpson
Using apple python, numpy 1.10, I get the following error in  
matplotlib 0.91.2:

Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> from pylab import *
 >>> plot([1,2,3,4])
[]
 >>> show()
Traceback (most recent call last):
   File "/opt/lib/python2.5/site-packages/matplotlib/backends/ 
backend_wx.py", line 1021, in _onPaint
 self.draw(repaint=False)
   File "/opt/lib/python2.5/site-packages/matplotlib/backends/ 
backend_wxagg.py", line 60, in draw
 FigureCanvasAgg.draw(self)
   File "/opt/lib/python2.5/site-packages/matplotlib/backends/ 
backend_agg.py", line 254, in draw
 self.renderer = self.get_renderer()
   File "/opt/lib/python2.5/site-packages/matplotlib/backends/ 
backend_agg.py", line 265, in get_renderer
 self.renderer = RendererAgg(w, h, self.figure.dpi)
   File "/opt/lib/python2.5/site-packages/matplotlib/backends/ 
backend_agg.py", line 66, in __init__
 self.draw_path_collection = self._renderer.draw_path_collection
AttributeError: draw_path_collection
Traceback (most recent call last):
   File "", line 1, in 
   File "/opt/lib/python2.5/site-packages/matplotlib/backends/ 
backend_wx.py", line 1187, in show
 figwin.canvas.draw()
   File "/opt/lib/python2.5/site-packages/matplotlib/backends/ 
backend_wxagg.py", line 60, in draw
 FigureCanvasAgg.draw(self)
   File "/opt/lib/python2.5/site-packages/matplotlib/backends/ 
backend_agg.py", line 254, in draw
 self.renderer = self.get_renderer()
   File "/opt/lib/python2.5/site-packages/matplotlib/backends/ 
backend_agg.py", line 265, in get_renderer
 self.renderer = RendererAgg(w, h, self.figure.dpi)
   File "/opt/lib/python2.5/site-packages/matplotlib/backends/ 
backend_agg.py", line 66, in __init__
 self.draw_path_collection = self._renderer.draw_path_collection
AttributeError: draw_path_collection
 >>> Terminated



-gideon


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] os x 10.5.2 and macpython

2008-05-21 Thread Gideon Simpson
I wanted to try switching over from apple python to mac python 2.5.2,  
so I went to rebuild matplotlib svn.  With the config:

BUILDING MATPLOTLIB
 matplotlib: 0.98pre
 python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)  [GCC
 4.0.1 (Apple Computer, Inc. build 5363)]
   platform: darwin

REQUIRED DEPENDENCIES
  numpy: 1.1.0rc1
  freetype2: 9.16.3

OPTIONAL BACKEND DEPENDENCIES
 libpng: 1.2.24
Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
   wxPython: no
 * wxPython not found
   Gtk+: no
 * Building for Gtk+ requires pygtk; you must  
be able
 * to "import gtk" in your build/install  
environment
 Qt: no
Qt4: no
  Cairo: no

OPTIONAL DATE/TIMEZONE DEPENDENCIES
   datetime: present, version unknown
   dateutil: matplotlib will provide
   pytz: matplotlib will provide

OPTIONAL USETEX DEPENDENCIES
 dvipng: 1.9
ghostscript: 8.61
  latex: 3.141592

EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
  configobj: matplotlib will provide
   enthought.traits: matplotlib will provide

[Edit setup.cfg to suppress the above messages]




I get the error:


building 'matplotlib.ft2font' extension
creating build/temp.macosx-10.3-i386-2.5
creating build/temp.macosx-10.3-i386-2.5/src
creating build/temp.macosx-10.3-i386-2.5/CXX
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd - 
fno-common -dynamic -DNDEBUG -g -O3 -I/usr/X11/include/freetype2 -I/ 
usr/X11/include -I/sw/lib/freetype219/include -I/usr/local/include -I/ 
usr/include -I/sw/include -I/usr/X11R6/include -I. -I/Library/ 
Frameworks/Python.framework/Versions/2.5/include/python2.5 -c src/ 
ft2font.cpp -o build/temp.macosx-10.3-i386-2.5/src/ft2font.o
In file included from /usr/X11/include/freetype2/freetype/freetype.h:41,
  from src/ft2font.h:14,
  from src/ft2font.cpp:1:
/usr/X11/include/freetype2/freetype/config/ftconfig.h:65:1: warning:  
"SIZEOF_LONG" redefined
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.5/include/python2.5/Python.h:8,
  from ./CXX/WrapPython.h:42,
  from ./CXX/Extensions.hxx:48,
  from src/ft2font.h:4,
  from src/ft2font.cpp:1:
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/ 
pyconfig.h:814:1: warning: this is the location of the previous  
definition
In file included from /usr/X11/include/freetype2/freetype/freetype.h:41,
  from src/ft2font.h:14,
  from src/ft2font.cpp:1:
/usr/X11/include/freetype2/freetype/config/ftconfig.h:65:1: warning:  
"SIZEOF_LONG" redefined
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.5/include/python2.5/Python.h:8,
  from ./CXX/WrapPython.h:42,
  from ./CXX/Extensions.hxx:48,
  from src/ft2font.h:4,
  from src/ft2font.cpp:1:
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/ 
pyconfig.h:814:1: warning: this is the location of the previous  
definition
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd - 
fno-common -dynamic -DNDEBUG -g -O3 -I/usr/X11/include/freetype2 -I/ 
usr/X11/include -I/sw/lib/freetype219/include -I/usr/local/include -I/ 
usr/include -I/sw/include -I/usr/X11R6/include -I. -I/Library/ 
Frameworks/Python.framework/Versions/2.5/include/python2.5 -c src/ 
mplutils.cpp -o build/temp.macosx-10.3-i386-2.5/src/mplutils.o
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd - 
fno-common -dynamic -DNDEBUG -g -O3 -I/usr/X11/include/freetype2 -I/ 
usr/X11/include -I/sw/lib/freetype219/include -I/usr/local/include -I/ 
usr/include -I/sw/include -I/usr/X11R6/include -I. -I/Library/ 
Frameworks/Python.framework/Versions/2.5/include/python2.5 -c CXX/ 
cxx_extensions.cxx -o build/temp.macosx-10.3-i386-2.5/CXX/ 
cxx_extensions.o
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd - 
fno-common -dynamic -DNDEBUG -g -O3 -I/usr/X11/include/freetype2 -I/ 
usr/X11/include -I/sw/lib/freetype219/include -I/usr/local/include -I/ 
usr/include -I/sw/include -I/usr/X11R6/include -I. -I/Library/ 
Frameworks/Python.framework/Versions/2.5/include/python2.5 -c CXX/ 
cxxsupport.cxx -o build/temp.macosx-10.3-i386-2.5/CXX/cxxsupport.o
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
fno-strict-aliasing -Wno-long-double -no-c

[Matplotlib-users] animation on OS X

2008-05-18 Thread Gideon Simpson
I'm using matplotlib 0.91.2 on os x 10.5.2, and on all the animation  
examples i've tried, I don't actually see any animation.  The window  
launches, the wheel spins and then either:

1.  I only see the last frame of the animation, if the script leaves  
it up

2.  I don't see anything, and the script quits successfully.  For  
instance, if I run the anim.py example, I get the FPS count.


-gideon


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] saving PNG graphics on mac

2008-04-13 Thread Gideon Simpson
Yea, I've been using 4.0 compilers along with the Apple installation  
of Python.  I'll try out your suggestions.
-gideon

On Apr 13, 2008, at 8:41 PM, Joshua Lippai wrote:

> I know I had some matplotlib trouble in terms of compiling on OS X
> Leopard before I changed the Makefile inside
>
> /Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/ 
> config/
>
> If you're on an Intel Mac, try downloading the beta Apple GCC 4.2 from
> http://developer.apple.com and alter the Makefile so that CC and CXX
> are set to /usr/bin/gcc-4.2 and /usr/bin/g++-4.2 respectively. Also
> remove the flag "-arch ppc" from both the BASEFLAGS and LDFLAGS
> sections, and remove "-Wno-long-double" flag from the BASEFLAGS
> section.
>
> This assumes you're using the MacPython installation of Python and not
> the standard one provided by Apple. I personally wouldn't recommend
> using the standard Apple installation because a lot of modules assume
> you have the Python Framework in /Library/Frameworks/ due to that
> being the de facto standard set by MacPython and ActiveState Python.
> In addition, the MacPython instalation provides Python 2.5.2, not just
> 2.5.1.
>
> Matplotlib aside, you might want to make sure you installed the
> Unicode version of wxWidgets, and reinstall it if necessary.
>
> Josh
>
> On Sun, Apr 13, 2008 at 3:12 PM, Gideon Simpson  
> <[EMAIL PROTECTED]> wrote:
>> I don't see any error when I run python setup.py build for  
>> matplotlib.  It
>> seems to identify everything it needs.
>> -gideon
>>
>>
>>
>> On Apr 13, 2008, at 10:35 AM, Joshua Lippai wrote:
>>
>>
>>> Are you sure you built pylab correctly? See if you can find  
>>> something
>>> suspicious in the build dialog. I had this error once a long time  
>>> ago,
>>> but at some point since then a rebuild of everything fixed it. In  
>>> the
>>> mean time, using savefig will still work even if the GUI button
>>> doesn't.
>>>
>>> Josh
>>>
>>> On Sat, Apr 12, 2008 at 11:41 AM, Gideon Simpson <[EMAIL PROTECTED] 
>>> >
>> wrote:
>>>
>>>> For some reason when trying to save in PNG format on OS X  
>>>> 10.5.2,  a
>>>> window pops up with the error:
>>>>
>>>> Matplotlib backend_wx error
>>>> cannot return std::string from Unicode object
>>>>
>>>>
>>>> This is with the simple scipy demo at
>> http://www.scipy.org/Cookbook/OptimizationDemo1
>>>>
>>>>
>>>> Gideon Simpson
>>>> Department of Applied Physics & Applied Mathematics
>>>> Columbia University
>>>> [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>> -
>>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>>>> Don't miss this year's exciting event. There's still time to save  
>>>> $100.
>>>> Use priority code J8TL2D2.
>>>>
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>>>> ___
>>>> 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 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] saving PNG graphics on mac

2008-04-13 Thread Gideon Simpson
I don't see any error when I run python setup.py build for  
matplotlib.  It seems to identify everything it needs.
-gideon

On Apr 13, 2008, at 10:35 AM, Joshua Lippai wrote:

> Are you sure you built pylab correctly? See if you can find something
> suspicious in the build dialog. I had this error once a long time ago,
> but at some point since then a rebuild of everything fixed it. In the
> mean time, using savefig will still work even if the GUI button
> doesn't.
>
> Josh
>
> On Sat, Apr 12, 2008 at 11:41 AM, Gideon Simpson  
> <[EMAIL PROTECTED]> wrote:
>> For some reason when trying to save in PNG format on OS X 10.5.2,  a
>> window pops up with the error:
>>
>> Matplotlib backend_wx error
>> cannot return std::string from Unicode object
>>
>>
>> This is with the simple scipy demo at 
>> http://www.scipy.org/Cookbook/OptimizationDemo1
>>
>>
>> Gideon Simpson
>> Department of Applied Physics & Applied Mathematics
>> Columbia University
>> [EMAIL PROTECTED]
>>
>>
>> -
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save  
>> $100.
>> Use priority code J8TL2D2.
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> ___
>> 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 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] saving PNG graphics on mac

2008-04-12 Thread Gideon Simpson
For some reason when trying to save in PNG format on OS X 10.5.2,  a  
window pops up with the error:

Matplotlib backend_wx error
cannot return std::string from Unicode object


This is with the simple scipy demo at 
http://www.scipy.org/Cookbook/OptimizationDemo1


Gideon Simpson
Department of Applied Physics & Applied Mathematics
Columbia University
[EMAIL PROTECTED]


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users