Skip to content

Commit

Permalink
Add List[str]
Browse files Browse the repository at this point in the history
  • Loading branch information
lopezvoliver committed Sep 12, 2024
1 parent 0362bfb commit da0d319
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion localtileserver/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def create_url(self, path: str, client: bool = False):
def get_tile_url(
self,
indexes: Optional[List[int]] = None,
colormap: Optional[Union[str, Colormap]] = None,
colormap: Optional[Union[str, Colormap, List[str]]] = None,
vmin: Optional[Union[float, List[float]]] = None,
vmax: Optional[Union[float, List[float]]] = None,
nodata: Optional[Union[int, float]] = None,
Expand Down
2 changes: 1 addition & 1 deletion localtileserver/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_leaflet_tile_layer(
port: Union[int, str] = "default",
debug: bool = False,
indexes: Optional[List[int]] = None,
colormap: Optional[Union[str, Colormap]] = None,
colormap: Optional[Union[str, Colormap, List[str]]] = None,
vmin: Optional[Union[float, List[float]]] = None,
vmax: Optional[Union[float, List[float]]] = None,
nodata: Optional[Union[int, float]] = None,
Expand Down

0 comments on commit da0d319

Please sign in to comment.