Skip to content

Commit ad2061d

Browse files
committed
Removed draggable legend
1 parent f69f2b2 commit ad2061d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/000_feedback_damping_time/004_some_checks.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@
4242
ix_max = np.argmax(ob.mean_x)
4343
iy_max = np.argmax(ob.mean_y)
4444

45-
axx.plot(ob.mean_x[ix_max]*np.exp(-(turn_num-ix_max)/tau_damp_x),
45+
axx.plot(ob.mean_x[ix_max]*np.exp(-(turn_num-ix_max)/tau_damp_x),
4646
linewidth=2, color='red', linestyle='--',
4747
label=r'Damping time = %.0f turns'%tau_damp_x)
48-
axy.plot(ob.mean_y[iy_max]*np.exp(-(turn_num-iy_max)/tau_damp_y),
48+
axy.plot(ob.mean_y[iy_max]*np.exp(-(turn_num-iy_max)/tau_damp_y),
4949
linewidth=2, color='red', linestyle='--',
5050
label=r'Damping time = %.0f turns'%tau_damp_y)
5151

52-
axx.legend(prop={'size':14}).draggable()
53-
axy.legend(prop={'size':14}).draggable()
52+
axx.legend(prop={'size':14})
53+
axy.legend(prop={'size':14})
5454

5555
axx.set_ylabel('x [m]')
5656
axy.set_ylabel('y [m]')

0 commit comments

Comments
 (0)