Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions people_flow/simulation_colab.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ def __paint(self, x, target, on_paint):
ax.add_patch(obj)
else:
# 出口の描画
exit = pt.Rectangle(xy=(target[i, 0] - self.R / 2, target[i, 1]), width=self.R / 2,
height=self.R / 2, fc='r', ec='r', fill=True)
entrance = pt.Rectangle(xy=(self.wall_x * 0.45, self.wall_y * 0.99), width=self.wall_x * 0.1,
height=self.wall_y * 0.01, fc='r', ec='r', fill=True)
ax.add_patch(exit)
# 入口の描画
entrance = pt.Rectangle(xy=(self.wall_x * 0.45, self.wall_y * 0.99), width=self.wall_x * 0.1,
Expand Down