glue-viz / glue-vispy-viewers

3-d data viewers for glue based on VisPy
http://glueviz.org/en/stable/whatsnew/experimental_3d.html#experimental-3d
BSD 2-Clause "Simplified" License
25 stars 21 forks source link

Make sure we manually cast to native int to avoid issues on Windows #245

Closed astrofrog closed 7 years ago

astrofrog commented 7 years ago

Otherwise this can be a long int as .shape returns a tuple of long ints instead of native ints on Windows with Python 2.7

astrofrog commented 7 years ago

This works! 🎉