Skip to content

Commit a8bf0bd

Browse files
committed
main
1 parent 7418146 commit a8bf0bd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cadastral.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def draw_footer_boxes(self):
179179
y_max = self._frame_coords[3]
180180

181181
box_width = (x_max - x_min) / len(self.footers)
182-
box_height = (y_max - y_min) * 0.2
182+
box_height = (y_max - y_min) * 0.18
183183

184184
for i, footer in enumerate(self.footers):
185185
x1 = x_min + i * box_width
@@ -209,7 +209,7 @@ def draw_north_arrow(self):
209209
# for northing label
210210
northing_label_y = self._frame_coords[1]
211211
if len(self.footers) > 0:
212-
northing_label_y = northing_label_y + ((self._frame_coords[3] - self._frame_coords[1]) * 0.2)
212+
northing_label_y = northing_label_y + ((self._frame_coords[3] - self._frame_coords[1]) * 0.18)
213213

214214
self._drawer.add_north_arrow_label((coord.easting, northing_label_y),
215215
(coord.easting, northing_label_y + height), f"{coord.northing}mN",

route.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def draw_footer_boxes(self):
114114
y_max = self._frame_coords[3]
115115

116116
box_width = (x_max - x_min) / len(self.footers)
117-
box_height = (y_max - y_min) * 0.2
117+
box_height = (y_max - y_min) * 0.18
118118

119119
for i, footer in enumerate(self.footers):
120120
x1 = x_min + i * box_width

topographic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def draw_footer_boxes(self):
217217
y_max = self._frame_coords[3]
218218

219219
box_width = (x_max - x_min) / len(self.footers)
220-
box_height = (y_max - y_min) * 0.2
220+
box_height = (y_max - y_min) * 0.18
221221

222222
for i, footer in enumerate(self.footers):
223223
x1 = x_min + i * box_width
@@ -534,7 +534,7 @@ def draw_north_arrow(self):
534534
# for northing label
535535
northing_label_y = self._frame_coords[1]
536536
if len(self.footers) > 0:
537-
northing_label_y = northing_label_y + ((self._frame_coords[3] - self._frame_coords[1]) * 0.2)
537+
northing_label_y = northing_label_y + ((self._frame_coords[3] - self._frame_coords[1]) * 0.18)
538538

539539

540540
self._drawer.add_north_arrow_label((coord.easting, northing_label_y), (coord.easting, northing_label_y + height), f"{coord.northing}mN", self.label_size, "vertical")

0 commit comments

Comments
 (0)