matplotlib/basemap — pull request #66 by pmarshwx (2012-08-19 20:21:14+00:00)
Title: BUG FIX: plotting fails when user passes latlon=False 

This fixes the scenario where plotting fails when a user passes latlon=False to a 2d plotting function. The error arises because latlon is only removed from the keyword arguments if it is True. If it was false, it was never removed from the keyword arguments and then passed on to matplotlib, which failed on an unsupported keyword argument.

The fix simply reworks the keyword checking logic to ensure that if latlon is present in the keyword arguments it is removed before matplotlib is called.