garage.plotter¶
-
class
Plotter¶ Visualizes a policy in an environment.
-
enable= True¶
-
close(self)¶ Stop the plotter.
-
static
disable()¶ Disable all instances of the Plotter class.
-
init_plot(self, env, policy)¶ Initialize the plotter.
-
update_plot(self, 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.
-