Re: [Matplotlib-users] O pylab why do you refuse to import?

2009-05-06 Thread Joshua Lippai
John, I've seen this problem happen before with someone else; the person's X11 installation for some reason included the file libfreetype.6.3.dylib but not librfreetype.6.3.dylib. Did you install X11 before or after installing the Xcode development tools? Also, if you had to install X11 yourself,

Re: [Matplotlib-users] OS X backend and latex

2009-01-18 Thread Joshua Lippai
Could you provide an example of code you've written that highlights this and a more specific description of what you mean by coming out poorly? Josh On Sun, Jan 18, 2009 at 11:51 PM, Gideon Simpson simp...@math.toronto.edu wrote: Has anyone else noticed that when using latex with the OS X

Re: [Matplotlib-users] Fwd: [SciPy-user] reading and writing data inExcel files

2008-12-20 Thread Joshua Lippai
: On Wed, 10 Dec 2008 04:24:24 -0800 Joshua Lippai discerp...@gmail.com wrote: With PyExcelerator installed, you can use the Excel tools in the matplotlib toolkits http://matplotlib.sourceforge.net/users/toolkits.html Using them, you can read in Excel files as recarrays and write recarrays

Re: [Matplotlib-users] Filling between curves conditionally

2008-11-23 Thread Joshua Lippai
The version of NumPy in Chris's superpack should be recent enough for you to just need to build matplotlib from SVN and not the other stuff, and I assume he includes installation of wxPython or some other compatible backend for matplotlib. It's really straightforward; you just need to get the

[Matplotlib-users] Saving to a file in a specified directory (and creating said directory along the way)

2008-11-20 Thread Joshua Lippai
Hey, I'm working on a project for which I would like to dump data into a file in a specified directory (that doesn't necessarily exist yet). I know matplotlib.mlab.save(fname, X) will only work if I want to save data from an array/list to a file in the current working directory. Is there an easy

Re: [Matplotlib-users] Saving to a file in a specified directory (and creating said directory along the way)

2008-11-20 Thread Joshua Lippai
for the tip! Josh On Thu, Nov 20, 2008 at 8:48 AM, John Hunter [EMAIL PROTECTED] wrote: On Thu, Nov 20, 2008 at 10:24 AM, Joshua Lippai [EMAIL PROTECTED] wrote: Hey, I'm working on a project for which I would like to dump data into a file in a specified directory (that doesn't necessarily exist

Re: [Matplotlib-users] Saving to a file in a specified directory (and creating said directory along the way)

2008-11-20 Thread Joshua Lippai
But given the vagueness of what I asked, you're right, os.makedirs was a good suggestion too. Thanks. I think I need to sit down and spend some quality time with the os module over Thanksgiving holiday... Josh On Thu, Nov 20, 2008 at 9:30 AM, Joshua Lippai [EMAIL PROTECTED] wrote: cbook.mkdirs

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Joshua Lippai
It appears that matplotlib is having trouble finding the freetype dynamic lib in your /usr/X11R6/lib folder when it references it. I'd check that folder to see if the dylib is there. If it isn't, reinstall the X11 dev tools. If it is, something is wrong with the dynamic lib opening, so I'd

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Joshua Lippai
/lib folder though. I searched for it, but I couldn't find it. On Nov 19, 2008, at 3:10 PM, Joshua Lippai wrote: It appears that matplotlib is having trouble finding the freetype dynamic lib in your /usr/X11R6/lib folder when it references it. I'd check that folder to see if the dylib

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Joshua Lippai
is says no such file or directory. Do you know what this means? Thanks for all your help, Katie On Nov 19, 2008, at 3:49 PM, Joshua Lippai wrote: The sensitive root folders (like /usr) are hidden from the Finder so that it's hard for someone that doesn't know about them to accidentally

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Joshua Lippai
is the latest working version for 10.5 (since it's a large download). Once you're sure you have the X11 tools installed, remove matplotlib and do a clean install. Josh On Wed, Nov 19, 2008 at 12:57 PM, Joshua Lippai [EMAIL PROTECTED] wrote: Could you try just typing cd /usr, then ls and checking

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Joshua Lippai
Note: If you don't have X11 installed at all (not just the dev tools, but not even X11 itself, which would mean you're running something pre_leopard I assume), you can install this as one of the optional components of your OS X install disc. Josh On Wed, Nov 19, 2008 at 1:11 PM, Joshua Lippai

Re: [Matplotlib-users] imread() and binary PNGs

2008-10-23 Thread Joshua Lippai
David, After playing around with this file and the various elements of image.py, I've determined that the pil_to_array function in matplotlib.image works just fine, so the place where the problem is introduced in imread is the read_png function in matplotlib._png. So a simpler work-around for

Re: [Matplotlib-users] Build matplotlib 0.98 on OSX

2008-06-11 Thread Joshua Lippai
, numpy, scipy, ipython, etc... build with gcc 4.0. Why do you have this dependency? Is there an easier solution? I'm reluctant to upgrade to gcc 4.2 and loose the ability to build other packages I need. Chris On Thu, May 29, 2008 at 4:51 AM, Joshua Lippai [EMAIL PROTECTED] wrote: I've

Re: [Matplotlib-users] Numpy v1.1.0 not compatible with pylab in matplotlib 0.9.1

2008-05-29 Thread Joshua Lippai
I've consistently been able to build matplotlib on OS X. Just make sure you have all the dependencies installed. Personally, I have lbpng and whatnot installed in /usr/local instead of /usr/X11. I don't know if that'll help. Also, I use the GCC 4.2 that Apple has available for download on

Re: [Matplotlib-users] py4science OSX installation problems

2008-04-23 Thread Joshua Lippai
Alternatively, if you're only building this for your own use and not for packaging a Universal Binary you want PowerPC users to be able to use, you could simply eliminate the ppc arch flags in the Makefile inside /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/ On Mon, Apr

Re: [Matplotlib-users] problem with dynamic subplots and wx

2008-04-23 Thread Joshua Lippai
I'm using SVN matplotlib and wxPython 2.8.7.1, and I'm not running into the problem. Though I may be interpreting your problem incorrectly. I've attached a screen capture of the window that opens up when I run your program. Josh On Wed, Apr 23, 2008 at 5:33 PM, Brian Blais [EMAIL PROTECTED]

Re: [Matplotlib-users] problem with dynamic subplots and wx

2008-04-23 Thread Joshua Lippai
I should note that I'm doing this on OS X 10.5.2, but I don't imagine Tiger would have a problem Leopard doesn't have. Josh On Wed, Apr 23, 2008 at 6:16 PM, Joshua Lippai [EMAIL PROTECTED] wrote: I'm using SVN matplotlib and wxPython 2.8.7.1, and I'm not running into the problem. Though I may

Re: [Matplotlib-users] setting up matplotbib

2008-04-14 Thread Joshua Lippai
Try from pylab import * before using the plot function. Josh On Tue, Apr 8, 2008 at 4:28 PM, Nathanael Berestycki [EMAIL PROTECTED] wrote: Hi all, I am trying to setup matplotbib on my computer (which is unfortunately running on windows) and for some reason, it doesn't seem to be working. I

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

2008-04-13 Thread Joshua Lippai
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

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

2008-04-13 Thread Joshua Lippai
wxPython, rather. Josh On Sun, Apr 13, 2008 at 5:41 PM, Joshua Lippai [EMAIL PROTECTED] 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

Re: [Matplotlib-users] Building matplotlib on Mac OS X 10.5.2

2008-04-08 Thread Joshua Lippai
Thanks, Jeff. But is there a downside to removing the Wno-long-double flag I should know about? Josh On Tue, Apr 8, 2008 at 9:06 AM, Jeff Whitaker [EMAIL PROTECTED] wrote: Joshua Lippai wrote: Hello all, I'v been trying to get the same python module setup in 10.5 qorking that I had

Re: [Matplotlib-users] Building matplotlib on Mac OS X 10.5.2

2008-04-08 Thread Joshua Lippai
Also, I assume I should also take out the no-cpp-precomp flag since that doesn't work with GCC 4.2 either? Or does it not matter? Josh On Tue, Apr 8, 2008 at 1:57 PM, Joshua Lippai [EMAIL PROTECTED] wrote: Thanks, Jeff. But is there a downside to removing the Wno-long-double flag I should

Re: [Matplotlib-users] Building matplotlib on Mac OS X 10.5.2

2008-04-08 Thread Joshua Lippai
Perfect, this works like a charm. And if so desired, this could also be done without changing the symlink by just changing the Python Makefile to use gcc-4.2 and g++-4.2. Thanks! Josh On Tue, Apr 8, 2008 at 3:11 PM, Jeff Whitaker [EMAIL PROTECTED] wrote: Joshua Lippai wrote: Also, I assume I