code: def test_set_xyticks():
      fig = plt.figure(figsize=(10, 10))
      projections = (
          ccrs.PlateCarree(),
          ccrs.Mercator(),
          ccrs.TransverseMercator(approx=False),
      )
      x = -3.275024
      y = 50.753998
      for i, prj in enumerate(projections, 1):
          ax = fig.add_subplot(3, 1, i, projection=prj)
          ax.set_extent([-12.5, 4, 49, 60], ccrs.Geodetic())
          ax.coastlines("110m")
          p, q = prj.transform_point(x, y, ccrs.Geodetic())
          ax.set_xticks([p])
          ax.set_yticks([q])
      return fig
  
file_path: cartopy/lib/cartopy/tests/mpl/test_ticks.py
imports: import matplotlib.pyplot
  import pytest
  import cartopy.crs
  from cartopy.mpl.ticker import LatitudeFormatter, LongitudeFormatter
label_desc: Use image node_id 7 for calling a global function with example usage: test_set_xyticks() and returns: fig