def plot(self): plotter = Plotter() plotter.plot_alive_cells(self.state_history) plotter.plot_objects_count(self.rules, self.state_history)