garage.plotter
¶
- class Plotter¶
Visualizes a policy in an environment.
- enable = True¶
- close()¶
Stop the plotter.
- static disable()¶
Disable all instances of the Plotter class.
- init_plot(env, policy)¶
Initialize the plotter.
- update_plot(policy, max_length=np.inf)¶
Update the plotter.
- Parameters
policy (garage.np.policies.Policy) – New policy to roll out in the visualization.
max_length (int) – Maximum number of steps to roll out.