Hi Eric,
On Wed, Sep 21, 2011 at 9:11 AM, Eric O LEBIGOT (EOL)
<[email protected]> wrote:
> With the Mac OS X backend (at least…), error messages are repeatedly printed
> when the mouse leaves the axes rectangle:
>
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py",
> line 420, in draw_rubberband
> self.canvas.set_rubberband(x0, y0, x1, y1)
> TypeError: integer argument expected, got float
>
> This problem is annoying because the error messages clutter the terminal,
> and useful printed information leaves the screen. :)
This problem was fixed by 2c924046 (Jim Radford 2011-03-08 15:07:23 -0800 459)
and now reads:
self.canvas.set_rubberband(int(x0), int(y0), int(x1), int(y1))
Please update either that line alone, or checkout the latest
matplotlib sources from GitHub.
best,
--
Paul Ivanov
314 address only used for lists, off-list direct email at:
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users