Update app.py
Browse files
app.py
CHANGED
@@ -173,7 +173,7 @@ class Environment:
|
|
173 |
count = len([cell for cell in self.cells if cell.modifications])
|
174 |
self.population_history[cell_type].append(count)
|
175 |
|
176 |
-
|
177 |
cell_data = {
|
178 |
"prokaryote": {"x": [], "y": [], "size": [], "color": "lightblue", "symbol": "circle"},
|
179 |
"early_eukaryote": {"x": [], "y": [], "size": [], "color": "green", "symbol": "square"},
|
|
|
173 |
count = len([cell for cell in self.cells if cell.modifications])
|
174 |
self.population_history[cell_type].append(count)
|
175 |
|
176 |
+
def get_visualization_data(self):
|
177 |
cell_data = {
|
178 |
"prokaryote": {"x": [], "y": [], "size": [], "color": "lightblue", "symbol": "circle"},
|
179 |
"early_eukaryote": {"x": [], "y": [], "size": [], "color": "green", "symbol": "square"},
|