diff --git a/cooperative_cuisine/pygame_2d_vis/drawing.py b/cooperative_cuisine/pygame_2d_vis/drawing.py index 1207752c1c6c246c4574f0049435337c37dfe81f..12596f6e67106b9d29d137a22f5d5fce80f24b30 100644 --- a/cooperative_cuisine/pygame_2d_vis/drawing.py +++ b/cooperative_cuisine/pygame_2d_vis/drawing.py @@ -537,7 +537,7 @@ class Visualizer: plate: item is on a plate (soup are is different on a plate and pot) """ - if not isinstance(item, list): # can we remove this check?w + if not isinstance(item, list): # can we remove this check? if item["type"] in self.config or ( item["type"].startswith("Burnt") and item["type"].replace("Burnt", "") in self.config @@ -598,7 +598,7 @@ class Visualizer: ) elif "content_list" in item and item["content_list"]: triangle_offsets = create_polygon( - len(item["content_list"]), np.array([0, 10]) + len(item["content_list"]), np.array([0, grid_size * 0.15]) ) scale = 1 if len(item["content_list"]) == 1 else 0.6 for idx, o in enumerate(item["content_list"]):