wesley tanaka

pyplot: how to display multiple figures / windows simultaneously


To display multiple figures/windows at the same time in pyplot, you can use the figure() function:

import matplotlib.pyplot as p
p.plot(range(10), 'ro-')

Ryan Talking


First experience eating peas


Ryan Crawling


First solids

I had been imagining food getting everywhere—the floor, his clothes, the ceiling... There's a bit dripping off the tray, but not nearly as much as I pictured.

Kill the Dock in Mac OS X


To kill the dock in Mac OS X, in a Terminal, type:

killall Dock

The dock will shut down and  re-start automatically.  If do not want the dock to run at all—for example if you want to free up memory or free up pixels from the screen—remove the /System/Library/CoreServices/Dock.app directory with:

cd /System/Library/CoreServices
sudo mv Dock.app Dock.app.orig
killall Dock

Syndicate content
by Wesley Tanaka