code: def test_eccentric_globe():
      globe = ccrs.Globe(
          semimajor_axis=1000, semiminor_axis=500, ellipse=None
      )
      eqearth = ccrs.EqualEarth(globe=globe)
      other_args = {"a=1000", "b=500", "lon_0=0"}
      check_proj_params("eqearth", eqearth, other_args)
  
      assert_almost_equal(
          eqearth.x_limits, [-2248.43664092550, 2248.43664092550]
      )
      assert_almost_equal(
          eqearth.y_limits, [-1094.35228122148, 1094.35228122148]
      )
      # Expected aspect ratio from the paper.
      assert_almost_equal(
          np.diff(eqearth.x_limits) / np.diff(eqearth.y_limits),
          2.05458,
          decimal=5,
      )
  
file_path: cartopy/lib/cartopy/tests/crs/test_equal_earth.py
imports: import numpy
  from numpy.testing import assert_almost_equal
  import pytest
  import cartopy.crs
  from .helpers import check_proj_params
label_desc: Use image node_id 3 for calling a global function with example usage: test_eccentric_globe() without return types