Fixes drawing outside of plot by adding axis var (#26)
Fixes drawing outside of plot by adding axis var (#26)

* Fixes drawing outside of plot by adding axis var (fixes #19)

Fixes drawing outside of plot by adding axis variable to roipoly.  The if event.inaxes only checks if it is not None which will be false inside of buttons.

jdoepfert/roipoly.py