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

set_rubberband: integer argument expected, got float · Issue #34 · matplotlib/matplotlib · GitHub

Repository navigation

set_rubberband: integer argument expected, got float #34

Closed

Description

I got this error while using matplotlib 1.0.1 on OS X 10.6.6.

Traceback (most recent call last):
File "python2.7/site-packages/matplotlib/backend_bases.py", line 1625, in motion_notify_event
self.callbacks.process(s, event)
File "python2.7/site-packages/matplotlib/cbook.py", line 265, in process
proxy(_args, *_kwargs)
File "python2.7/site-packages/matplotlib/cbook.py", line 191, in call
return mtd(_args, *_kwargs)
File "python2.7/site-packages/matplotlib/backend_bases.py", line 2573, in drag_zoom
self.draw_rubberband(event, x, y, lastx, lasty)
File "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

Activity

  1. radford commented on Mar 8, 2011

    ContributorAuthor

    Other backends already deal with this, so the macosx one should too. This fix works for me.

    #35

  2. jkseppan commented on Mar 10, 2011

    Member

    Can't reproduce, but the fix looks like it cannot hurt.

  3. added a commit that references this issue on Dec 5, 2013
    c6e4e9e
  4. added a commit that references this issue on Sep 22, 2016
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

    No labels
    No 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