@@ -35,7 +35,7 @@ const char *Py_point_in_path__doc__ =
3535static PyObject *Py_point_in_path (PyObject *self, PyObject *args)
3636{
3737 double x, y, r;
38- py ::PathIterator path;
38+ mpl ::PathIterator path;
3939 agg::trans_affine trans;
4040 bool result;
4141
@@ -68,7 +68,7 @@ static PyObject *Py_points_in_path(PyObject *self, PyObject *args)
6868{
6969 numpy::array_view<const double , 2 > points;
7070 double r;
71- py ::PathIterator path;
71+ mpl ::PathIterator path;
7272 agg::trans_affine trans;
7373
7474 if (!PyArg_ParseTuple (args,
@@ -97,7 +97,7 @@ const char *Py_update_path_extents__doc__ =
9797
9898static PyObject *Py_update_path_extents (PyObject *self, PyObject *args)
9999{
100- py ::PathIterator path;
100+ mpl ::PathIterator path;
101101 agg::trans_affine trans;
102102 agg::rect_d rect;
103103 numpy::array_view<double , 1 > minpos;
@@ -177,7 +177,7 @@ const char *Py_get_path_collection_extents__doc__ =
177177static PyObject *Py_get_path_collection_extents (PyObject *self, PyObject *args)
178178{
179179 agg::trans_affine master_transform;
180- py ::PathGenerator paths;
180+ mpl ::PathGenerator paths;
181181 numpy::array_view<const double , 3 > transforms;
182182 numpy::array_view<const double , 2 > offsets;
183183 agg::trans_affine offset_trans;
@@ -227,7 +227,7 @@ static PyObject *Py_point_in_path_collection(PyObject *self, PyObject *args)
227227{
228228 double x, y, radius;
229229 agg::trans_affine master_transform;
230- py ::PathGenerator paths;
230+ mpl ::PathGenerator paths;
231231 numpy::array_view<const double , 3 > transforms;
232232 numpy::array_view<const double , 2 > offsets;
233233 agg::trans_affine offset_trans;
@@ -280,9 +280,9 @@ const char *Py_path_in_path__doc__ =
280280
281281static PyObject *Py_path_in_path (PyObject *self, PyObject *args)
282282{
283- py ::PathIterator a;
283+ mpl ::PathIterator a;
284284 agg::trans_affine atrans;
285- py ::PathIterator b;
285+ mpl ::PathIterator b;
286286 agg::trans_affine btrans;
287287 bool result;
288288
@@ -314,7 +314,7 @@ const char *Py_clip_path_to_rect__doc__ =
314314
315315static PyObject *Py_clip_path_to_rect (PyObject *self, PyObject *args)
316316{
317- py ::PathIterator path;
317+ mpl ::PathIterator path;
318318 agg::rect_d rect;
319319 bool inside;
320320 std::vector<Polygon> result;
@@ -407,8 +407,8 @@ const char *Py_path_intersects_path__doc__ =
407407
408408static PyObject *Py_path_intersects_path (PyObject *self, PyObject *args, PyObject *kwds)
409409{
410- py ::PathIterator p1;
411- py ::PathIterator p2;
410+ mpl ::PathIterator p1;
411+ mpl ::PathIterator p2;
412412 agg::trans_affine t1;
413413 agg::trans_affine t2;
414414 int filled = 0 ;
@@ -453,7 +453,7 @@ const char *Py_path_intersects_rectangle__doc__ =
453453
454454static PyObject *Py_path_intersects_rectangle (PyObject *self, PyObject *args, PyObject *kwds)
455455{
456- py ::PathIterator path;
456+ mpl ::PathIterator path;
457457 double rect_x1, rect_y1, rect_x2, rect_y2;
458458 bool filled = false ;
459459 const char *names[] = { " path" , " rect_x1" , " rect_y1" , " rect_x2" , " rect_y2" , " filled" , NULL };
@@ -489,7 +489,7 @@ const char *Py_convert_path_to_polygons__doc__ =
489489
490490static PyObject *Py_convert_path_to_polygons (PyObject *self, PyObject *args, PyObject *kwds)
491491{
492- py ::PathIterator path;
492+ mpl ::PathIterator path;
493493 agg::trans_affine trans;
494494 double width = 0.0 , height = 0.0 ;
495495 int closed_only = 1 ;
@@ -524,7 +524,7 @@ const char *Py_cleanup_path__doc__ =
524524
525525static PyObject *Py_cleanup_path (PyObject *self, PyObject *args)
526526{
527- py ::PathIterator path;
527+ mpl ::PathIterator path;
528528 agg::trans_affine trans;
529529 bool remove_nans;
530530 agg::rect_d clip_rect;
@@ -631,7 +631,7 @@ const char *Py_convert_to_string__doc__ =
631631
632632static PyObject *Py_convert_to_string (PyObject *self, PyObject *args)
633633{
634- py ::PathIterator path;
634+ mpl ::PathIterator path;
635635 agg::trans_affine trans;
636636 agg::rect_d cliprect;
637637 PyObject *simplifyobj;
0 commit comments