code: def test_gridliner_labels_bbox_style():
      top = 49.3457868  # north lat
      left = -124.7844079  # west long
      right = -66.9513812  # east long
      bottom = 24.7433195  # south lat
  
      fig = plt.figure(figsize=(6, 3))
      ax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree())
      ax.coastlines(resolution="110m")
      ax.set_extent([left, right, bottom, top], crs=ccrs.PlateCarree())
      gl = ax.gridlines(draw_labels=True)
  
      gl.labels_bbox_style = {
          "pad": 0,
          "visible": True,
          "facecolor": "white",
          "edgecolor": "black",
          "boxstyle": "round, pad=0.2",
      }
  
      return fig
  
imports: import io
  from unittest import mock
  from matplotlib.collections import PolyCollection
  import matplotlib.pyplot
  import matplotlib.ticker
  import numpy
  import pytest
  from shapely.geos import geos_version
  import cartopy.crs
  from cartopy.mpl import _MPL_36
  from cartopy.mpl.geoaxes import GeoAxes
  from cartopy.mpl.gridliner import LATITUDE_FORMATTER, LONGITUDE_FORMATTER, Gridliner, classic_formatter, classic_locator
  from cartopy.mpl.ticker import LongitudeFormatter, LongitudeLocator
label_desc: Use image node_id 8 for calling a global function with example usage: test_gridliner_labels_bbox_style() and returns: fig