Skip to content

Commit 31537d8

Browse files
authored
GoL_fast: Make datacollection import explicit (#199)
1 parent 9c30387 commit 31537d8

File tree

1 file changed

+2
-1
lines changed
  • examples/conways_game_of_life_fast

1 file changed

+2
-1
lines changed

examples/conways_game_of_life_fast/model.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import numpy as np
2-
from mesa import DataCollector, Model
2+
from mesa import Model
3+
from mesa.datacollection import DataCollector
34
from mesa.space import PropertyLayer
45
from scipy.signal import convolve2d
56

0 commit comments

Comments
 (0)