hange:
export CFLAGS='-I/usr/X11/include -I/usr/X11/include/freetype2
-I/usr/X11/include/libpng15'
-Randy
Begin forwarded message:
> From: Randy Heiland
> Subject: build matplotlib on OSX Lion
> Date: August 9, 2011 4:45:31 PM EDT
> To:
>
> Hi all,
>
> Since I
Hi all,
Since I recently got a new machine with a fresh install of OSX Lion, I thought
I'd share my building-from-source experience. There seems to be a variety of
approaches for doing this that folks have offered up - including installing
another Python, installing homebrew (and subsequent p
Can someone point me to the "best" way to dynamically update a 2D
[image] array (think of cellular automata)? E.g., this simple example
works, but gets sluggish after several iterations:
import numpy as N
import pylab as P
nx = 20
ny = 20
c = N.zeros(nx*ny, dtype='int8')
c.resize(ny,nx)
ite