forked from projectmesa/mesa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend visualization documentation (projectmesa#2162)
- Add docstring to Jupyter viz module and functions - Render the docstring in Read the Docs: https://mesa.readthedocs.io/en/latest/apis/visualization.html
- Loading branch information
1 parent
27c2ce4
commit 95e8d81
Showing
2 changed files
with
123 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,21 @@ | ||
# Visualization | ||
|
||
```{eval-rst} | ||
.. automodule:: visualization.__init__ | ||
:members: | ||
``` | ||
|
||
```{eval-rst} | ||
.. automodule:: visualization.ModularVisualization | ||
:members: | ||
``` | ||
|
||
```{eval-rst} | ||
.. automodule:: visualization.TextVisualization | ||
:members: | ||
``` | ||
For a detailed tutorial, please refer to our [Visualization Tutorial](../tutorials/visualization_tutorial.ipynb). | ||
|
||
## Modules | ||
## Jupyter Visualization | ||
|
||
```{eval-rst} | ||
.. automodule:: visualization.modules.__init__ | ||
.. automodule:: mesa.visualization.jupyter_viz | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
``` | ||
|
||
```{eval-rst} | ||
.. automodule:: visualization.modules.CanvasGridVisualization | ||
:members: | ||
``` | ||
|
||
```{eval-rst} | ||
.. automodule:: visualization.modules.ChartVisualization | ||
:members: | ||
``` | ||
## User Parameters | ||
|
||
```{eval-rst} | ||
.. automodule:: visualization.modules.TextVisualization | ||
.. automodule:: mesa.visualization.UserParam | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters