psychoinformatics-de / remodnav

Robust Eye Movement Detection for Natural Viewing
Other
59 stars 16 forks source link

Invalid y limits #14

Closed adswa closed 4 years ago

adswa commented 4 years ago

The algorithm keeps warning with

/home/adina/env/remodnav/lib/python3.7/site-packages/remodnav/tests/utils.py:124: UserWarning: Attempted to set non-positive bottom ylim on a log-scaled axis.
Invalid limit will be ignored.
  ax2.set_ylim(vel_lim)

I accidentally discovered the problem when plotting for the paper revision -- we attempt to set the y-axis' lower limit to -inf. Will PR a fix later.