Permalink
Browse files

Turn back on animation for pend swing example.

  • Loading branch information...
moorepants committed Jan 10, 2018
1 parent 5f7ec45 commit 205c2ea90545fbee5cad9ea242c35e9577240353
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/pendulum_swing_up.py
@@ -81,7 +81,7 @@ def obj_grad(free):
prob.plot_objective_value()
# Display animation
if building_docs():
if not building_docs():
time = np.linspace(0.0, duration, num=num_nodes)
angle = solution[:num_nodes]

0 comments on commit 205c2ea

Please sign in to comment.