Moving sphere animation

Advertisements I want to create an animation of a moving sphere in matplotlib. For some reason it isnt working: import numpy as np import matplotlib.pyplot as plt from mpl_toolkits import mplot3d from matplotlib import cm from matplotlib import animation import pandas as pd fig = plt.figure(facecolor=’black’) ax = plt.axes(projection = "3d") u = np.linspace(0, 2*np.pi,… Read More Moving sphere animation