Just loaded and tested pyqtgraph included examples. Windows 10, recent Anaconda.
The isosurface plotting example doesn't work, Python reports: *TypeError: only integer scalar arrays can be converted to a scalar index* The error is found in : *... site-packages\pyqtgraph\functions.py"*, *line 2069, in <listcomp>* * faceTableI[faceTableInds[:,0]] = np.array([triTable[j] for j in faceTableInds]) * So, some incompatibility with Numpy... I try to find the cause, but perhaps somebody knows already the "true" solution? For the moment I see only the surface of the problem, and I hate to make blind corrections... Here we go. FaceTableInds is: [[ 1], [ 2], [ 4], [ 8] ...], so the variable j is not integer, but an int *wrapped*, and cannot index triTable, since its shape is (1,) I replaced *triTable[j] by **triTable[j[0]]* And I got the yellow, semi-transparent 3D plot,, but, as I said, this is a blind solution... Thank you. Jerzy Karczmarczuk /Caen, France/ -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/8b675da4-d1ab-45e8-b1ac-e0d0f0a7f38b%40googlegroups.com.
