Small improvements to environments pages (#110)

This commit is contained in:
Manuel Goulão
2022-11-03 10:34:54 +00:00
committed by GitHub
parent 57cfe0a89a
commit f85b4851f7

View File

@@ -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"