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

macosx backend lacks support for cursor-type widgets · Issue #1319 · matplotlib/matplotlib · GitHub

Repository navigation

macosx backend lacks support for cursor-type widgets #1319

Closed

Description

In examples/widgets, the cursor, lasso_selector, multicursor, rectangle_selector, and span_selector all fail with macosx backend because of unimplemented features including, but perhaps not limited to, FigureCanvasMac.copy_from_bbox().

As a first step in keeping track of macosx anomalies, it would be nice to have all known limitations described in the module docstring.

It would probably also make sense to add the copy_from_bbox method, having it raise an UnimplementedError with a useful message to let the user know that this is a known limitation.

A note in the overall mpl docs would also be helpful.

Activity

  1. efiring commented on Sep 29, 2012

    MemberAuthor

    This overlaps with #531, which is directed towards animation, but also points out the lack of blit support. The cursor-type widgets don't actually require blitting, but they need to be told whether to blit or not. This info should come from the backend, with a "can_blit" attribute, or something like that.

  2. WeatherGod commented on Sep 30, 2012

    Member

    +1 on the "can_blit" attribute.

  3. mdehoon commented on Mar 26, 2013

    Contributor

    Instead of an explicit can_blit attribute, how about putting the copy_from_bbox in a try: block, and using the AttributeError as an indication that the backend cannot blit?

    It would not be hard to add blit support to the Mac OS X backend, but that should be done as part of issue #531.

  4. added this to the milestone on Aug 18, 2014
  5. mdboom commented on Mar 21, 2016

    Member

    Fixed by #6178

  6. modified the milestones: , on Mar 28, 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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL