You can clone with
HTTPS or Subversion.
Remove unnecessary pyplot import from axes_grid1
This was causing pyplot to be imported, and the backend
set, as soon as axes_grid1 was imported by anything, including
seemingly unrelated packages like basemap. As a result, one
could not use "matplotlib.use('agg')" after importing basemap.