code: def check_geopandas():
      try:
          import geopandas  # noqa: F401
      except ImportError as e:
          msg = "geom_map requires geopandas. Please install geopandas."
          raise PlotnineError(msg) from e
  
file_path: plotnine/plotnine/geoms/geom_map.py
imports: from __future__ import annotations
  import typing
  import numpy
  import pandas
  from .._utils import SIZE_FACTOR, to_rgba
  from ..doctools import document
  from ..exceptions import PlotnineError
  from .geom import geom
  from .geom_point import geom_point
  from .geom_polygon import geom_polygon
label_desc: Use image node_id 2 for calling a global function with example usage: check_geopandas() without return types