Skip to content

Commit cde2f60

Browse files
authored
Fix docstring typo in gymnasium/wrappers/vector/stateful_observation.py (#1478)
1 parent 8864350 commit cde2f60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gymnasium/wrappers/vector/stateful_observation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class NormalizeObservation(VectorObservationWrapper, gym.utils.RecordConstructor
3434
The normalization depends on past trajectories and observations will not be normalized correctly if the wrapper was
3535
newly instantiated or the policy was changed recently.
3636
37-
Example without the normalize reward wrapper:
37+
Example without the normalize observation wrapper:
3838
>>> import gymnasium as gym
3939
>>> envs = gym.make_vec("CartPole-v1", num_envs=3, vectorization_mode="sync")
4040
>>> obs, info = envs.reset(seed=123)
@@ -47,7 +47,7 @@ class NormalizeObservation(VectorObservationWrapper, gym.utils.RecordConstructor
4747
np.float32(0.62259156)
4848
>>> envs.close()
4949
50-
Example with the normalize reward wrapper:
50+
Example with the normalize observation wrapper:
5151
>>> import gymnasium as gym
5252
>>> envs = gym.make_vec("CartPole-v1", num_envs=3, vectorization_mode="sync")
5353
>>> envs = NormalizeObservation(envs)

0 commit comments

Comments
 (0)