@@ -22,8 +22,8 @@ def __init__(self, **kwargs):
2222 if self .type != PlanType .TOPOGRAPHIC :
2323 raise ValueError ("TopographicPlan must have type PlanType.TOPOGRAPHIC" )
2424
25- self ._frame_x_percent = 0.35
26- self ._frame_y_percent = 0.8
25+ self ._frame_x_percent = 0.55
26+ self ._frame_y_percent = 1.0
2727 self ._bounding_box = self .get_bounding_box ()
2828 self ._frame_coords = self ._setup_frame_coords ()
2929 self ._boundary_dict = {coord .id : coord for coord in self .topographic_boundary .coordinates }
@@ -177,10 +177,10 @@ def draw_frames(self):
177177 frame_right , frame_top = max_x + margin_x , max_y + margin_y
178178 self ._drawer .draw_frame (frame_left , frame_bottom , frame_right , frame_top )
179179
180- offset_x , offset_y = max (width , height ) * (self ._frame_x_percent + 0.03 ), max (height , width ) * (
181- self ._frame_y_percent + 0.03 )
182- self ._drawer .draw_frame (min_x - offset_x , min_y - offset_y ,
183- max_x + offset_x , max_y + offset_y )
180+ # offset_x, offset_y = max(width, height) * (self._frame_x_percent + 0.03), max(height, width) * (
181+ # self._frame_y_percent + 0.03)
182+ # self._drawer.draw_frame(min_x - offset_x, min_y - offset_y,
183+ # max_x + offset_x, max_y + offset_y)
184184
185185 def draw_title_block (self ):
186186 """Add title block to the frame."""
0 commit comments