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

Appearance settings

Commit a4a4651

Browse filesBrowse files
author
Chris Beaumont
committed
Workaround Qt cursor bug when placing plots in Qt Dock area
1 parent 80689e2 commit a4a4651
Copy full SHA for a4a4651

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/backend_qt4.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_qt4.py
+1-1Lines 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.window().setCursor(cursord[cursor])
606+
self.canvas.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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.