pep8, i.e., use ` int(n_nodes * event.xdata / (np.pi * 2) + .5 * np.pi / n_nodes )`. Also, would it be better to use `np.round`? I.e., now you are always rounding down.