From c7a3221df2a2828ab961460d527364a56f2fc627 Mon Sep 17 00:00:00 2001 From: Sara <sarasdj@stud.ntnu.no> Date: Tue, 23 Apr 2024 14:18:33 +0200 Subject: [PATCH] update: plot aspect ratio --- .../__pycache__/add_new_lake.cpython-311.pyc | Bin 10744 -> 10744 bytes server/map_handler/add_new_lake.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/server/map_handler/__pycache__/add_new_lake.cpython-311.pyc b/server/map_handler/__pycache__/add_new_lake.cpython-311.pyc index 093180d4e496f6f466ac18ae5f1a109a7212da2e..aa2d7ea0bc58bb392f2803df222e78ce02c46a39 100644 GIT binary patch delta 32 kcmewn{3DoaIWI340}%XMwvkI$js5Hy5csp%PHh)60MD5Xz5oCK delta 32 kcmewn{3DoaIWI340}xDDx{*s)jeXWk5cs*-PHh)60K4!E8UO$Q diff --git a/server/map_handler/add_new_lake.py b/server/map_handler/add_new_lake.py index 09d2133b..c8802078 100644 --- a/server/map_handler/add_new_lake.py +++ b/server/map_handler/add_new_lake.py @@ -240,7 +240,7 @@ def plot_map(divided_map): random_color = "#{:06x}".format(random.randint(0, 0xFFFFFF)) gpd.GeoSeries(tile.geometry).plot(ax=ax, facecolor=random_color, edgecolor='none') - ax.set_aspect(1.6) + ax.set_aspect(1.8) # Display plot plt.show() -- GitLab