On 07/21/2010 09:11 AM, Aman Thakral wrote:
> Ok, so I've fixed it. Its just because the mouse goes outside the axes.
> How do I make the change in the code?
>
> Error: line 924 in widgets.py
>
> old code:
>
> x,y = event.xdata, event.ydata
>
> fixed code:
>
> if not event.xdata is None:
> x =
On Wed, Jul 21, 2010 at 2:11 PM, Aman Thakral wrote:
> Ok, so I've fixed it. Its just because the mouse goes outside the axes. How
> do I make the change in the code?
>
> Error: line 924 in widgets.py
>
> old code:
>
> x,y = event.xdata, event.ydata
>
> fixed code:
>
> if not event.xdata is None:
Ok, so I've fixed it. Its just because the mouse goes outside the axes. How
do I make the change in the code?
Error: line 924 in widgets.py
old code:
x,y = event.xdata, event.ydata
fixed code:
if not event.xdata is None:
x = event.xdata
else:
x = self.prev[0]
if not event.ydata is No
Update on the error.
It occurs in the following cases:
- User clicks and drags from left to right and approaches the edge of the
right side of the axes
- User clicks and drags from right to left and approaches the edge of the
left side of the axes
I'm working on this bug now, I'll see if I can fi