FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Drawing rubberband box outside of view crash backend_macosx · Issue #201 · matplotlib/matplotlib · GitHub

Repository navigation

Drawing rubberband box outside of view crash backend_macosx #201

Closed

Description

Original report at SourceForge, opened Tue Apr 5 19:58:21 2011

Drawing a large rubberband box causes backend_macosx to crash in draw_rubberband with the error,

Original exception was:
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

ipython's stack trace claims draw_rubberband was called with,

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.pyc in draw_rubberband(self=NavigationToolbar2 object 0x103a73ec0, event=<matplotlib.backend_bases.MouseEvent instance>, x0=80.0, y0=47.999999999999986, x1=243, y1=243)

where x0 and y0 are apparently from the MouseEvent object.

SourceForge Comments

On Tue Apr 5 20:00:29 2011, None wrote:

By "large" I meant "box outside of the current view." For instance, begin dragging a zoom box within the plot limits and drag outside these bounds.

SourceForge History

  • On Tue Apr 5 20:00:29 2011, by None: summary: Drawing large rubberband box crashes MacOS X backend

Activity

  1. mdehoon commented on Aug 21, 2011

    Contributor

    I was able to replicate this bug with older versions of matplotlib but not with the current git master. Can you still trigger this bug with the current git master? If not, I suggest we close this issue.

  2. jdh2358 commented on Mar 17, 2012

    Collaborator

    Darren, @mdehoon commented in this pull request

    #741

    that this issue should be closed -- are you able to confirm?

  3. mdehoon commented on Dec 12, 2012

    Contributor

    I still cannot replicate this bug. Let's wait another week, and close this issue if there are no further reports of this bug.

  4. pelson commented on Dec 12, 2012

    Member

    Yes agreed. Lets close this until we have an actual user who is reporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL