Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I'm just starting with matplotlib and scipy on a Mac. I was able to get some
plots to work under X (using the gtk+ renderer), but I wanted to avoid that and
use CocoaAgg (that's the best option for mac, right?)
When using the default renderer, it looks like the window (under X11) was in a
separate thread and new plots showed up until I cleared.
However, when I use CocoaAgg (and ipython), plot brings up a blank
metal-looking window, and then the plot I wanted, but ipython blocks until I
Is this expected?
I downloaded everything from darwinports, and dropped in the .nibs which seemed
to be in wrong -- they're XML and it doesn't complain.
What I do:
$ ipython -pylab
Python 2.4.3 (#1, Feb 23 2007, 06:25:26)
Type "copyright", "credits" or "license" for more information.
IPython 0.7.2 -- An enhanced Interactive Python.
? -> Introduction to IPython's features.
%magic -> Information about IPython's 'magic' % functions.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
Welcome to pylab, a matplotlib-based Python environment.
For more information, type 'help(pylab)'.
In : x = arange(-5,5,0.01)
In : y = sin(x)
In : plot(x,y)
<after I close the window>
Out: [<matplotlib.lines.Line2D instance at 0x10c5620>]
$ cat ~/.matplotlib/matplotlibrc
Any help appreciated.