Update visualization/plot_3d_global.py
Browse files
visualization/plot_3d_global.py
CHANGED
|
@@ -60,8 +60,11 @@ def plot_3d_motion(args, figsize=(10, 10), fps=120, radius=4):
|
|
| 60 |
|
| 61 |
init()
|
| 62 |
|
| 63 |
-
ax.lines = []
|
| 64 |
-
ax.collections = []
|
|
|
|
|
|
|
|
|
|
| 65 |
ax.view_init(elev=110, azim=-90)
|
| 66 |
ax.dist = 7.5
|
| 67 |
# ax =
|
|
|
|
| 60 |
|
| 61 |
init()
|
| 62 |
|
| 63 |
+
# ax.lines = []
|
| 64 |
+
# ax.collections = []
|
| 65 |
+
|
| 66 |
+
ax.clear() # Clear the axes instead of directly setting attributes
|
| 67 |
+
|
| 68 |
ax.view_init(elev=110, azim=-90)
|
| 69 |
ax.dist = 7.5
|
| 70 |
# ax =
|