`render_action()` results in an error
simonsays1980 opened this issue · comments
Describe the bug
Calling render_action()
results in the following error:
TypeError: 'FlatActionSpace' object is not subscriptable
To Reproduce
Run the following code:
import gym
env = gym.make("nasim:Tiny-v0")
env.render_action(env.action_space.sample())
Expected behavior
That I get a human-readable form of the integer action passed in as an argument.
Desktop (please complete the following information):
- OS: Linux Fedora 35