Skip to content

Commit

Permalink
Remove unneeded bounds tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
banesullivan committed Mar 23, 2024
1 parent 1697965 commit f4cfed3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions localtileserver/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ def get_folium_tile_layer(
# Safely import folium
try:
from folium import TileLayer
from traitlets import Tuple, Union
except ImportError as e: # pragma: no cover
raise ImportError(f"Please install `folium`: {e}")

Expand All @@ -197,7 +196,7 @@ def get_folium_tile_layer(
)

class FoliumTileLayer(TileLayer, LocalTileServerLayerMixin):
bounds = Union((Tuple(),), default_value=None, allow_none=True).tag(sync=True, o=True)
pass

source, created = get_or_create_tile_client(
source,
Expand Down

0 comments on commit f4cfed3

Please sign in to comment.