Module Expr Str ImportFrom alias alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq Call NameLoad NameLoad Num body Return Str If CompareEq Call NameLoad ListComp NameLoad comprehension NameStore NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad body Return Str If CompareEq Call NameLoad ListComp NameLoad comprehension NameStore NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad body Return Str orelse Return Str decorator_list NameLoad decorator_list
N/A N/A 
Visualization for the Wolf-Sheep Predation
 WolfSheep Wolf Sheep mesa.visualization.TextVisualization TextVisualization TextGrid WolfSheepVisualization N/A TextVisualization N/A N/A 
    ASCII visualization of the WolfSheepPredation model.

    Each cell displays S if only sheep, W if only wolves, or X if both.
    (blank if none)
     __init__ N/A N/A self model N/A N/A N/A N/A self model model N/A grid_viz N/A TextGrid N/A N/A self model grid N/A self draw_cell N/A N/A self elements N/A grid_viz N/A draw_cell N/A N/A cell N/A N/A N/A N/A N/A len cell 0 N/A N/A N/A N/A N/A len N/A obj N/A obj cell N/A isinstance obj Sheep N/A len cell N/A N/A S N/A N/A N/A len N/A obj N/A obj cell N/A isinstance obj Wolf N/A len cell N/A N/A W N/A N/A X N/A staticmethod N/A