EvanTHU commited on
Commit
9bc28fb
1 Parent(s): 0dc6919

Update utils/plot_script.py

Browse files
Files changed (1) hide show
  1. utils/plot_script.py +2 -2
utils/plot_script.py CHANGED
@@ -110,6 +110,6 @@ def plot_3d_motion(save_path, kinematic_tree, joints, title, figsize=(10, 10), f
110
 
111
  ani = FuncAnimation(fig, update, frames=frame_number, interval=1000 / fps, repeat=False)
112
 
113
- writer = FFMpegFileWriter(fps=fps)
114
- ani.save(save_path, writer=writer)
115
  plt.close()
 
110
 
111
  ani = FuncAnimation(fig, update, frames=frame_number, interval=1000 / fps, repeat=False)
112
 
113
+ # writer = FFMpegFileWriter(fps=fps)
114
+ ani.save(save_path, fps=fps)
115
  plt.close()