fix fit_bounds
This commit is contained in:
parent
1966995827
commit
760b045345
1 changed files with 2 additions and 2 deletions
|
@ -101,8 +101,8 @@ class GeometryIndexed:
|
|||
if self.data.size:
|
||||
minx = min(self.x, minx)
|
||||
miny = min(self.y, miny)
|
||||
maxx = max(self.x + width, maxx - minx)
|
||||
maxy = max(self.y + height, maxy - miny)
|
||||
maxx = max(self.x + width, maxx)
|
||||
maxy = max(self.y + height, maxy)
|
||||
|
||||
new_data = np.zeros((maxy - miny, maxx - minx), dtype=self.dtype)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue