From 34fad413bdffcc9e750fe6147a7c6013a03d0a6b Mon Sep 17 00:00:00 2001 From: "Egli Adrian (IT-SCI-API-PFI)" <adrian.egli@sbb.ch> Date: Tue, 1 Oct 2019 21:06:41 +0200 Subject: [PATCH] . --- flatland/utils/graphics_pil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatland/utils/graphics_pil.py b/flatland/utils/graphics_pil.py index 462b3716..f3c7706e 100644 --- a/flatland/utils/graphics_pil.py +++ b/flatland/utils/graphics_pil.py @@ -525,7 +525,7 @@ class PILSVG(PILGL): city_size = 1 if num_agents is not None: - city_size = max(1, np.log(1 + num_agents) / 1.5) + city_size = max(1, np.log(1 + num_agents) / 2.5) if binary_trans == 0: if self.background_grid[col][row] <= 4 + np.ceil(((col * row + col) % 10) / city_size): -- GitLab