def plot_sphere(ax, center, radius, color='<STR_LIT>', alpha=<NUM_LIT:1.>, linspace_count=_LINSPACE_COUNT):
u = np.linspace(<NUM_LIT:0>, <NUM_LIT:2> * np.pi, linspace_count)<EOL>v = np.linspace(<NUM_LIT:0>, np.pi, linspace_count)<EOL>sin_v = np.sin(v)<EOL>x = center[<NUM_LIT:0>] + radius * np.outer(np.cos(u), sin_v)<EOL>y = center[<NUM_LIT:1>] + radius * np.outer(np.sin(u), sin_v)<EOL>z = center[<NUM_LIT:2>] + radius * np.outer(np.ones_like(u), np.cos(v))<EOL>ax.plot_surface(x, y, z, linewidth=<NUM_LIT:0.0>, color=color, alpha=alpha)<EOL>
Plots a 3d sphere, given the center and the radius.