ipython/ipython — pull request #2617 by milkypostman (2012-11-25 01:59:12+00:00)
Title: Fix for `units` argument. Adds a `res` argument.

Update the `units` argument so that it accepts values from ["px", "in",
"cm", "mm"].

The `res` argument was added for the cases where `units` is specified
and is not default (px). A default value of 72 is provided by rmagic in
the case that `units` is not "px" but `res` is not specified.