code: def test_contour_update_bounds():
      """Test that contour updates the extent"""
      xs, ys = np.meshgrid(np.linspace(0, 360), np.linspace(-80, 80))
      zs = ys**2
      ax = plt.axes(projection=ccrs.Orthographic())
      ax.contour(xs, ys, zs, transform=ccrs.PlateCarree())
      # Force a draw, which is a smoke test to make sure contouring
      # doesn't raise with an Orthographic projection
      # GH issue 1673
      plt.draw()
  
file_path: cartopy/lib/cartopy/tests/mpl/test_contour.py
imports: import matplotlib.pyplot
  import numpy
  from numpy.testing import assert_array_almost_equal
  import pytest
  import cartopy.crs
  from cartopy.tests.conftest import requires_scipy
label_desc: Use image node_id 5 for calling a global function with example usage: test_contour_update_bounds() without return types