Revision: 6240 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6240&view=rev Author: jdh2358 Date: 2008-10-17 14:31:38 +0000 (Fri, 17 Oct 2008)
Log Message: ----------- updates to nxutils docstrings Modified Paths: -------------- trunk/matplotlib/src/nxutils.c Modified: trunk/matplotlib/src/nxutils.c =================================================================== --- trunk/matplotlib/src/nxutils.c 2008-10-17 14:27:28 UTC (rev 6239) +++ trunk/matplotlib/src/nxutils.c 2008-10-17 14:31:38 UTC (rev 6240) @@ -221,17 +221,17 @@ {"pnpoly", pnpoly, METH_VARARGS, "inside = pnpoly(x, y, xyverts)\n\n" "Return 1 if x,y is inside the polygon, 0 otherwise.\n\n" - "xyverts is a sequence of x,y vertices.\n\n" + "*xyverts*\n a sequence of x,y vertices.\n\n" "A point on the boundary may be treated as inside or outside.\n" - "See http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html"}, + "See `pnpoly <http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html>`_"}, {"points_inside_poly", points_inside_poly, METH_VARARGS, "mask = points_inside_poly(xypoints, xyverts)\n\n" "Return a boolean ndarray, True for points inside the polygon.\n\n" - "xypoints is a sequence of N x,y pairs.\n" - "xyverts is a sequence of x,y vertices of the polygon.\n" - "mask is an ndarray of length N.\n\n" + "*xypoints*\n a sequence of N x,y pairs.\n" + "*xyverts*\n sequence of x,y vertices of the polygon.\n" + "*mask* an ndarray of length N.\n\n" "A point on the boundary may be treated as inside or outside.\n" - "See http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html"}, + "See `pnpoly <http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html>`_\n"}, {NULL} /* Sentinel */ }; @@ -241,7 +241,7 @@ PyObject* m; m = Py_InitModule3("nxutils", module_methods, - "general purpose utilities (numpy)."); + "general purpose numerical utilities, eg for computational geometry, that are not available in `numpy <http://numpy.scipy.org>`_"); if (m == NULL) return; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins