Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

examples/cursor.py gives RuntimeError on mac osx #3708

Closed
@ifmihai

Description

@ifmihai

I ran cursor.py, downloaded from the matplotlib/examples/widgets web page.

I'm on mac osx 10.9.4, anaconda latest as of today, matplotlib 1.3.1

the output is this:

79-118-141-238:wigetsifmichael$pythoncursor.pyTraceback (mostrecentcalllast):File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/artist.py",line55,indraw_wrapperdraw(artist,renderer,*args,**kwargs)File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/figure.py",line1040,indrawself.canvas.draw_event(renderer)File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/backend_bases.py",line1693,indraw_eventself.callbacks.process(s,event)File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py",line527,inprocessproxy(*args,**kwargs)File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py",line405,in__call__returnmtd(*args,**kwargs)File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/widgets.py",line865,inclearself.background=self.canvas.copy_from_bbox(self.ax.bbox)AttributeError:'FigureCanvasMac'objecthasnoattribute'copy_from_bbox'Traceback (mostrecentcalllast):File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/backend_bases.py",line1834,inmotion_notify_eventself.callbacks.process(s,event)File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py",line527,inprocessproxy(*args,**kwargs)File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py",line405,in__call__returnmtd(*args,**kwargs)File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/widgets.py",line892,inonmoveself._update()File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/widgets.py",line899,in_updateself.ax.draw_artist(self.linev)File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/axes.py",line2098,indraw_artista.draw(self._cachedRenderer)File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/artist.py",line55,indraw_wrapperdraw(artist,renderer,*args,**kwargs)File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/lines.py",line526,indrawgc=renderer.new_gc()File"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py",line97,innew_gcself.gc.save()RuntimeError:CGContextRefisNULL

Maybe this issue was resolved in 1.4.0, but I cannot install it (see#3517)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp