mwcraig / ipyevents

A custom widget for returning mouse and keyboard events to Python. Documentation:
https://ipyevents.readthedocs.io/en/latest/index.html
BSD 3-Clause "New" or "Revised" License
115 stars 27 forks source link

Can't enable x, y coordinate as a trait. #26

Closed rohanrajpal closed 6 years ago

rohanrajpal commented 6 years ago

I get an AttributeError when I try to access the xy trait from no_drag. This happened while following the demo notebook.

The full error is

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-15-75ef162e19fd> in <module>()
----> 1 no_drag.xy

AttributeError: 'Event' object has no attribute 'xy'
mwcraig commented 6 years ago

Thanks for the report, I'll get this fixed today

mwcraig commented 6 years ago

@rohanrajpal version 0.3.0 is now on pypi and will soon be available as a conda package on conda-forge.