def is_closed_polygon(X):
<EOL>warnings.warn('<STR_LIT>', DeprecationWarning)<EOL>import matplotlib.mlab as mlab<EOL>return mlab.is_closed_polygon(X)<EOL>
This function has been moved to matplotlib.mlab -- please import
it from there