Skip to content

Commit

Permalink
pre-commit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutH committed Jan 22, 2024
1 parent b3b46d7 commit 400cd88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesa/experimental/components/matplotlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ def portray(space):
return out

# Determine border style based on space.torus
border_style = 'solid' if not space.torus else (0, (5, 10))
border_style = "solid" if not space.torus else (0, (5, 10))

# Set the border of the plot
for spine in space_ax.spines.values():
spine.set_linewidth(1.5)
spine.set_color('black')
spine.set_color("black")
spine.set_linestyle(border_style)

width = space.x_max - space.x_min
Expand Down

0 comments on commit 400cd88

Please sign in to comment.