Spaces:
Running
on
Zero
Running
on
Zero
Update utils/plot_script.py
Browse files- utils/plot_script.py +0 -2
utils/plot_script.py
CHANGED
|
@@ -110,8 +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 |
-
from matplotlib import rcParams
|
| 114 |
-
rcParams['animation.ffmpeg_path'] = '/home/chenlinghao/software/miniconda3/envs/py10/bin/ffmpeg'
|
| 115 |
writer = FFMpegFileWriter(fps=fps)
|
| 116 |
ani.save(save_path, writer=writer)
|
| 117 |
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, writer=writer)
|
| 115 |
plt.close()
|