diff --git a/examples/animation/double_pendulum_animated.py b/examples/animation/double_pendulum_animated.py index 057efbd0e589..3b4b48204edb 100644 --- a/examples/animation/double_pendulum_animated.py +++ b/examples/animation/double_pendulum_animated.py @@ -61,6 +61,7 @@ def derivs(state, t): fig = plt.figure() ax = fig.add_subplot(111, autoscale_on=False, xlim=(-2, 2), ylim=(-2, 2)) +ax.set_aspect('equal') ax.grid() line, = ax.plot([], [], 'o-', lw=2)