Merge pull request #12 from eltociear/patch-1

Update map.py
This commit is contained in:
yihong 2023-12-17 09:08:05 +08:00 committed by GitHub
commit 9d43e7d7be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ class Plot(PrettyPlot):
self.xmax, self.xmax,
self.ymax, self.ymax,
) = self.aoi_bounds ) = self.aoi_bounds
# take from aoi geometry bounds, otherwise probelematic if unequal geometry distribution over plot. # take from aoi geometry bounds, otherwise problematic if unequal geometry distribution over plot.
self.xmid = (self.xmin + self.xmax) / 2 self.xmid = (self.xmin + self.xmax) / 2
self.ymid = (self.ymin + self.ymax) / 2 self.ymid = (self.ymin + self.ymax) / 2
self.xdif = self.xmax - self.xmin self.xdif = self.xmax - self.xmin