code: def _explore_geoseries(
      s,
      color=None,
      m=None,
      tiles="OpenStreetMap",
      attr=None,
      highlight=True,
      width="100%",
      height="100%",
      control_scale=True,
      marker_type=None,
      marker_kwds={},
      style_kwds={},
      highlight_kwds={},
      map_kwds={},
      **kwargs,
  ):
      """Interactive map based on GeoPandas and folium/leaflet.js
  
      Generate an interactive leaflet map based on :class:`~geopandas.GeoSeries`
  
      Parameters
      ----------
      color : str, array-like (default None)
          Named color or a list-like of colors (named or hex).
      m : folium.Map (default None)
          Existing map instance on which to draw the plot.
      tiles : str, xyzservices.TileProvider (default 'OpenStreetMap Mapnik')
          Map tileset to use. Can choose from the list supported by folium, query a
          :class:`xyzservices.TileProvider` by a name from ``xyzservices.providers``,
          pass :class:`xyzservices.TileProvider` object or pass custom XYZ URL.
          The current list of built-in providers (when ``xyzservices`` is not available):
  
          ``["OpenStreetMap", "CartoDB positron", “CartoDB dark_matter"]``
  
          You can pass a custom tileset to Folium by passing a Leaflet-style URL
          to the tiles parameter: ``http://{s}.yourtiles.com/{z}/{x}/{y}.png``.
          Be sure to check their terms and conditions and to provide attribution with
          the ``attr`` keyword.
      attr : str (default None)
          Map tile attribution; only required if passing custom tile URL.
      highlight : bool (default True)
          Enable highlight functionality when hovering over a geometry.
      width : pixel int or percentage string (default: '100%')
          Width of the folium :class:`~folium.folium.Map`. If the argument
          m is given explicitly, width is ignored.
      height : pixel int or percentage string (default: '100%')
          Height of the folium :class:`~folium.folium.Map`. If the argument
          m is given explicitly, height is ignored.
      control_scale : bool, (default True)
          Whether to add a control scale on the map.
      marker_type : str, folium.Circle, folium.CircleMarker, folium.Marker (default None)
          Allowed string options are ('marker', 'circle', 'circle_marker'). Defaults to
          folium.Marker.
      marker_kwds: dict (default {})
          Additional keywords to be passed to the selected ``marker_type``, e.g.:
  
          radius : float
              Radius of the circle, in meters (for ``'circle'``) or pixels
              (for ``circle_marker``).
          icon : folium.map.Icon
              the :class:`folium.map.Icon` object to use to render the marker.
          draggable : bool (default False)
              Set to True to be able to drag the marker around the map.
  
      style_kwds : dict (default {})
          Additional style to be passed to folium ``style_function``:
  
          stroke : bool (default True)
              Whether to draw stroke along the path. Set it to ``False`` to
              disable borders on polygons or circles.
          color : str
              Stroke color
          weight : int
              Stroke width in pixels
          opacity : float (default 1.0)
              Stroke opacity
          fill : boolean (default True)
              Whether to fill the path with color. Set it to ``False`` to
              disable filling on polygons or circles.
          fillColor : str
              Fill color. Defaults to the value of the color option
          fillOpacity : float (default 0.5)
              Fill opacity.
          style_function : callable
              Function mapping a GeoJson Feature to a style ``dict``.
  
              * Style properties :func:`folium.vector_layers.path_options`
              * GeoJson features :class:`GeoSeries.__geo_interface__`
  
              e.g.::
  
                  lambda x: {"color":"red" if x["properties"]["gdp_md_est"]<10**6
                                               else "blue"}
  
  
          Plus all supported by :func:`folium.vector_layers.path_options`. See the
          documentation of :class:`folium.features.GeoJson` for details.
  
      highlight_kwds : dict (default {})
          Style to be passed to folium highlight_function. Uses the same keywords
          as ``style_kwds``. When empty, defaults to ``{"fillOpacity": 0.75}``.
      map_kwds : dict (default {})
          Additional keywords to be passed to folium :class:`~folium.folium.Map`,
          e.g. ``dragging``, or ``scrollWheelZoom``.
  
      **kwargs : dict
          Additional options to be passed on to the folium.
  
      Returns
      -------
      m : folium.folium.Map
          folium :class:`~folium.folium.Map` instance
  
      """
      return _explore(
          s,
          color=color,
          m=m,
          tiles=tiles,
          attr=attr,
          highlight=highlight,
          width=width,
          height=height,
          control_scale=control_scale,
          marker_type=marker_type,
          marker_kwds=marker_kwds,
          style_kwds=style_kwds,
          highlight_kwds=highlight_kwds,
          map_kwds=map_kwds,
          **kwargs,
      )
  
file_path: geopandas/geopandas/explore.py
imports: from statistics import mean
  import geopandas
  from shapely.geometry import LineString
  import numpy
  import pandas
  from packaging.version import Version
label_desc: Use image node_id 4 for calling a global function with example usage: _explore_geoseries(s, color, m, tiles, attr, highlight, width, height, control_scale, marker_type, marker_kwds, style_kwds, highlight_kwds, map_kwds) and returns: _explore