diff --git a/Satellite_Orbit_Visualization_in_3D_with_TLE_Data.py b/Satellite_Orbit_Visualization_in_3D_with_TLE_Data.py index 98b6fba..5cb4da5 100644 --- a/Satellite_Orbit_Visualization_in_3D_with_TLE_Data.py +++ b/Satellite_Orbit_Visualization_in_3D_with_TLE_Data.py @@ -52,8 +52,7 @@ def animate(): while True: for satellite in satellites: - satellite.mlab_source.trait_set(x=satellite.mlab_source.x[1:], y=satellite.mlab_source.y[1:], - z=satellite.mlab_source.z[1:]) + satellite.mlab_source.trait_set(x=satellite.mlab_source.x[1:], y=satellite.mlab_source.y[1:], z=satellite.mlab_source.z[1:]) yield # Start the animation