code: def test_set_xticks_cylindrical():
      ax = plt.axes(
          projection=ccrs.Mercator(min_latitude=-85, max_latitude=85)
      )
      ax.coastlines("110m")
      ax.xaxis.set_major_formatter(LongitudeFormatter(degree_symbol=""))
      ax.set_xticks([-180, -90, 0, 90, 180], crs=ccrs.PlateCarree())
      ax.set_xticks(
          [-135, -45, 45, 135], minor=True, crs=ccrs.PlateCarree()
      )
      return ax.figure
  
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 2 for calling a global function with example usage: test_set_xticks_cylindrical() and returns: ax