Assume pixel distance=0 if nan

The function _get_pixel_distance_along_axis does not work for geographic
axes, in which pixels that are outside of the map area cannot be
meaningfully transformed back to data coordinates. If the return value
was nan, set to 0.
Merge pull request #2306 from lpsinger/mollweide_latitude_grid

Mollweide latitude grid