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 841a427

Browse filesBrowse files
authored
Merge pull request #7628 from anntzer/picker-may-not-be-callable
FIX: picker may not be callable.
2 parents b73cedc + 3fde643 commit 841a427
Copy full SHA for 841a427

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/artist.py

Copy file name to clipboardExpand all lines: lib/matplotlib/artist.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def pick(self, mouseevent):
437437
# Pick self
438438
if self.pickable():
439439
picker = self.get_picker()
440-
if picker is not None:
440+
if callable(picker):
441441
inside, prop = picker(self, mouseevent)
442442
else:
443443
inside, prop = self.contains(mouseevent)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.