Skip to content

Commit 7c53eb8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2c43b3f commit 7c53eb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/general/user-guide/1_classes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ You can access the underlying DataFrame where agents are stored with `self.df`.
3030
<<<<<<< HEAD
3131
To add your AgentSet to your Model, use the registry `self.sets` with `+=` or `add`.
3232

33-
Note: All agent sets live inside `AgentSetRegistry` (available as `model.sets`). Access sets through the registry, and access DataFrames from the set itself. For example: `self.sets["Preys"].df`.
33+
Note: All agent sets live inside `AgentSetRegistry` (available as `model.sets`). Access sets through the registry, and access DataFrames from the set itself. For example: `self.sets["Preys"].df`
3434
=======
35+
3536
To add your AgentSet to your Model, you should also add it to the sets with `+=` or `add`.
3637

3738
NOTE: Model.sets are stored in a class which is entirely similar to AgentSet called AgentSetRegistry. The API of the two are the same. If you try accessing AgentSetRegistry.df, you will get a dictionary of `[AgentSet, DataFrame]`.

0 commit comments

Comments
 (0)