8000 Alternative to #1404. Sets the cursor without refering to a FigureMan… · matplotlib/matplotlib@e4705f9 · GitHub
[go: up one dir, main page]

Skip to content

Commit e4705f9

Browse files
Chris Beaumontmdboom
authored andcommitted
Alternative to #1404. Sets the cursor without refering to a FigureManager
1 parent 60ba70f commit e4705f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_qt4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ def set_message( self, s ):
603603

604604
def set_cursor( self, cursor ):
605605
if DEBUG: print('Set cursor' , cursor)
606-
self.canvas.manager.window.setCursor(cursord[cursor])
606+
self.canvas.window().setCursor(cursord[cursor])
607607

608608
def draw_rubberband( self, event, x0, y0, x1, y1 ):
609609
height = self.canvas.figure.bbox.height

0 commit comments

Comments
 (0)
0