Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed Sep 2, 2024
1 parent 9de16ba commit 8b33025
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions maplibre/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@
from ._core import MapLibreBaseModel
from ._templates import html_template, js_template
from ._utils import get_temp_filename, read_internal_file
from .basemaps import (
Carto,
MapTiler,
construct_carto_basemap_url,
construct_maptiler_basemap_url,
)
from .basemaps import (Carto, MapTiler, construct_carto_basemap_url,
construct_maptiler_basemap_url)
from .controls import Control, ControlPosition, Marker
from .layer import Layer
from .plugins import MapboxDrawOptions
Expand Down Expand Up @@ -311,6 +307,7 @@ def fit_bounds(
animate=False,
**kwargs,
) -> None:
"""Pan and zoom the map to contain its visible area within the specified geographical bounds"""
kwargs["animate"] = animate
if data is not None:
bounds = tuple(data.total_bounds)
Expand Down

0 comments on commit 8b33025

Please sign in to comment.