Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion mesa/visualization/mpl_space_drawing.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def draw_space(
Returns the Axes object with the plot drawn onto it.
``agent_portrayal`` is called with an agent and should return a AgentPortrayalStyle. Valid fields in this object are "color",
"size", "marker", "zorder", alpha, linewidths, and edgecolors. Other field are ignored and will result in a user warning.
"size", "marker", "zorder", "alpha", "linewidths", and "edgecolors". Other field are ignored and will result in a user warning.
"""
if ax is None:
Expand Down
7 changes: 1 addition & 6 deletions tests/test_components_matplotlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@


def agent_portrayal(agent):
"""Simple portrayal of an agent.
Args:
agent (Agent): The agent to portray
"""
"""Return a simple AgentPortrayalStyle for testing matplotlib drawing."""
return AgentPortrayalStyle(
size=10,
color="tab:blue",
Expand Down