mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-07-30 13:28:50 +00:00
Small improvements to environments pages (#110)
This commit is contained in:
@@ -119,7 +119,7 @@ title: {title_env_name}
|
||||
+ f" \n:width: 200px\n:name: {snake_env_name}\n```"
|
||||
)
|
||||
info = (
|
||||
"This environment is part of the"
|
||||
"This environment is part of the "
|
||||
+ f"<a href='..'>{env_type_title} environments</a>."
|
||||
+ "Please read that page first for general information."
|
||||
)
|
||||
@@ -135,6 +135,8 @@ title: {title_env_name}
|
||||
if hasattr(high, "shape"):
|
||||
if len(high.shape) == 3:
|
||||
high = high[0][0][0]
|
||||
if env_type == "mujoco":
|
||||
high = high[0]
|
||||
high = np.round(high, 2)
|
||||
high = str(high).replace("\n", " ")
|
||||
env_table += f"| Observation High | {high} |\n"
|
||||
|
Reference in New Issue
Block a user