time-maps icon indicating copy to clipboard operation
time-maps copied to clipboard

index -9223372036854775808 is out of bounds for axis 0 with size 1024

Open existeundelta opened this issue 10 years ago • 4 comments

Hi! First, congratulations, is an amazing visualisation that I used but in a not so nice/clean way :) :+1: do you know also used for analize ECG

http://www.fitlabtech.net/index.html#about https://en.wikipedia.org/wiki/Poincar%C3%A9_plot

Doing my twitter nick existeundelta I get this error:

index -9223372036854775808 is out of bounds for axis 0 with size 1024

debugging i think is because some nan in sep_array, i try to remove it seps = seps[~np.isnan(seps)] but for the moment not solved... may be you know better your code :)

I also had an error with plt.rc('text',usetex=True) but i dropped the line (Latex related)

existeundelta avatar Sep 29 '15 06:09 existeundelta

Thank you for pointing me to the ECG work. I didn't know about that. If there is a NaN in the sep_array, there is probably a NaN in the times array. I would look there.

maxcw avatar Sep 29 '15 13:09 maxcw

I'm not sure about the latex issue. It could be related to internal settings for matplotlib.

maxcw avatar Sep 29 '15 13:09 maxcw

I also had the Latex problem with the usetex=True parameter on Mac (using Jupyter Notebook). Switching to false maybe doesn't look quite as nice but it works.

thadk avatar Oct 05 '15 15:10 thadk

Thanks thadk. I changed it to usetex=False for convenience. If you or anyone else would like to post a cool time map, tweet it with hashtag #time_map_viz

maxcw avatar Oct 05 '15 18:10 maxcw