GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — set_rubberband: integer argument expected, got float · Issue #34 · matplotlib/matplotlib

set_rubberband: integer argument expected, got float #34

New issue
Copy link
New issue
Copy link
Closed
Closed
set_rubberband: integer argument expected, got float#34
Copy link

Description

@radford
radford
opened on Mar 8, 2011
Issue body actions

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

    @radford
    radford
    on Mar 8, 2011
    ContributorAuthor
    More actions

    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

    @jkseppan
    jkseppan
    on Mar 10, 2011
    Member
    More actions

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

  3. magnunor
    added a commit that references this issue on Dec 5, 2013

    fixes matplotlib#34 by removing hyperspy-gui from setup.py

    This issue will close once commit c6e4e9e is merged into the 'master' branch.
    c6e4e9e
  4. fariza
    added a commit that references this issue on Sep 22, 2016

    Merge pull request matplotlib#34 from fariza/report-dir-creation

    08ebab0
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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.