import matplotlib.pyplot as plt
from matplotlib import *
from numpy import *
from matplotlib.animation import *

name = "Fermat Spiral"
def shape(fig, edge_c, edge_w, grid, radiusm, figcolor):
	plt.clf()

	def r_(u):
		r = a * sqrt(u)
		return r

	a = radiusm

	u = linspace(0, 10 * pi,1000)

	r = r_(u)

	ax = plt.subplot(111, projection='polar')
#	ax.patch.set_facecolor(figcolor)
	ax.xaxis.set_tick_params(color="white", labelcolor="white")
	ax.yaxis.set_tick_params(color="white", labelcolor="white")

	plt.axis(grid)

	plt.plot(u, r, color=edge_c, linewidth=edge_w)
