Removed dangling print and added disable_print parameter (#137)

Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
This commit is contained in:
Kevlyn Kadamala
2022-11-17 20:40:19 +00:00
committed by GitHub
parent f037fdea5a
commit 4621fd44dd
5 changed files with 29 additions and 11 deletions

View File

@@ -21,7 +21,7 @@ Environments can also be created through python imports.
## All registered environments
To find all the registered Gymnasium environments, use the `gymnasium.envs.registry.keys()`.
To find all the registered Gymnasium environments, use the `gymnasium.pprint_registry()`.
This will not include environments registered only in OpenAI Gym however can be loaded by `gymnasium.make`.
## Spec
@@ -29,3 +29,10 @@ This will not include environments registered only in OpenAI Gym however can be
```{eval-rst}
.. autofunction:: gymnasium.spec
```
## Pretty print registry
```{eval-rst}
.. autofunction:: gymnasium.pprint_registry
```