import numpy as np
import hypertools as hyp
x = np.random.normal(np.ones([10, 5])) #generate some data
#things that work:
hyp.plot(x, 'o') #plotted correctly
hyp.plot(x, animate='spin') #plotted correctly
#things that don't work:
hyp.plot(x, 'o', animate='spin') #this runs, but the first dot is more transparent than the others, whereas everything should look the same
hyp.plot(x, 'o', animate='spin', group=np.arange(10)) #raises IndexError-- should plot each dot in a different color
It looks like there is an offset issue in the animation code whereby:
groupsisn't specified, the first point in the group is transparent, even whenchemtrails=Falseandprecog=False.groupsis specified, andIndexErroris raisedTo replicate this issue: