Skip to content

Commit

Permalink
grass.jupyter: Ensure width and height in InteractiveMap are integers (
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhite911 authored and a0x8o committed Sep 5, 2024
1 parent 1ef0807 commit d368b54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/grass/jupyter/interactivemap.py
Original file line number Diff line number Diff line change
Expand Up @@ -2234,8 +2234,8 @@ def _import_ipyleaflet(error):
>>>>>>> osgeo-main

# Store height and width
self.width = width
self.height = height
self.width = int(width)
self.height = int(height)
self._controllers = {}

<<<<<<< HEAD
Expand Down Expand Up @@ -3918,7 +3918,7 @@ class InteractiveQueryController:
_ipywidgets: The ipywidgets module.
raster_name: The name of the raster layer.
vector_name: The name of the vector layer.
width: The width of the map.
width: The width of the map as an int.
query_control: The query control.

"""
Expand Down

0 comments on commit d368b54

Please sign in to comment.