[Reposting this because it has been "pending" for 2 days]

With the Mac OS X backend (at least…), when zooming (with the rubberband
rectangle), error messages are repeatedly printed when the mouse leaves
(goes outside) the axes rectangle: 

Traceback (most recent call last): 
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backend_bases.py",
line 1625, in motion_notify_event 
    self.callbacks.process(s, event) 
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/cbook.py",
line 265, in process 
    proxy(*args, **kwargs) 
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/cbook.py",
line 191, in __call__ 
    return mtd(*args, **kwargs) 
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backend_bases.py",
line 2573, in drag_zoom 
    self.draw_rubberband(event, x, y, lastx, lasty) 
  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. :) 

Configuration: Mac OS X 10.7, latest MacPort's Python and modules,
Matplotlib 1.0.1 with Mac OS X backend.
-- 
View this message in context: 
http://old.nabble.com/Bug-error-when-zooming-tp32503898p32503898.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to