From: Jae-Joon L. <lee...@gm...> - 2008-08-18 19:33:31
|
Hi all, With the current svn, It fails with the following Exception if I try to draw markers (I'm using GtkAgg backends and I presume this only happens with Agg backends). Can others confirm this? 745 renderer.draw_markers( 746 gc, Path.unit_circle(), transform, path, path_trans, --> 747 rgbFace) 748 749 ValueError: Codes array is wrong length And this seems to be due to the error checking code in "src/agg_py_path_iterator.h" recently introduced by Michael (r6033). At line 42, if (PyArray_DIM(m_codes, 0) != PyArray_DIM(m_vertices, 1)) throw Py::ValueError("Codes array is wrong length"); I guess the second argument of the PyArray_DIM should be 0 in both cases. if (PyArray_DIM(m_codes, 0) != PyArray_DIM(m_vertices, 0)) throw Py::ValueError("Codes array is wrong length"); Above simple change worked fine for me. Regards, -JJ |