Skip to content

Commit

Permalink
Fixes projectmesa#498. Replaces canvas_width with grid_rows to fill o…
Browse files Browse the repository at this point in the history
…ut color patches.
  • Loading branch information
jackiekazil authored and rht committed Mar 22, 2022
1 parent 191aee5 commit e70fb57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/color_patches/color_patches/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def color_patch_draw(cell):
ColorPatches,
[canvas_element],
"Color Patches",
{"width": canvas_width, "height": canvas_height},
{"width": grid_rows, "height": grid_cols},
)

# webbrowser.open('http://127.0.0.1:8521') # TODO: make this configurable

0 comments on commit e70fb57

Please sign in to comment.