matplotlib/matplotlib — pull request #2119 by efiring (2013-06-07 19:48:17+00:00)
Title: pyplot.gci: Look first in current axes, not most recently added axes.

This fixes a bug in which the behavior of gci did not match its
docstring, as pointed out by Julien Cornebise.