simphony / simphony-mayavi

The mayavi adapters to the simphony framework
BSD 2-Clause "Simplified" License
0 stars 1 forks source link

tvtk.Points ``__getitem__`` does not accept python long integers #51

Closed itziakos closed 9 years ago

itziakos commented 9 years ago

The following example demonstrates the issue

In [10] points = tvtk.Points()

In [11]: points.insert_next_point((0,1,2))
Out[11]: 0L

In [12]: points[0]
Out[12]: (0.0, 1.0, 2.0)

In [13]: points[0L]  # raises TypeError
itziakos commented 9 years ago

moved issue to mayavi